[OpenLayers-Users] Pinch Zoom / panning without selecting selectable features

Jessica Lapointe jlapointe at mapgears.com
Tue Sep 11 06:34:43 PDT 2012


Hi,
I think this might work:
yourSelectCtrl.handlers.feature.stopDown = false;

Jessica

On Mon, Sep 10, 2012 at 1:18 PM, gootier <scott.gauthier at gmail.com> wrote:

> Hi, thanks for the response.
>
> I got what you are saying about control.deactivate( ). I guess what I'm
> looking for is a more intuitive way to do panning and pinch zooming in a
> map
> on a touch device with clickable features without having some sort of icon
> that allows the user to activate and deactivate the selectable map
> features.
> It seems there should be a way to know what the user's intention is when
> they are interacting with the map. For instance if the user places his/her
> finger on the map and then moves it; that should be interpreted as a pan
> even though his/her initial touch was on a selectable feature.  The same
> would go for a pinch zoom.
>
> I was looking for some what to implement this since I couldn't get
> Openlayers to work out of the box this way.
>
>
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Pinch-Zoom-panning-without-selecting-selectable-features-tp5000517p5000885.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120911/595867d6/attachment.html>


More information about the Users mailing list