Does anyone know where I can find the open street maps api for android? I have searched the site and all I can see is other peoples implementations of it.
I'm looking for one which can be integrated into another app and fully customized.
OpenStreetMap has an editing API for fetching and saving raw geodata from/to the OpenStreetMap database — this is the entry page for the documentation. If you just want to embed a map into a webpage, you don't want this API. Use a web map library instead.
OpenStreetMap is a free, editable map of the whole world that is being built by volunteers largely from scratch and released with an open-content license. The OpenStreetMap License allows free (or almost free) access to our map images and all of our underlying map data.
The most basic way to use OpenStreetMap on your Android device is to open https://www.openstreetmap.org/ in a Web browser such as Chrome. The website is optimized for small screens such as those found on many Android phones; however, the slippy map is limited to basic gestures such as drag-to-pan and pinch-to-zoom.
Navigate to the map you want on https://www.openstreetmap.org. On the right side, click the "Share" icon, then click "HTML" Copy the resulting iframe code directly into your webpage.
You can integrate OSM by using the Osmdroid API. This gives you functionality very similar to Google maps but you can also use OSM tiles offline if you prepare the tiles with Mobile Atlas Creator (MOBAC)
See Osmdroid home page (GitHub)
You just need the osmdroid-android-3.0.5.jar in your build path. You don't need an API key like Google demands and tiles get cached, so next time you visit that location you save on data download costs/time.
It's got a few tiny bugs, but overall it's pretty good
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With