Android: Custom offline map using an image

I'm trying to build an app that can display a map using an image stored inside the app, with most of the functionality of Google Maps but using this custom image and not having to connect in order to fetch the map tiles. The main thing I am looking for is a way of displaying an image in which the user can pinch to zoom, drag to move and click on overlays. I will also try to add overlays to the map based on lat/long coordinates and display the user's location, but this shouldn't be too hard since I can define one lat/long point on the map and calculate all others from that one. Does anyone know of anything I can use for displaying such a map?


You can have a look into osmdroid it´sa library that allows you to do exactly what you want using map from OpenStreetMap.

We are using it to have features like in "Google Map" but being offline with images loaded on an SDCard. You can use tools like Mobac to create the offline atlases.

I'm just not sure if you will be able to add overlays to the map...

链接地址: http://www.djcxy.com/p/67408.html

上一篇: android:如何加载和显示大图片(A0大小)

下一篇: Android:使用图像自定义离线地图