Contents

glyphImage

The image to display in the marker balloon.

Declaration

glyphImage?: ImageDelegate | ImageHashObject | null;

Mentioned in

Discussion

The glyph image values need to be object literals containing absolute or relative URLs to standard, 2x, and 3x Retina display assets. The framework requires at least one image at 20 x 20 pixels.

MapKit JS uses the default glyph image of a pin if you set glyphImage to null, undefined, or “” (an empty string). If you specify both a glyphImage and glyphText, the framework ignores the glyph image and displays the glyph text.

See Also

Setting marker annotation properties