library for loading custom maps in android

2019-07-17 03:51发布

问题:

I am searching for a library that can work similar to google maps (navigation / zooming) where I could load my own maps. Lower capabilities may also be acceptable. My maps are acceptable by Magellan Explorist GPS.

I found mAppWidget: but does not provide GPS support so far.

And I am not really sure if I can load my map (online or offline) in OpenStreetMaps.

Thanks in advance.

回答1:

You can use Osmdroid Osmdroid Home Page - specifically the jar file.

You can use Mobile Atlas Creator to prepare offline tile sources.

It works well with OpenStreetMap as a tile source. It also caches tiles obtained online, so once you've been to an area and used a particular zoom level, then that tile is saved on your device. The coding is quite similar to GoogleMaps