[OpenLayers-Dev] Re: multiple select controls on multiple layers in same map not working

crb jcbeaude at yahoo.com
Tue Nov 9 01:31:12 EST 2010


In your OnSelect function that runs when a feature is selected, you'll want
to test on the contents of feature.layer (i.e. CLASS_NAME or 'name' or
something similar). Based on whatever the values of feature.layer are, call
another handler function for each type/name of layer.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/multiple-select-controls-on-multiple-layers-in-same-map-not-working-tp5591394p5719780.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list