Recently, ArcGIS runtime SDK 3.0 for Windows Phone has been released. After obtaining it, the author immediately tasted it easy.CodeLoad the basemap of Jetta as follows:
<ESRI: Map x: Name = "map"> <ESRI: arcgistiledmapservicelayer url = "http://www.arcgisonline.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer"/> </ESRI: Map>
And then press F5 to run it ~
Why is there a problem with the basemap? The same URL can be seen in the browser .. You can also see in the Silverlight API ..
This should be a problem specific to the Windows Phone SDK .. Think about it, not found, that is, the slice of the current requested MAP range cannot be found ~ Is there no slice in the current range? Predicted to change the MAP range ~ Added a line of code, as shown below:
Map. extent = new ESRI. ArcGIS. Client. Geometry. Envelope (11575115,3575676, 11596612,3599415 );
Press F5, and the effect is as follows:
It seems that there is no slice in the initial map range. Just modify the range!