[OpenLayers-Users] Re: vector layer prevents map pan and drag

Marc dkm+osgeo at kataplop.net
Wed Mar 14 09:44:12 EDT 2012


Tobias Reinicke wrote:
> Hi Marc,
>
>
> This may not work for you;
>
> In your highlight and select Ctrl, add a line like this
>
> globalSelectCtrl.handlers.feature.stopDown = false;
>
>
> highlightCtrl.handlers.feature.stopDown = false;
>
> put them just before the map.addControl for both places.
>

Hi,

I tried this simple code snippet, and it works great. I'll have a look 
at Andreas' pointer and see what's better in my case :)

Thanks !
Marc



More information about the Users mailing list