Creat an offline map like maps.me application - openstreetmap

I already import open street map Library(link of GitHub) in my application and it works completely (I used osmdroid + osmbonuspack)true , but i need to have my country map for offline mode . I used of mobile atlas creator for creating my Country map but mobile atlas creator doesn't allow me creating huge map.
What i have to do ? I want to have maps like maps.me in my application
please help me , I am working at this more than 2 weeks .
Thank you

I used the osmdroid-forge-app sample app from https://github.com/osmdroid/osmdroid/ as a starting point and downloaded the offline map files for my country from http://download.mapsforge.org/maps/ .
That worked for me out of the box.

maps.me very likely uses vector maps instead of raster tiles.
Take a look at Mapsforge or Mapbox Android SDK / Mapbox GL for vector map solutions.

Make more than one map archive or hack up Mobac to remove the limit

Related

How to get road coordinates between two markers google map api

I need to create path exactly according to road coordinates from google map api.I am partially successful with the help of this "http://maps.googleapis.com/maps/api/directions/json?&origin=%#,%#&destination=%#,%#&sensor=false" service.
But this service provide me the coordinates as show in this image .
When we zoom this path it looks like this image .
Actually, I want to get exactly road coordinates with every curve.
Firstly I did this task with the javascript file which was in one of the tutorial of google map (SBMapwithRoute)but don't know why that javascript file stop responding now.
If any body know how this task will perform than please help me.Thank you
I have posted one artical on my blog may be help full check it
http://www.jogendra.com/wayPath
May be hellfull for you
if you wants get waypoints from your google maps waypath. then use this
NSMutableArray *wayPointsArray = [self decodePolyLine:polyline.path.encodedPath];
here decodePolyline is function that you seen on my blog
polyline is object of GMSPolyline *_polyline;
Thnaks

current location and path tracing requirements issue

i am doing GPS based application with the functionality of showing current location and with walking moving it should show the path tracing at stop command gives the distance .(i go through apple documentation but not getting clearly many things .)
what i have done
i have added map view, showing current location .
need to be done .
Should i required the GeoJSON file for showing sub way path on the map .advice me in best way and please give me step flow to achieve this .
thank you in advance .
Check out the breadcrumb sample code from apple which shows how to do this- http://developer.apple.com/library/ios/#samplecode/Breadcrumb/Introduction/Intro.html
The GeoJSON file is only for integrating with apple maps app.

creating the offline maps and routing

I am creating the app for the offline maps in iphone . I want to select the two plces and draw the route among the selected places . I found this link
http://www.gisnotes.com/wordpress/category/sqlite3/. When i am following the steps , i didnt found this map2sqlite-1.0.tar.bz2.even though i got it from other . but the database is not created , in the second step . in the above link . I found the route me third party api, but i am not understanding how to use it . Can anyone sugget me how to create the offline maps
It is now on Github map2sqlite.

how does the "#" location tag work?

for better understanding check out this link first: http://sxsw.usehipster.com/questions/where-are-the-best-breakfast-tacos-in-austin
as you can see there, some answers have a reference to a location which is show on the map on the right. A user can do that by adding the “#“ symbol before the location name.
I'd like to know how that works. Did the guys from usehipster.com developed that by themselve or is that maybe a framework I can use too?
cheers
Looks custom-made - i.e. not a framework. Shouldn't be too hard - just scan the entry for #\w+, plug that into Google Local Search (possibly specify the city), and plug the output into a Google Map. See e.g. this for an example of Google Local Search API: http://code.google.com/apis/ajax/playground/?exp=localsearch#the_hello_world_of_local_search

Adding waypoints on mobile app which uses Google Maps API 3.0

I am working on the app for Android and iOS platforms. My client requires that the app has to have "add directions" functionality.
Let's say I have a TO and FROM points set on my app, and I want to show the best route between these two points. If it's just these two points it's fine. There's plenty of resources on how to proceed. But if I want to add some extra directions, like GO THROUGH for example, the internet has no answers for me.
If you could point me to any apps (have to use Google Maps) for mobile platforms, where this functionality is working it would be great. Maybe you have some sort of documentation or some other materials on the subject.
Thanks, Mike (poland)
try to format the uri like:
from:50.74,14.00889+to:51.66444,17.85679+to:52.66444,17.85679
you can add as much +to terms as you want
edit:
if you ar using the Map api, you supposed to have a code like thisone to calculate a route:
StringBuilder urlString = new StringBuilder();
urlString.append("http://maps.google.com/maps?f=d&hl=de");
urlString.append("&saddr=");//from
urlString.append( Double.toString((double)src.getLatitudeE6()/1.0E6 ));
urlString.append(",");
urlString.append( Double.toString((double)src.getLongitudeE6()/1.0E6 ));
urlString.append("&daddr=");//to
urlString.append( Double.toString((double)dest.getLatitudeE6()/1.0E6 ));
urlString.append(",");
urlString.append( Double.toString((double)dest.getLongitudeE6()/1.0E6 ));
urlString.append("&ie=UTF8&0&om=0&output=kml");
you should be able to add some waypoints in the discribed format.
urlString.append("+to:")
urlString.append( Double.toString((double)waypoint.getLatitudeE6()/1.0E6 ));
urlString.append(",");
urlString.append( Double.toString((double)waypoint.getLongitudeE6()/1.0E6 ));
The google maps api v3 has a directions rederer. You can render a pollyline between two points and have the pollyline be dragable i.e. you can pick a pint along the route and reposition it as a
waypoint. see the api documentation.
alternativly you can capture click events on the map add push the location into an array of stopovers to pass on the the routing request.