37

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.

2 Answers 2

34

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

2
  • I have to say few is an understatement :) but it all depends on what your trying to do with it.
    – Warpzit
    Commented Jan 8, 2013 at 9:39
  • Is there SDK available for iOS? Can you please share alternative iOS SDK if exist?
    – Ilesh P
    Commented Jan 4, 2020 at 6:55
10

If you are going for a commercial app them it's worth taking a look at "commercial grade Android SDKs" - all vendors allow you to customise your app (depending on the vendor, the degree of customisation may vary), and I believe all vendors have "free tiers" (payment plans where you actually don't have to pay :) ) that might be good enough for your app (or at least you don't have to pay until your app is commercially successful).

To name a couple Android SDK providers:

  • skobbler (now Telenav) has an SDK which is able to render maps & display turn by turn navigation on your Android phone. It also supports offline mode. Check out their developer platform for details
  • OsmSharp also does map rendering and turn by turn navigation. You can pull their code from github
  • MapQuest has a nice map & routing engine for Android. I think you could also use their routing service with Mapbox maps (see this as a starting point). I don't think they can do offline mode

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.