Optional
bearing?: string | numberOptional
buttons?: { close?: boolean; maximize?: boolean; reset?: boolean }Configuration of map buttons
Optional
configureLeaflet?: (map: Map) => voidLet you configure Leaflet from scratch
Optional
coordinates?: GpsPositionGPS position of the current panorama
Optional
defaultZoom?: numberDefault zoom level
Optional
hotspots?: PlanHotspot[]Points of interest on the map
Optional
layers?: PlanLayer[]Define the available layers
Optional
minimizeOnHotspotClick?: booleanAlways minimize the map when an hotspot/marker is clicked
Optional
pinImage?: stringSVG or image URL used for the central pin (must be square)
Optional
pinSize?: numberSize of the central pin
Optional
position?: string | [string, string]Position of the map
Optional
size?: CssSizeSize of the map
Optional
spotStyle?: PlanHotspotStyleDefault style of hotspots
Optional
visibleOnLoad?: booleanDisplays the map when loading the first panorama
Rotation offset to apply to the central pin