Optional
backgroundOptional
classCSS class(es) added to the compass element.
Optional
conecolor of the cone of the compass
'rgba(255, 255, 255, 0.5)'
Optional
hotspotdefault color of hotspots
'rgba(0, 0, 0, 0.5)'
Optional
hotspots?: CompassHotspot[]small dots visible on the compass (will contain every marker with the "compass" data)
Optional
navigation?: booleanallows to click on the compass to rotate the viewer
true
Optional
navigationcolor of the navigation cone
'rgba(255, 0, 0, 0.2)'
Optional
position?: string | [string, string]position of the compass
'top left'
Optional
size?: stringsize of the compass
'120px'
Generated using TypeDoc
SVG used as background of the compass