标签: arcgis-runtime-net

有关使用ArcGIS Runtime Local Server实现MVVM的问题

我正在尝试设置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)

c# mvvm arcgis-runtime arcgis-runtime-net

6
推荐指数
1
解决办法
225
查看次数

标签 统计

arcgis-runtime ×1

arcgis-runtime-net ×1

c# ×1

mvvm ×1