[OpenLayers-Users] Problem with multiple SelectFeature controls
Joao Duarte
joao.c.duarte at co.sapo.pt
Wed Jan 14 08:48:41 EST 2009
Hi,
Ive added several GML layers to the map. Each layer contains data from a
KML file. The layers are all displayed well, the problem is when I add the
SelectFeature control. I tried adding one control to each layer but this has
the problem of only the last added layer gets its control working properly.
The problem seems to be caused by the Feature handler. If you have many
Feature handlers, only the one assigned to the top layer will work.
Any suggestions on how I can have multiple SelectFeature controls, each one
associated with a different layer, all working?
Best regards,
João Duarte
http://maps.sapo.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090114/b19b7cdf/attachment.html
More information about the Users
mailing list