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
Contributor
XtremeCheese
Posts: 22
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.

Please use plain text.
Developer
RileyGB
Posts: 284
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
Please use plain text.