Optional
anchorDefines where the marker is placed toward its defined position
Optional
autoplayAutoplay of videoLayer
markers
Optional
chromaWill make a color of the image/video transparent (only for imagerLayer
, videoLayer
)
Optional
color?: ColorRepresentation | { b: number; g: number; r: number }Optional
similarity?: numberOptional
smoothness?: numberOptional
circleRadius of the circle
Optional
classCSS class(es) added to the marker element (ignored for imageLayer
, videoLayer
)
Optional
contentHTML content that will be displayed on the side panel when the marker is clicked
Optional
dataAny custom data you want to attach to the marker
Optional
elementExiting DOM element
Optional
elementExiting DOM element
Optional
ellipseRadiuses of the ellipse
Optional
hideHide the marker in the markers list
Optional
hoverOverrides the global defaultHoverScale
Optional
htmlHTML content of the marker
Unique identifier of the marker
Optional
imagePath to an image
Optional
imagePath to an image
Optional
listThe name that appears in the list of markers
Optional
opacityOpacity of the marker
Optional
pathDefinition of the path
Optional
polygonArray of points defining the polygon in spherical coordinates Nested arrays are used to define holes
Optional
polygonArray of points defining the polygon in pixel coordinates on the panorama image Nested arrays are used to define holes
Optional
polylineArray of points defining the polyline in spherical coordinates
Optional
polylineArray of points defining the polyline in pixel coordinates on the panorama image
Optional
positionPosition of the marker (required but for polygon
and polyline
)
The array form is used for imageLayer
and videoLayer
Optional
rectSize of the rectangle
Optional
rotationRotation applied to the marker (ignored for polygon
and polyline
)
If defined as a scalar, it applies to the roll
(Z axis)
Only 3D markers (imageLayer
, videoLayer
, elementLayer
) support yaw
and pitch
Optional
scaleConfigures the scale of the marker depending on the zoom level and/or the horizontal offset (ignored for polygon
, polyline
, imageLayer
, videoLayer
)
Optional
sizeSize of the marker (required for image
, recommended for html
, ignored for others)
Optional
squareSize of the square
Optional
styleCSS properties to set on the marker (background, border, etc.) (ignored for imagerLayer
, videoLayer
)
Optional
svgSVG properties to set on the marker (fill, stroke, etc.) (only for SVG markers)
Optional
tooltipConfiguration of the marker tooltip
Optional
videoPath to a video
Optional
visibleInitial visibility of the marker
Optional
zDrawing order
Optional
zoomThe zoom level which will be applied when calling gotoMarker()
method or when clicking on the marker in the list
Configuration of a marker