[OpenLayers-Users] Selection disappears after zooming
Alexandre Dube
adube at mapgears.com
Mon Feb 8 10:39:47 EST 2010
Poul,
If your features have some sort of unique attribute value, you could
register a map "moveend" event to manually keep track of your selected
features from this kind of attribute. You could also take a look at the
Vector.js "getFeatureFromEvent" method (looks like it could do what you
want).
Regards,
Alexandre
paweluz wrote:
> Hi!
>
> I am using WFS layer on may map with modify and select control. After I zoom
> in or out the selected geometry in no longer selected. This same goes with
> modify. Is there a way, maybe some option on map that allows to remember
> selection. Or maybe there is a way to select this feature from code?? How to
> do this??
>
> Regards,
> Poul
>
>
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Users
mailing list