[OpenLayers-Users] Adding (TouchNavigation) control to older version

Bart van den Eijnden bartvde at opengeo.org
Fri Jun 7 02:57:21 PDT 2013


I don't think this is feasible without upgrading, there are just too many changes involved.

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Jun 7, 2013, at 11:49 AM, Andras Revesz <revesz at scientist.com> wrote:

> Hi,
> 
> We have a web map software built on OL 2.9.1.
> We want to make our web pages mobile friendly but there is no OpenLayers.Control.TouchNavigation in this version and it is not possible to upgrade OL on the server.
> 
> I tried to add the control by downloading and referencing TouchNavigation.js and the dependencies (Pinch.js and PinchZoom.js).
> I can add TouchNavigation but it is not working on a mobile device.
> 
> http://map.calderdale.gov.uk/ria/examples/reporting/RA_sandbox/mobile_test/touchnavigation_RIA.html
> 
> However on a desktop pan and double click zoom is added and removed when TouchNavigation is added and destroyed.
> 
> The same code works fine with the latest OL:
> http://map.calderdale.gov.uk/ria/examples/reporting/RA_sandbox/mobile_test/touchnavigation_OL.html
> 
> Any idea what I left out?
> Or should I send it to the DEV list?
> 
> Thanks you,
> 
> András _______________________________________________
> 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/20130607/67646271/attachment.html>


More information about the Users mailing list