2016-07-18 4 views

答えて

1

私は都市の広い範囲をカバーするので、特定の緯度と経度に結び付けることはできません。しかし、Bing Map SDKのSearch Manager Classを使用すると、あなたの例に基づいてニューヨークに住所をジオコードに入力し、緯度と経度を取得することができます。 MSDNのクラスページから

// Set the address string to geocode 
Bing.Maps.Search.GeocodeRequestOptions requestOptions = new Bing.Maps.Search.GeocodeRequestOptions("1 Microsoft Way, Redmond, WA"); 

// Make the geocode request 
Bing.Maps.Search.SearchManager searchManager = myMap.SearchManager; 
Bing.Maps.Search.LocationDataResponse response = await searchManager.GeocodeAsync(requestOptions); 

希望これは

+0

を支援ありがとうございました! それは完全に動作します。 –

関連する問題