markDirty Method

Indicate that this MarkerSet has been changed and is now dirty. This is necessary because MarkerSet.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 MarkerSet.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: 12 June, 2024