How to integrate Microsoft Bing Map Navigation functionality to iPhone application? - ios

I have studied about Microsoft Bing Map Navigation. There is iOS support and sdk available at http://www.microsoft.com/maps/developers/mobile.aspx
Can anyone guide me how to use this in my application? My requirement is to create an application having functionality like Google Navigator does, displaying direction using GPS.

You cannot create a turn-by-turn navigation product using the Bing Maps (or Google Maps) SDK. You can use it to generate directions but cannot present any sort of alert for upcoming turns. From the TOU at http://www.microsoft.com/maps/product/terms.html:
Restrictions on your use: We do have some restrictions on your use of the service. You may not:
...
present or alert an end user to individual maneuvers of a route in any way that is synchronized with the end-user’s sensor-based position along the route, (e.g. “real-time” navigation);
...

this project might be a good starting point for what you are looking for:
https://github.com/route-me/route-me

Related

Styling the traffic in Xamarin.iOS

Is there a way to change the style of the default traffic lines that appear when MKMapView.ShowsTraffic is set to true?
Thank you.
As you have probably already found out, the farthest you can go with traffic styling is exactly that one boolean variable showsTraffic that either shows it or not. MapKit is not really customizable apart from annotations and that's what you have to live with if you're not willing to use a 3rd party map provider. In my mind you have two choises:
Use a custom tile renderer with MKMapView
You can use the MKTileOverlay class coupled with the MKTileOverlayRenderer to fetch map tiles from a 3rd party service that supports tile fetching and customization, and then show those tiles instead of the default Apple map. One such service is Google Maps Tiles API but you need to request access to it from Google (it's not part of the normal Google Maps API) and it's paid.
If you're still willing to go that route, you can follow the Customize MapKit’s MKMapView with Google Maps styling wizard article on how to create your custom style and use it to request tiles from the Google Server. However, you should NOT use the Google Maps API address mentioned in the article, as circumventing the official Google API's and making requests straight to their servers is strictly not allowed and will get you banned and/or in trouble. Instead, you should use the official API I linked to above.
Use another map control altogether
I'm fully aware that the above is a lot work for just customizing the traffic lines, so if you're not willing to invest a lot of time and money, I'd suggest that you use another (customizable) map control instead of MkMapView. There are plenty of different options available, both free and paid.

How to use Bing Map API in iOS application to draw route between two location?

I want to use Bing Map API in my iOS application two show map view and to draw route between two location. I am not getting proper link and sample tutorial for Bing map API. Please help me out.
Thanks.
Bing Maps no longer offers an iOS map control, however most developers who use Bing Maps in an iOS application use the Bing Maps V7 JavaScript control. It works great in iOS. Simply embed it inside of a WebBrowser control inside of your app.

Confused with Apple Map Vs Google Map

This might be a very stupid question for some people but I want to be make sure about this.
In iOS6 Apple has updated its Map application and added his own map. Now if I develop any native application and include map(MKMapView) into this so are their any changes which I should be aware of them?
Previously, I was using Google web service to fetch the latitude and longitude between two locations and draw direction. Does Apple provide its own web services for the same?
are their any changes which I should be aware of them?
MKMapView will still work fine, but the map it displays will look a little different. Also, if you limit your app to iOS versions that use only Apple's maps, you might not be subject to Google's terms and conditions. Read your agreements.
Does Apple provide its own web services for the same?
There's CLGeocoder. It's a class, not a web service, but that just makes it easier to use.
Using MKMapView framework didn't change just because the images are different. It should work fine.
Google's Terms Of Service say that you can't show their data on someone else's maps. So if your app is still getting data from a Google webservice you'll need to use the Google Map SDK that they have put out, not the usual MKMapView on iOS 6+.
If you are only using Google's webservice to turn a human readable address into lat/long then you can do that using CLGeocoder as Caleb suggested, but Google offer other services too.

Options for displaying multiple routes on iPhone Map (iOS 4+)

I am trying to develop an iPhone app (with map routing function), and I need everyone's suggestions (guidance).
Below are a few specs:
The app will be running on iPhone with iOS 4+.
The app will have Map functionality.
In the app, given a "few locations" in a given order (to make things less complicated), the Map will draw routes between each locations on the Map.
Clicking on any location will display another page that shows some information about that location.
Can choose alternative route between two location (which I don't think is possible, but let me know if anyone know any framework that can do this).
I did some research, using Map on iPhone is easy using MapKit (and it's available after iOS 3.0). I followed this tutorial, and everything seems easy. However, if I want to draw routes on my map, I will need routes data in a CSV format. However, I do not have those data (yes! I suck).
And prior to iOS 5.1, MapKit use Google Maps, and I read somewhere that in Google Map's term and condition of use, it prohibit people from drawing on the Map (correct me if I am wrong).
In order to retrieve route data, I would imagine that I will have to get it through Google or Apple (I don't know if it's possible). I'm just wondering if Apple Map or Google Map have API to retrieve these?
If not, an alternative I came up with is to use a webview, and display my Map routes on Google Map. I'm just wondering if Google Map API will allow me to insert multiple locations and display all the routes?
I really need some suggestions... I am getting buried in all these problems.... thank you
Follow this sample - MKOverlay is the way to go. One more example is here.

Route Map Direction on Bing Maps in Windows Phone 7?

How to show the Route path from one place to another place using bingmaps in WP7?
i am having user starting latitude,longitude and destination latitude,longitude values...
Please tell me....any samples please let me know...
thanks in advance
It will depend on your needs and if you wish to customise your "Map".
There are two options available:
Use Bing Maps Direction Task - (very good, quick tutorial)
Use the Bing Maps control in your app - (you will need to sign up for a developer account, then follow the tutorials on how to call the various services to get route information based on start and end points and then finally show them on the map)
number 2 is more challenging, however will offer much greater levels of customisation

Resources