[OpenLayers-Dev] Hover Event in iPad/iPhone - Mobile OpenLayers jquery mobile

Noli Sicad nsicad at gmail.com
Sun Jun 19 21:51:57 EDT 2011


Hi,

I am trying to incorporate the OpenLayers example "Vector Formats
Example" in my jquery mobile app for iPad.

http://openlayers.org/dev/examples/vector-formats.html

One of the features of this example is hover event. I drag the file
example to iOS iPad simulator to see what is working. The hover event
is not working. Digitizing works OK.

Of course, iPad/iPhone does not have a hover event, however, there is
hack for jquery.

Fixing the Hover event on the iPad/iPhone/iPod
http://blog.0100.tv/2010/05/fixing-the-hover-event-on-the-ipadiphoneipod/

Now, how do I incorporate this script into the hover event in
OpenLayers canvas? What div element should we bind this event?

Or is there already a hack for hover event in mobile devices for OpenLayers?

Thanks.

Regards, Noli


More information about the Dev mailing list