markDirty Method

Indicate that this MarkerSet has been changed and is now dirty. This is necessary because addDecoration does not recreate the set of decoration graphics if it can detect that the previously-created set remains valid. The set becomes invalid when the view frustum changes, or the contents of markers changes. If some other criterion affecting the graphics changes, invoke this method. This should not be necessary for most use cases.

markDirty(): void

Returns - void

Defined in

Last Updated: 17 December, 2024