[OpenLayers-Users] Not able to unselect feature with clickout

Tanel Dovnar tanel.dovnar at gmail.com
Thu Sep 27 05:04:25 PDT 2012


Hi!

I'm creating a feature and selecting it with selectControl.select(feature).
Problem is - in lot of cases, I'm not able
to unselect it with mouse clickout.

Here is demonstration:
http://jsfiddle.net/jSQrj/4/

Click on "Click me to create point". Point is created, and it's possible to
unselect it with clicking anywhere
on the map.

Now, click on "Click me to create point" again - and it doesn't work
anymore (click on feature or
on link will fix it).

Is there any solution for that problem?


Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120927/1b6d4dc1/attachment-0001.html>


More information about the Users mailing list