Getting CivicAddress on Windows Phone 8.1

后端 未结 2 1871
既然无缘
既然无缘 2021-01-03 03:47

I\'m trying to get the CivicAddress from a Geoposition in Windows Phone 8.1

I\'ve tried using the following code:

// Get Current Location
var geoloca         


        
2条回答
  •  我在风中等你
    2021-01-03 04:07

    If you want to get address for a position, then I would suggest you use ReverseGeocodeQuery API with the position you get with the Geolocator API, for reference implementation I do have an example available at github here https://github.com/nokia-developer/maps-samples/tree/master/RevGeoCoding

    else you could also try this to get civic address from GeoCoordinates http://msdn.microsoft.com/en-us/library/system.device.location.civicaddress(v=vs.110).aspx

提交回复
热议问题