Try to use fid property of each vector layer to switch between layers and apply functions on the basis of fid. Although i dont try. but it can be done in this way.
-- View this message in context: http://osgeo-org.1803224.n2.nabble.com/enabling-popup-with-attribute-information-on-multiple-vector-layers-tp6447392p6450160.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
