current location and path tracing requirements issue - iphone

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.

Related

Maneuver issues in Turn By Turn Navigation with HERE maps in Flutter

Thanks in advance.
We have to use HERE map's Turn by turn navigation feature in one of our Flutter application, we have added billing in the developer account and have created the necessary keys.
When we try HERE map examples they have provided, we get everything except maneuver instructions that shows the user when to turn right/left/go straight for some distance etc.
I'm new to this and I have no idea how to get this, we never get events on the listener and it only shows updating there, am I missing something ?
this is how it looks right now, Updating...
I think we should be getting the progress here, but we are not getting it here...
_visualNavigator.routeProgressListener = Navigation.RouteProgressListener((routeProgress) { }
Please look into the provided example app. It shows here how to get the maneuver actions.
Your screenshot shows a different app, so make sure everything works with the example app, at first. The app offers to run a simulation mode. This should work. If you run the example app with real GPS updates, you may need to go outside and move to get location updates. This should also work.
If this still does not work, it could either mean that your device has an issue with getting GPS locations. Some iPads, for example, lack support. Or that you have disabled getting location updates. You can cross-check this when trying the positioning_app example from the same repository that shows how to get location updates.
A last point may be to clarify what events you get and what you miss: There are multiple event listeners providing real-time information during guidance - if you have only an issue with maneuvers, then most likely you can solve your issue by following strictly the code of the example app.
Note that previous HERE SDK versions, prior to HERE SDK 4.13.0, only provided empty maneuver instruction texts during guidance when they have been taken from the route instance. Make sure to take this information from the VisualNavigator instead.

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

Converting 'Current Location' Languages OR passing lon/lat

To whoever that can help,
My question comes from another topic # Open Maps app from Code - Where/How to find the "Current Location"?.
Did anyone successfully use the source code from martip # http://www.martip.net/blog/localized-current-location-string-for-iphone-apps with the ‘LocalizedCurrentLocation.zip’ file?
I've been trying but I'm not sure where I should place the example codes & how to 'call' the strings. I'm sorry for posting such newbie question but I have no where else to go~
I’ve been trying to work with it but I’m kinda lost. I’m not sure how to ‘call’ the localized string and use the ‘example usage’. I apologize for asking such a newbie question.
Please help me out here as I’m scratching my head over this matter. Anyone? Please~
Thanks in advance!^^
P/S: I'm actually trying to open iPhone maps from my app with directions from 'Current Location'. I know there are 2 ways of doing it; by CoreLocation (pass lon/lat) and replacing 'Current Location' with Strings BUT as I mention I'm a real beginner here and would appreciate it if anyone can advise & instruct me on which way is better & how to accomplish it. Btw, I'm using jquery and phonegap.
I have just completed the same task for current location. I came to know that, probably u also know that, we can't get current location in simulator. For just checking that is ur app working for location, u can add .gpx file and set ur current static location.
This is what I know...:)

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