This is a migrated thread and some comments may be shown as answers.

How to get Location coordinates from address string synchronously.

1 Answer 50 Views
Map
This is a migrated thread and some comments may be shown as answers.
Rod Yager
Top achievements
Rank 1
Rod Yager asked on 03 Nov 2010, 07:25 PM
Is this possible? To add locations to a route I am calculating, I need the lat/long as soon as I can get it to instantiate the location object.

Thanks,
Rod

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 08 Nov 2010, 05:42 PM
Hi Rod Yager,

Unfortunately the BingGeocodeProvider class does not contain synchronous methods to perform a request. You should use the GeocodeCompleted event to get the address location.

Greetings,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
Rod Yager
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or