I need to write an app for mountain tourism with offline geolocation on a custom map. But I've not find a good solution.
The app needs to be for ios and android, I'm developing with Phonegap.
Is there a method to load a local KML map(or a similar file) and geolocalize the phone with gps on that local map? All without wifi or internet connections. The KML file will be inside the app and downloaded with it. Google api, earth, leaflet, bing, openlayer, mapbox and gmapify seems not work without internet connection...
If the app can reload the position of the pointer when lat and long changes it will be fanstastic!
Sorry for my bad english and thanks for help
EDIT:
I'm working with phonegap 3.3, Xcode 5.0.2, android developer tools v 22.3.0 with Eclipse 4.2.1. Work on a Mac Book pro with OS 10.8.5. In the app is also installed augmented reality with wikitude phonegap plugin