Does anyone have a good example using CIMTextSymbol, I want to label a clicked point on the map?

747
1
01-23-2017 01:25 PM
Highlighted
New Contributor

User clicks on the map, I want to add a marker symbol and a text Symbol displaying the Lat/Long in a text call out.

Here is an example from ArcGIS Desktop Addin.

Reply
0 Kudos
1 Reply
Highlighted
Esri Contributor

Adding an individual callout is only possible in Layout (eg. see here: http://pro.arcgis.com/en/pro-app/help/layouts/add-and-modify-graphics-and-text.htm).

Otherwise, for a map, labeling is applied to a layer as a whole. Different labelling classes can be defined as part of a given layer labeling definition (eg based on an attribute or similar) but I don't think that is what you are after.

Reply
0 Kudos