MapKit JS - Use Own Image instead of Balloon?

Is it possible to replace the default balloon marker with our own image that we store on a URL? I've played around with changing the glyphText but would like to use our own images instead of the balloon if this possible.

Replies

You can use an image annotation

const annotation = new mapkit.ImageAnnotation(coord, {
  url: { 1: '/path/to/image.png' },
  anchorOffset: new DOMPoint(0, -17)
})