Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 29
Registered: ‎03-03-2013
My Device: Z10, Q10, Bold 9900, Bold 9700
My Carrier: Rogers

Finding distance between two physical addresses using location services

Is there any way to find the travel distance (in kilometers or miles) by road between two addresses using location services?  I've seen this done in the Maps application, but I'm not sure if that's using some sort of internal API.

Developer
Posts: 285
Registered: ‎08-06-2010
My Device: Z10

Re: Finding distance between two physical addresses using location services

For direct distances (like a bird), you can use http://www.geodatasource.com/developers/c

For driver-based distances, I don't believe that there are any APIs available to us yet (such as the TravelTime API in BB7, which was great!). You can probably find some web services provided by Google or MapQuest to accomplish this.


Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples