[OpenLayers-Users] Click accuracy on maps

Tobias Reinicke ramotswa at gmail.com
Wed Jun 13 05:38:37 PDT 2012


Hello all,

I am running into quite a marginal problem but it's rather annoying and was
wondering if anyone else had run into this.

Our open layers application is being used on large touch screen enabled
devices. Specs in general are windows xp, ie6 with google chrome frame.

The problem is clicking on the map. For instance there are wms features
that have getfeatureinfo data behind it, and so when clicking on them the
data comes through. The problem is that with the touch screen, the user
most of the time can't manage an exact click on the screen, and moves the
map by a pixel or two every time, which then does not fire the
getfeaturerequest. The same sort of behaviour can be witnessed with a hyper
sensitive mouse...

Is there a way to get around this? I was thinking of putting the
getfeatureinfo on the "mouseup", but then that would fire it every time a
pan happens, and that wouldn't be right.

Any help would be appreciated.

Toby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120613/c76b0643/attachment.html>


More information about the Users mailing list