---
title: glyphText
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/markerannotationconstructoroptions/glyphtext
---

# glyphText

The text to display in the marker balloon.

## Declaration

```data
glyphText?: string;
```

## Discussion

Discussion The text to display in the balloon instead of a glyph image. The default value is null. There’s a limited amount of space available for displaying glyph text. Specify no more than two or three characters. If you specify both a glyphImage and glyphText, MapKit JS ignores the glyph image and displays the glyph text.

## See Also

### Setting marker annotation properties

- [color](mapkitjs/markerannotationconstructoroptions/color.md)
- [glyphColor](mapkitjs/markerannotationconstructoroptions/glyphcolor.md)
- [glyphImage](mapkitjs/markerannotationconstructoroptions/glyphimage.md)
- [selectedGlyphImage](mapkitjs/markerannotationconstructoroptions/selectedglyphimage.md)
- [subtitleVisibility](mapkitjs/markerannotationconstructoroptions/subtitlevisibility.md)
- [titleVisibility](mapkitjs/markerannotationconstructoroptions/titlevisibility.md)
