This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Cordova : how to integrate OSM in cordova

1

Hello there. I wanted to know how to integrate and use OSM in cordova ? Please provide me some tutorials

asked 02 Jan '15, 12:11

Chintan%20Soni's gravatar image

Chintan Soni
26112
accept rate: 0%

edited 02 Jan '15, 14:41

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

Do you wish to use the osm for navigation on a smart phone or some other use

(02 Jan '15, 12:30) nevw

Yes sir. I am going to use it on smart phone using cordova. I am targetting Android, iOS and Windows platform majorly.

(02 Jan '15, 12:35) Chintan Soni

I see, sorry, i thought Cordova was a location. :)

(02 Jan '15, 12:40) nevw
1

Could you expand a bit about what you mean by "integrate and use OSM"? It might mean display a "slippymap", such as the map background you see at OpenStreetMap.org, or it might mean you want to use an OSM-based service such as Nominatim (perhaps hosted at OSM, perhaps hosted elsewhere) for geocoding or reverse geocoding, or it might mean that you want to obtain the location of a particular sort of item (convenience stores, perhaps) by doing an Overpass query, or something else entirely. What sort of thing are you planning to do?

(02 Jan '15, 14:40) SomeoneElse ♦

One Answer:

1

Finally I stumbled upon a github project dealing with OSM-based maps via mapsforge format in Apache Cordova framework:

https://github.com/afsuarez/mapsforge-cordova-plugin

Any short reports about success in using this are welcome.

answered 29 Jan '15, 17:09

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Source code available on GitHub .