10
我正在寻找一个用于Google地图的.NET库或包装器,它包含所有类型的响应作为C#类。用于Google Maps API支持的.NET库
我希望能够做一些事情,如:
var url = "http://maps.googleapis.com/maps/api/geocode/json?address=Wellington&sensor=false";
//Utility functions would be ideal
string jsonResponse = GoogleMaps.GetJson(url);
string jsonResponse = GoogleMaps.GeocodeAddress("Wellington");
我希望能够使用的结果,如:
GeocodeResponse r = JsonConvert.DeserializeObject<GeocodeResponse>(jsonResponse); //I am using Json.NET
if(r.status.Equals("OK"))
{
DoSomethingWith(r.result.formatted_address); //intellisense documentation for all the bits in the result would be great
}
难道这样的事情存在?
这有点像这些问题:
但是答案也有不是我的意思,我不是在找拖放地图控件。