我在使用Bingmap时遇到了重大问题。我在用:http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3首先我在firebug中遇到错误:this.CreditsFor=function(a,i,j,h){vare=[];if(a!="undefined"&&a!=null&&typeofm_tableKeys[a]!="undefined"&&........MVC_Init_FlatlandView_Drawing();MVC_Init_View3D_Drawing()};if(typeofcloseDependenc
我无法找到一种方法将图钉添加到WindowsPhone8.1应用程序中的MapControl应用程序。对于之前的map控件,我在这里看到说明,http://msdn.microsoft.com/en-us/library/hh709044.aspx.但不适用于WindowsPhone“WinRT”应用。赞赏的想法。谢谢。 最佳答案 您可以使用map的MapElements属性添加图钉。//ensureyousetthelocationofthepin;)Map.MapElements.Add(newMapIcon());您可以使用M
我想将我的地址框文本转换为地理坐标,以便我可以在map上放置大头针。这是我的map的xaml代码。我的地址保存在字符串类型变量中。如何将其转换为坐标。 最佳答案 这是我不久前从MSDN改编的一些代码。添加地址文本框和查找按钮以搜索map。按钮点击事件;privatevoidbtn_Find_Click(objectsender,RoutedEventArgse){FindAndDisplayNearbyPOI(Geocode(txt_address.Text));}publicXmlDocumentGeocode(stringadd