Please build your own version of OpenLayers.js, do not use the full one. You can use mobile.cfg and add Permalink to it.
http://docs.openlayers.org/library/deploying.html Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS [email protected] On Jul 4, 2011, at 3:00 AM, Noli Sicad wrote: > Hi Jan, > > Control.Permalink is not present in OpenLayers.mobile.js. Search it in the > file. > > Use OpenLayers.js instead, it also contains TouchNavigation control. > > I am using OpenLayers.js in my embedded OpenLayers projects in iPad / > iPhone with Xcode . I even managed change MousePosition to > TouchPosition control. > > Noli > > On 7/4/11, Jan Tappenbeck <[email protected]> wrote: >> hi ! >> >> i try to add the permalink-controll into a ol-version for mobile-devices. >> >> the base source is from http://www.openlayers.org/dev/examples/mobile.html >> >> and my version you found at >> >> http://www.tappenbeck.net/osm/olmobile/deu/mobile.html >> >> but i get following message into firebug. >> >> OpenLayers.Control.Permalink is not a constructor >> new OpenLayers.Control.Permalink(), >> >> >> is it not able to use permalink into mobile-device ?? >> >> regards Jan :-) >> > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
