Adds a minimap on the viewer

Hierarchy (view full)

Constructors

Properties

component: MapComponent
viewer: Viewer
id: "map" = 'map'

Unique identifier of the plugin

readonlyOptions: (keyof MapPluginConfig)[] = ...
VERSION: string = PKG_VERSION

Expected version of the core DO NOT USE on custom plugins

Methods

  • Changes the image of the map

    Parameters

    • url: string
    • Optionalcenter: Point

      Also change the position on the map

    • Optionalrotation: string | number

      Also change the image rotation

    Returns void

  • Update options

    Type Parameters

    • T extends
          | "center"
          | "size"
          | "position"
          | "rotation"
          | "shape"
          | "overlayImage"
          | "pinImage"
          | "pinSize"
          | "coneColor"
          | "coneSize"
          | "spotStyle"
          | "static"
          | "minZoom"
          | "maxZoom"
          | "hotspots"
          | "minimizeOnHotspotClick"

    Parameters

    Returns void