Select to view content in your preferred language

Add functionality in ArcGis Pro SDK to display text on the fly at multiple locations in the active Map

333
0
12-15-2017 08:44 AM
Status: Open
Labels (1)
MichelPothier
Occasional Contributor

Currently with classes in ArcGis Pro SDK, you can only display points, lines, and polygons on the fly using the "MapView.Active.AddOverlay" function, but you can not display text.

 

Example to display a point on the fly:
symbol = Await QueuedTask.Run(Function() SymbolFactory.Instance.ConstructPointSymbol(ColorFactory.Instance.RedRGB, 5, SimpleMarkerStyle.Square))
_PointOverlay = Await QueuedTask.Run(Function() activeMapView.AddOverlay(point, symbol.MakeSymbolReference()))

Tags (1)