Hello Friends, For more than 2 weeks, i was working to use OSM Offline map in Android application. I have gone through many articles, blogs and question/answers of Stackoverflow, but could not find the solutions. still i am at the stage where i was earlier. Using maperitive.net, i have downloaded Map tiles of India for 2-12 Zoom level. i have given the name to the root folder is Mapnik and Mapnik.zip for its zip file. i have copied the file at /sdcard/osmdroid folder. Below is code of my android app : Manifest file : Layout file Java file :
asked 24 Oct '17, 08:19 Ashish7 |
Basically I believe that you are taking the wrong approach and you should be looking at mapsforge or similar vector data based system for rendering on device instead of generating tiles. As to your question, some debug information would be helpful, but from your code you don't seem to be telling osmdroid where your tiles are located and other required setup. There is a demo app here https://github.com/johnjohndoe/OSMDroidOfflineDemo that may help. answered 24 Oct '17, 12:00 SimonPoole ♦ @simonpoole, I had already followed the https://github.com/johnjohndoe/OSMDroidOfflineDemo link and its steps, Mobile Atlas Creator is banned and it is not generating any Map tile. so i have taken the help of maperitive.net to generate tiles. but could not get success. i can get only blank grids on mobile screen. please help me out. it would be good if you share latest working code snippet or let me know what i did in my above code or steps
(25 Oct '17, 07:23)
Ashish7
|