[OpenLayers-Users] OL211 - Problem to Window-Zoom

Jan Tappenbeck osm at tappenbeck.net
Wed Nov 30 02:29:37 EST 2011



  HI !

i want to open my map [1] for using by mobile device and so i change the 
openlayers-file to ol2.11 and and the TouchNavigaition-Control.

new OpenLayers.Control.TouchNavigation({dragPanOptions:{enableKinetic: 
true} }),

now the Map [2] can be navi by touch (finger) but when the map will be 
open by a classic pc the navigation via STRG+Mouse-Window will not work.

Is there a possibility to check the device and deacitve the Control 
optional?

Or what is your idea ?

reagards Jan :-)

[1] http://www.tappenbeck.net/osm/maps/deu/index.php?id=1032

[2] http://www.tappenbeck.net/osm/maps/deu/index211.php?id=1032



More information about the Users mailing list