Instance Property

glyphImage

The image to display in the marker balloon.

Declaration

attribute Object glyphImage;

Discussion

The glyph image values should be object literals containing absolute or relative URLs to standard, 2x, and 3x Retina display assets. Only "1" is required. The image should be 20 x 20 pixels.

The default glyph image is a pin, which is used if glyphImage is set to to null, undefined, or "" (empty). If you specify both a glyphImage and glyphText, the glyph image is ignored, and the glyph text is displayed.

See Also

Setting the Glyph Image and Text

glyphText

The text to display in the marker balloon.

selectedGlyphImage

The image to display in the balloon when the marker is selected.