Contents

selectedGlyphImage

The image to display in the balloon when the user selects the marker.

Declaration

selectedGlyphImage?: ImageDelegate | ImageHashObject | null;

Discussion

Provide glyph images as object literals containing absolute or relative URLs to standard, 2x, and 3x Retina display assets. The framework requires at least one image. MapKit JS displays the selected glyph image in the balloon when the marker is in the selected state. If you specify an image for this property, also specify an image in the glyphImage property.

Set the size of the selected glyph image to 40 x 40 pixels. MapKit JS scales glyph images to fit in the balloon. If you don’t set selectedGlyphImage, the framework uses glyphImage when the user selects the marker. The default image is a pin.

See Also

Setting marker annotation properties