The image displayed in the marker balloon.
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Use this property or the
glyph property to specify the marker balloon content. If you specify both an image and text, the text is displayed.
The glyph image is displayed when the marker is in the normal state. Create glyph images as template images so that the glyph tint color can be applied to it. Normally, you set the size of this image to 20 by 20 points on iOS and 40 by 40 points on tvOS. However, if you do not provide a separate selected image in the
selected property, make the size of this image 40 by 40 points on iOS and 60 by 40 points on tvOS instead. MapKit scales images that are larger or smaller than those sizes.