Contents

selectedGlyphImage

An image to display when the user selects the marker.

Declaration

@NSCopying var selectedGlyphImage: UIImage? { get set }
@NSCopying var selectedGlyphImage: NSImage? { get set }

Discussion

MapKit displays the glyph image when the marker is in the selected state. If you specify an image for this property, you should also specify an image in the glyphImage property.

Create glyph images as template images so that MapKit can apply the glyph tint color to the image. 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.

See Also

Setting the Marker Content