通过自定义MarkerSymbol的控件模板,实现在ArcGIS中扩展符号样式。
<esri:MarkerSymbol x:Key="myMarkerSymbolTemplate"> <esri:MarkerSymbol.ControlTemplate> <ControlTemplate> <Grid> <Canvas> <Polyline Points="0,0 10,0 5,10" Stroke="Red" StrokeThickness="2" /> </Canvas> </Grid> </ControlTemplate> </esri:MarkerSymbol.ControlTemplate> </esri:MarkerSymbol>