跳到主要内容

flywave-mapview.mapanchors.remove

Home > @flywave/flywave-mapview > MapAnchors > remove

MapAnchors.remove() method

Remove a [[MapAnchor]].

Signature:

remove(mapAnchor: MapAnchor): void;

Parameters

Parameter

Type

Description

mapAnchor

MapAnchor

[[MapAnchor]] instance to remove.

This method is potentially slow when removing a lot of anchors. [[clear]]ing and [[add]]ing anchors should be considered in that case.

Returns:



void