MapPluginConfig: {
    buttons?: {
        close?: boolean;
        maximize?: boolean;
        north?: boolean;
        reset?: boolean;
    };
    center?: Point;
    coneColor?: string;
    coneSize?: number;
    defaultZoom?: number;
    hotspots?: MapHotspot[];
    imageUrl?: string;
    maxZoom?: number;
    minimizeOnHotspotClick?: boolean;
    minZoom?: number;
    overlayImage?: string;
    pinImage?: string;
    pinSize?: number;
    position?: string | [string, string];
    rotation?: string | number;
    shape?: "round" | "square";
    size?: string;
    spotStyle?: MapHotspotStyle;
    static?: boolean;
    visibleOnLoad?: boolean;
}

Type declaration

  • Optionalbuttons?: {
        close?: boolean;
        maximize?: boolean;
        north?: boolean;
        reset?: boolean;
    }

    Configuration of map buttons

    • Optionalclose?: boolean
      true
      
    • Optionalmaximize?: boolean
      true
      
    • Optionalnorth?: boolean
      true
      
    • Optionalreset?: boolean
      true
      
  • Optionalcenter?: Point

    The position of the panorama on the map

  • OptionalconeColor?: string

    Color of the cone of the compass

    '#1E78E6'
    
  • OptionalconeSize?: number

    Size of the cone of the compass

    40
    
  • OptionaldefaultZoom?: number

    Default zoom level

    100
    
  • Optionalhotspots?: MapHotspot[]

    Points of interest on the map

  • OptionalimageUrl?: string

    URL of the map

  • OptionalmaxZoom?: number

    Maximum zoom level

    200
    
  • OptionalminimizeOnHotspotClick?: boolean

    Always minimize the map when an hotspot/marker is clicked

  • OptionalminZoom?: number

    Minimum zoom level

    20
    
  • OptionaloverlayImage?: string

    SVG or image URL drawn on top of the map (must be square)

  • OptionalpinImage?: string

    SVG or image URL used for the central pin (must be square)

  • OptionalpinSize?: number

    Size of the central pin

    35
    
  • Optionalposition?: string | [string, string]

    Position of the map

    'bottom left'
    
  • Optionalrotation?: string | number

    Rotation to apply to the image

    0
    
  • Optionalshape?: "round" | "square"
    'round'
    
  • Optionalsize?: string

    Size of the map

    '200px'
    
  • OptionalspotStyle?: MapHotspotStyle

    Default style of hotspots

  • Optionalstatic?: boolean

    Make the map static and rotate the pin instead

    false
    
  • OptionalvisibleOnLoad?: boolean

    Displays the map when loading the first panorama

    true