AnsweredAssumed Answered

CompositeSymbol in WPF

Question asked by lisardggy on Feb 14, 2012
Latest reply on Sep 7, 2015 by OraKLE_1
I'm trying to develop a CompositeSymbol to display on the WPF map control, to add a text label to a PictureMarkerSymbol. I'm using a FeatureLayer, so my server-defined labels aren't defined (the layer is stored in an MXD on an ArcGIS 10 server).

Since I couldn't find a preexisting Symbol that can do that, I'm thinking of writing a custom class - LabeledMarkerSymbol (derived from MarkerSymbol) which receives a MarkerSymbol in its constructor, then edits its ControlTemplate to add a new text label.

My question is: is there a better way to do this?
Is there a CompositeSymbol object that can receive a MarkerSymbol and a TextSymbol and render them together?
Or do I just tear into the ControlTemplate myself?

Outcomes