[OpenLayers-Users] Is onSelectFeature works only for the top layer?
simone.gadenz at jrc.it
Tue Apr 8 11:31:58 EDT 2008
Hi all again!
I am experiencing some problems using multiple layer having attached popup
to the onSelectFeature method.
In fact I have a map showing georss feeds on top of a google layer and I
attached a popup to the georss elements using the onSelectFeature method.
Then I create the same structure for another layer that is supposed to be
the container for markers returned by a dynamyc a geocoding process. In
other words I ask the google geocoder to locate an address and then I plot a
marker into that layer in the returned position.
I have two problems:
- after the geocoder provies a couple of coordinate the setCenter function
is invoked to recenter the map and a new feature is added to the geocoded
points container but the other georss layer does not reposition
- clicking on the different features only the ones in the top layer open a
popup. To access the features in the layer below the upper lavel has to be
Anybody is aving the same?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users