elw*_*wyn 11 .net google-maps wrapper
我正在寻找一个.NET库或Google Maps包装器,它包含所有类型的响应作为C#类.
我希望能够做到这样的事情:
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");
Run Code Online (Sandbox Code Playgroud)
我希望能够使用如下结果:
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
}
Run Code Online (Sandbox Code Playgroud)
这样的事情存在吗?
这有点像这些问题:
然而答案不是我的意思,我不是在寻找拖放地图控件.
| 归档时间: |
|
| 查看次数: |
14641 次 |
| 最近记录: |