onPointUpdate

onPointUpdateCallback(points, pointIndex, cancellationCallback, isSelfIntersect, isPrimitive )

This callback function is called when a point is added or modified.

Parameters

Name

Type

Description

points

Array of Cesium.Cartesian3

Array which represents the points drawn.

pointIndex

Number

The zero-based index of the point for which the event is called.

cancellationCallback

function

A method to be executed when the drawing is canceled.

isSelfIntersect

Boolean

Determines if the drawn geometry intersects itself.

isPrimitive

Boolean

Determines if the drawn geometry is a primitive.