How to get road coordinates between two markers google map api - iphone

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

Related

How to find the name and coordinates of the place we are nearby?

In Flutter what is the most correct method to find the name and coordinates of the place we are inside now using Google Maps or Google Geolocation API?
searchNearbyWithRadius() seems to be such a method, but Java has PlacesClient.findCurrentPlace that seems more stereotypic for this task than searchNearbyWithRadius(). Is such a method available in Flutter (or at least in the REST API)? Please show a reference.

Creat an offline map like maps.me application

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

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.

Titanium - Mapview and annotations

I am an iPhone developer and a beginner in Titanium Studio. I have some ideas about basic concepts of using view, window, tabBar in Titanium. I need to proceed advance to deal with MapViews. Where can I find some guidelines or some samples to work with GeoLocations, open a mapView, get the current location, get latitude and longitudes, point annotation on the specified location. I have another basic question and it will be very silly as I started learning Titanium yesterday. How can I print a string as I use 'NSLog' and 'printf'? Answers are welcomed. Thanks in advance.
In order to find the details of the objects you want to use, you need to go to the details of
Titanium.Geolocation
Titanium.Map
If you want to display the string on the screen you can use
Titanium.UI.Label
There is a very good code example you can use Seven days with Titanium
To print in console you can use,
Ti.API.info("String to Print");
Ti.API.debug("String to Print");
Ti.API.error("String to Print");
Ti.API.warn("String to Print");
Check that Geolocation and Map API (Links already provided by Muhammad Zeeshan) and try to implement a sample code. If find any difficulties than you can post to community again.
Cheers

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