The image to display when the marker is selected.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Map
Kit
Declaration
@NSCopying var selectedGlyphImage: UIImage? { get set }
Discussion
The glyph image is displayed when the marker is in the selected state. This image is displayed only when the marker is selected. If you specify an image for this property, you should also specify an image in the glyph
property.
Create glyph images as template images so that the glyph tint color can be applied to it. Set the size of this image to 40 by 40 points on iOS and 60 by 40 points on tvOS. MapKit scales images that are larger or smaller than those sizes.