[OpenLayers-Users] Click handler lost

Max Demars burton449geo at gmail.com
Wed Dec 17 07:59:07 PST 2014


Hi,

I am not sure what is going on, but If you deactivate your clickControl
when measure tool are selected and activate it back when the hand tool is
selected, it wont get in conflict. I think its a good practice in general
to activate/deactivate controls when tools are selected.

Cheers,

-Max Demars

On Wed, Dec 17, 2014 at 10:30 AM, Andy Colson <andy at squeakycode.net> wrote:
>
> Hi All,
>
> We host maps here:
>
> http://testmaps.camavision.com/map/washingtonmn?pin=16.028.21.11.0039
>
> This is the test page.  When the hand tool is selected you can click some
> place and it'll pop up an info box.
>
> If you click one of the other tools, then click right back to the hand,
> the pop up still works.
>
> If you click the zoom tool, drag and area, then go back to hand tool, it
> still works.
>
> BUT, if you click one of the measure tools, and actually measure
> something, then when you go back to the hand tool, the info box never comes
> back.
>
> Anyone seen anything like this?  Maybe some pointers on how I might fix it?
>
> Thanks for your time,
>
> -Andy
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>


-- 
Stack Overflow: http://stackoverflow.com/users/1914034/burton449
GIS Overflow: http://gis.stackexchange.com/users/14426/burton449
LastFm: http://www.lastfm.fr/user/burton449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20141217/83962020/attachment.html>


More information about the Users mailing list