Optional
afterOptional
afterAn optional hook to be called just after a point is removed.
Optional
afterAn optional hook to be called just after a point is updated.
Optional
beforeAn optional hook to be called just before a point is inserted.
If the hook returns false
, the point is not inserted.
Optional
beforeAn optional hook to be called just before a point is removed.
If the hook returns false
, the point is not removed.
Optional
beforeAn optional hook to be called just before a point is updated.
If the hook returns false
, the point is not updated.
Optional
borderThe width, in pixels, of the border around vertices and lines.
{@link DEFAULT_BORDER_WIDTH}
Optional
colorThe main color of the shape. Affects lines, vertices, surfaces and labels.
{@link DEFAULT_COLOR}
Optional
floorThe floor elevation, in meters.
0
Optional
fontThe label font size.
{@link DEFAULT_FONT_SIZE}
Optional
fontThe label font weight.
'bold'
Optional
labelThe specific opacity of the labels.
1
Optional
lineA custom formatter for the line label.
Optional
lineThe width, in pixels, of lines.
{@link DEFAULT_LINE_WIDTH}
Optional
pickableMake labels pickable.
false
Optional
segmentA custom formatter for segment labels.
Optional
showShows the line that is the vertical projection of the line on the plane at the floorElevation.
{@link DEFAULT_SHOW_FLOOR_LINE}
Optional
showShows floor vertices.
{@link DEFAULT_SHOW_FLOOR_VERTICES}
Optional
showShows the line that connects each vertex.
{@link DEFAULT_SHOW_LINE}
Optional
showDisplay a label for the entire line.
false
Optional
showDisplay labels for each segment of the line.
false
Optional
showShow the surface polygon.
{@link DEFAULT_SHOW_SURFACE}
Optional
showDisplay a label for the surface.
false
Optional
showDisplay a label for each vertex.
false
Optional
showDisplay labels for vertical lines.
false
Optional
showShow vertical lines that connect each vertex to each floor vertex.
{@link DEFAULT_SHOW_VERTICAL_LINES}
Optional
showShow vertices.
{@link DEFAULT_SHOW_VERTICES}
Optional
surfaceA custom formatter for the surface label.
Optional
surfaceAn optional function to compute the location of the surface label.
Optional
surfaceThe opacity of the surface.
{@link DEFAULT_SURFACE_OPACITY}
Optional
vertexA custom formatter for the vertex labels.
Optional
vertexThe radius, in pixels, of vertices.
{@link DEFAULT_VERTEX_RADIUS}
Optional
verticalA custom formatter for vertical line labels.
An optional hook to be called just after a point is inserted.