background preloader

OpenLayers

Facebook Twitter

Delivering on Change. OpenLayers Mobile Code Sprint, 2011. Geo-Mobile Blog. Testing open-layers with iphone and android. « Geo-Mobile Blog. Openlayers on touch based phones. We are investigating if we can use open-layers for touch screen mobile phones, concentrating on the iphone and android platforms. This is really just an experiment to see how much we can do in the phones browser without having to resort to writing or using custom apps in objective c and java. After doing a quick google this blog by whit highlights 3 different techniques to get openlayers working with iphone. Whit helpfully describes how to extend open layers, getting it to work with touch/gesture driven phones. He posted three demos here at I tried each one with an actual iphone and the second demo seemed to give the best results for me. This is the one where touch events are directly adapted and forwarded onto existing open layers calls.

Touch event to openlayers mappings… It seems to work fine even with our high resolution layer MasterMap OS layers. Like this: