Compare commits
No commits in common. "31bb59de16121aae2bc7619e307fbdfde560389f" and "60a74d2b29e29e00a0a8858c67b82b0e3dc7f49e" have entirely different histories.
31bb59de16
...
60a74d2b29
@ -201,6 +201,7 @@ namespace GisDevelop_Exp
|
|||||||
await MainMapView.SetViewpointGeometryAsync(openedFeature.Extent);
|
await MainMapView.SetViewpointGeometryAsync(openedFeature.Extent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AddLayerNameToList();
|
AddLayerNameToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -236,6 +237,7 @@ namespace GisDevelop_Exp
|
|||||||
MainMapView.Map.InitialViewpoint = geodatabaseViewPoint;
|
MainMapView.Map.InitialViewpoint = geodatabaseViewPoint;
|
||||||
// MainMapView.Map = geodatabaseMap;
|
// MainMapView.Map = geodatabaseMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
AddLayerNameToList();
|
AddLayerNameToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,7 +257,7 @@ namespace GisDevelop_Exp
|
|||||||
Color fillColor = Color.FromArgb(0, 0, 0, 0);
|
Color fillColor = Color.FromArgb(0, 0, 0, 0);
|
||||||
SimpleFillSymbol fillSymbol = new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, fillColor, lineSymbol);
|
SimpleFillSymbol fillSymbol = new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, fillColor, lineSymbol);
|
||||||
var graphicOverlay = new Esri.ArcGISRuntime.UI.GraphicsOverlay();
|
var graphicOverlay = new Esri.ArcGISRuntime.UI.GraphicsOverlay();
|
||||||
var envGraphic = new Esri.ArcGISRuntime.UI.Graphic(eagleViewEnvelop, fillSymbol);
|
var envGraphic = new Esri.ArcGISRuntime.UI.Graphic(vExtent, fillSymbol);
|
||||||
graphicOverlay.Graphics.Add(envGraphic);
|
graphicOverlay.Graphics.Add(envGraphic);
|
||||||
EagleMapView.GraphicsOverlays.Add(graphicOverlay);
|
EagleMapView.GraphicsOverlays.Add(graphicOverlay);
|
||||||
}
|
}
|
||||||
@ -762,7 +764,8 @@ namespace GisDevelop_Exp
|
|||||||
MainMapView.GraphicsOverlays[0].Graphics.Add(lineGraphic); //加入该图形元素到覆盖层中
|
MainMapView.GraphicsOverlays[0].Graphics.Add(lineGraphic); //加入该图形元素到覆盖层中
|
||||||
linesList.Add(lineGraphic); //同时,将该图形加入链表
|
linesList.Add(lineGraphic); //同时,将该图形加入链表
|
||||||
}
|
}
|
||||||
}else if (m_CurOper== CURRENTOPERATION.ModifyFeature)
|
}
|
||||||
|
else if (m_CurOper == CURRENTOPERATION.ModifyFeature)
|
||||||
{
|
{
|
||||||
if (_featureLayer == null)
|
if (_featureLayer == null)
|
||||||
return;
|
return;
|
||||||
@ -978,8 +981,7 @@ namespace GisDevelop_Exp
|
|||||||
aMap.InitialViewpoint = geodatabaseViewPoint;
|
aMap.InitialViewpoint = geodatabaseViewPoint;
|
||||||
MainMapView.Map = aMap;
|
MainMapView.Map = aMap;
|
||||||
}
|
}
|
||||||
|
// AddLayerNameToList();
|
||||||
AddLayerNameToList();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LayerListBox_OnPreviewMouseMove(object sender, MouseEventArgs e)
|
private void LayerListBox_OnPreviewMouseMove(object sender, MouseEventArgs e)
|
||||||
@ -1329,6 +1331,7 @@ namespace GisDevelop_Exp
|
|||||||
if (linesList != null)
|
if (linesList != null)
|
||||||
linesList.Clear();
|
linesList.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_CurOper = CURRENTOPERATION.NullOpe;
|
m_CurOper = CURRENTOPERATION.NullOpe;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1601,7 +1604,6 @@ namespace GisDevelop_Exp
|
|||||||
pSymbol = null;
|
pSymbol = null;
|
||||||
SetSimpleRender((FeatureLayer)symbologyLayer, null);
|
SetSimpleRender((FeatureLayer)symbologyLayer, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user