Image control

When do you use it?

The image control can be used to overlay an image on top of your map. This is a great way to add custom legends, charts, or graphics to support the current view.

Advanced Editor

@controls {
  bottom-right {
    image {
      src: "";
      height: 140;

Supported properties

  • src the url of the image to include (must be wrapped in quotes)

  • width override the width of the image (optional)

  • height override the height of the image (optional)

Check out our controls reference to see the full list of properties and values recognized by the image control.

Last updated