An annotation that displays a balloon-shaped marker at the designated location.
MapKit JS 5.0+
A marker is a balloon-shaped annotation that contains a glyph or text. On the map, the marker appears when its coordinate is in view.
The following example shows a customized marker that specifies a color for the balloon background and the glyph, and provides custom glyph images.
The following example shows a marker annotation with a custom callout implemented by the callout delegate. In this example, the annotation is a dot when it is selected because selectedGlyphImage is not used.