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

plot markers on offline map from database

0

I am trying to make a android application that display a map when application run without using any internet connection ie. offline map show.On map i want to plot some latitude and longitude that are stored in my database.Basically i want plot a offline map and on map i need to display some marker from my database.But i could not plot offline map and marker.I searched more on Google but i could not found any better solution. please help me to make my offline map app. Thank You

asked 03 Feb '14, 10:32

Aakash's gravatar image

Aakash
10223
accept rate: 0%

edited 27 May '16, 22:52

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Hi Aakash!! Please I would like to know if you were finally able to plot makers on offline map from Database.If so please could let me know the step you followed to do that thank you Sonia my regards

(20 May '16, 01:32) kouayep

2 Answers:

2

There are two ways to get offline map data onto the device, either as raster data or as vector data. You then need a piece of software that takes the raster tiles and displays them, or loads the vector data and draws it. I suggest that you peruse the Android software list on our Wiki and check out some of the existing programs. Many are open-source so you can inspect the source code. There's a table at the bottom of the page detailing whether the software has bitmap or vector data, and supports offline maps.

answered 03 Feb '14, 11:06

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

1

While not the only choice you can use https://github.com/mapsforge/mapsforge for offline rendering of OSM data, or extract the rendering engine from one of the applications that already do so (osmand, maps.me).

answered 20 May '16, 06:04

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .