Ejemplo n.º 1
0
 public void UpdateModel(ProjectFirmaModels.Models.ExternalMapLayer externalMapLayer)
 {
     externalMapLayer.DisplayName             = DisplayName;
     externalMapLayer.LayerUrl                = LayerUrl;
     externalMapLayer.DisplayOnAllProjectMaps = DisplayOnAllMaps;
     externalMapLayer.LayerIsOnByDefault      = LayerIsOnByDefault;
     externalMapLayer.IsActive                = IsActive;
     externalMapLayer.IsTiledMapService       = IsTiledMapService;
     externalMapLayer.FeatureNameField        = FeatureNameField;
     externalMapLayer.LayerDescription        = LayerDescription;
 }
Ejemplo n.º 2
0
 public EditExternalMapLayerViewModel(ProjectFirmaModels.Models.ExternalMapLayer externalMapLayer)
 {
     ExternalMapLayerID = externalMapLayer.ExternalMapLayerID;
     DisplayName        = externalMapLayer.DisplayName;
     LayerUrl           = externalMapLayer.LayerUrl;
     DisplayOnAllMaps   = externalMapLayer.DisplayOnAllProjectMaps;
     LayerIsOnByDefault = externalMapLayer.LayerIsOnByDefault;
     IsActive           = externalMapLayer.IsActive;
     IsTiledMapService  = externalMapLayer.IsTiledMapService;
     FeatureNameField   = externalMapLayer.FeatureNameField;
     LayerDescription   = externalMapLayer.LayerDescription;
 }