Can you change the size of callouts?

10-21-2021 08:22 AM
New Contributor

I am trying to use a callout at a point on the map,

await myCalloutDefinition.SetIconFromSymbolAsync(Map.WaypointMultiSymbol);

to set a symbol

and when its completed

mapView.ShowCallOutAt(mapLocation, myCallout);

If you make the symbol bigger, its appears to have no effect on the callout. How can you do this and change the size of the text in myCallout.titleString?



1 Reply
New Contributor II

If using WPF, I believe Callouts are UIElements. Which suggest that you can make a UserControl, and use the ShowCallOut() method that takes in a UIElement for the callout. I believe you should then be able to set the size of the UserControl and its elements.

Not sure if there is a better way for this.

0 Kudos