OptionalanchorDefines where the marker is placed toward its defined position
OptionalautoplayAutoplay of videoLayer markers
OptionalchromaWill make a color of the image/video transparent (only for imagerLayer, videoLayer)
Optionalcolor?: ColorRepresentation | { b: number; g: number; r: number }Optionalsimilarity?: numberOptionalsmoothness?: numberOptionalcircleRadius of the circle
OptionalclassCSS class(es) added to the marker element (ignored for imageLayer, videoLayer)
OptionalcontentHTML content that will be displayed on the side panel when the marker is clicked
OptionaldataAny custom data you want to attach to the marker
OptionalelementExiting DOM element
OptionalelementExiting DOM element
OptionalellipseRadiuses of the ellipse
OptionalhideHide the marker in the markers list
OptionalhoverOverrides the global defaultHoverScale
OptionalhtmlHTML content of the marker
Unique identifier of the marker
OptionalimagePath to an image
OptionalimagePath to an image
OptionallistThe name that appears in the list of markers
OptionalopacityOpacity of the marker
OptionalpathDefinition of the path
OptionalpolygonArray of points defining the polygon in spherical coordinates Nested arrays are used to define holes
OptionalpolygonArray of points defining the polygon in pixel coordinates on the panorama image Nested arrays are used to define holes
OptionalpolylineArray of points defining the polyline in spherical coordinates
OptionalpolylineArray of points defining the polyline in pixel coordinates on the panorama image
OptionalpositionPosition of the marker (required but for polygon and polyline)
The array form is used for imageLayer and videoLayer
OptionalrectSize of the rectangle
OptionalrotationRotation 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
OptionalscaleConfigures the scale of the marker depending on the zoom level and/or the horizontal offset (ignored for polygon, polyline, imageLayer, videoLayer)
OptionalsizeSize of the marker (required for image, recommended for html, ignored for others)
OptionalsquareSize of the square
OptionalstyleCSS properties to set on the marker (background, border, etc.) (ignored for imagerLayer, videoLayer)
OptionalsvgSVG properties to set on the marker (fill, stroke, etc.) (only for SVG markers)
OptionaltooltipConfiguration of the marker tooltip
OptionalvideoPath to a video
OptionalvisibleInitial visibility of the marker
OptionalzDrawing order
OptionalzoomThe zoom level which will be applied when calling gotoMarker() method or when clicking on the marker in the list
Configuration of a marker