Class Images

Methods

  • Adds an image to the map.

    Parameters

    Returns Image

    The created Image, or undefined if creation failed.

    // Add an interactive {@link Image} to the map with custom HTML content.
    map.Images.add(coordinate, '<div>Image Content</div>', { interactive: true });
  • Removes a image from the map.

    Parameters

    • image: Image

      {Image} The Image which should be removed.

    Returns void

    mapView.Images.remove(image);
    
  • Remove all the images from the map.

    Returns Image[]

    map.Images.removeAll();