Discussion Forums  >  Maps, Device Location, Tracking

Replies: 0    Views: 481

Electronincantation
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
04/26/12 05:27 AM (12 years ago)

Using ordnance survey or open layers maps with android.

Hi I am working on an app for walk guides and need to display a route on an ordnance survey or open layers map.The link below is for the OS javascript library implementation to draw a route. http://osopenspacewiki.ordnancesurvey.co.uk/wiki/index.php?title=Create_a_polyline The alternative is using the open layers library see below. http://docs.openlayers.org/library/introduction.html All these are Javascript libraries with no Android SDK's available. The link below is an opensource mobile example. http://openlayers.org/dev/examples/mobile.html With all this javascript you have to use a webview the main problem is with the zoom, the mobile version of openlayers works OK but the webview zoom and pinch actions zoom the web view and not the map tiles. How do you make "pinch" zoom the map and not the web view? Regards,Geoff.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.