OneDrive Developer Center (redirect)

Looking for the Live SDK?

OneDrive logo

The Live SDK 5.6 is now available

Find it on the OneDrive Dev Center, the new place to find samples, documentation, and other resources for integrating OneDrive into your app.
Choose your download

If you're using previous versions of the Live SDK, the Live SDK 5.5 reference is still available.

 none
determine current itinerary based on gps position

    שאלה

  • This is for Windows phone

    Based on Route service, i have a list of itineraries and each time GPS detect a change, it raises an event and i get the coordinate.

    I have so far tried to go with this approach but got lost

    1) At start maintain current and next itinerary

    2) Based on position relative to two itinerary,

    a) if distance from current is inreasing and next is decreasing, we are moving towards next itinerary

    b) if distance from current to both current and next is increasing, we have gone beyond next so we need to make next itinerary current and slide it forward.

    c) if point is outside the polygon of current and next itinerary, recalculate.

    Alternatively,

    I can use points and linq and query nearest point each time and determine current itinerary and possibly next itenerary.

    Any help will be appreciated.


    Hermit Dave

    יום חמישי 01 מרץ 2012 23:21

תשובות

  • Note that creating an automated process for showing the next itinerary for a route based on the GPS is against the terms of use for Bing Maps and it's data providers. This is why many of the Bing Maps powered navigation applications for WP7 require you to press a button to display the next itinerary item. You can find the terms of use here: http://www.microsoft.com/maps/product/terms.html

    Here is the wording from the terms of use:

    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. turn by turn navigation that tracks end-user’s position using GPS and communicates a maneuver as the end-user approaches the location for such maneuver).                       

    If you created this app such that it violates the terms of use of Bing Maps and publish it to the WP marketplace, it will be removed.


    http://rbrundritt.wordpress.com

    יום שישי 02 מרץ 2012 15:27

כל התגובות

  • Note that creating an automated process for showing the next itinerary for a route based on the GPS is against the terms of use for Bing Maps and it's data providers. This is why many of the Bing Maps powered navigation applications for WP7 require you to press a button to display the next itinerary item. You can find the terms of use here: http://www.microsoft.com/maps/product/terms.html

    Here is the wording from the terms of use:

    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. turn by turn navigation that tracks end-user’s position using GPS and communicates a maneuver as the end-user approaches the location for such maneuver).                       

    If you created this app such that it violates the terms of use of Bing Maps and publish it to the WP marketplace, it will be removed.


    http://rbrundritt.wordpress.com

    יום שישי 02 מרץ 2012 15:27
  • Thank you for taking time to answer my query Richard. Most appreciated

    Alert can be interpreted in many ways. Would showin

    1) Turn icon or showing distance before turn ?

    2) A more eye catching visual sign

    3) Audio alert ?

    I have seen apps on Marketplace that do all that and they use Bing Maps. I myself purchased on a while back call Navigation by GPS Tuner that does just that (and i know that they use default control). Or does that only apply to the fact that i haven't made any effect to contact the Bing Maps team ? I am sure that most navigation maps except for

    * Garmin * Nokia * Navigon use WP7 Silverlight Control formerly known as Bing Maps control.

    Thank you once again. I appreciate that you cannot give legal advice (I myself say that on #windowsphone forums). Personal opinion is more than sufficient.


    Hermit Dave

    יום שישי 02 מרץ 2012 16:34
  • Many of those apps are not using the Bing Maps SDK and many of those that do either have special licenses or are being removed.

    http://rbrundritt.wordpress.com

    שבת 10 מרץ 2012 13:59
  • thanks

    Hermit Dave

    שבת 10 מרץ 2012 14:38
OneDrive Developer Center (redirect)

Looking for the Live SDK?

OneDrive logo

The Live SDK 5.6 is now available

Find it on the OneDrive Dev Center, the new place to find samples, documentation, and other resources for integrating OneDrive into your app.
Choose your download

If you're using previous versions of the Live SDK, the Live SDK 5.5 reference is still available.