[OpenLayers-Users] SelectFeature with multi-vector-layers

Horst Garstka horst at hike.de
Wed Feb 13 01:51:43 PST 2013


Hi OL-users,
I'm a little bit frustrated. Reason is that I try now for some days to
persuade the OpenLayers.Control.SelectFeature to work with an array of
two vector layers. With one everything is fine. But when I put this
layer name into []-brackets I'm not able to select the features of this
vector layer anymore. Not to speak of two layer array.  I've already
compared my script with the example 'select-feature-multilyer.html'. And
I found no fault.

Therefore my question to you. Does someone know if there's a known
problem in combination with OL 2.12?




More information about the Users mailing list