我正在尝试设置ESRI本地服务器进行显示.mpk.我有一个模型
public class Model
{
private string basemapLayerUri = "http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer";
private string mapPackage = "D:\\App\\Data\\Canada.mpk";
public Model() { }
public string BasemapLayerUri
{
get { return this.basemapLayerUri; }
set
{
if (value != this.basemapLayerUri)
{
this.basemapLayerUri = value;
}
}
}
public string MapPackage
{
get { return this.mapPackage; }
set
{
if (value != this.mapPackage)
{
this.mapPackage = value;
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
在ViewModel.cs课堂上我有
public class ViewModel : INotifyPropertyChanged
{
public Model myModel { get; …Run Code Online (Sandbox Code Playgroud)