跳到主要内容

flywave-mapview.tile.removetextelement

Home > @flywave/flywave-mapview > Tile > removeTextElement

Tile.removeTextElement() method

Removes a from this Tile.

Signature:

removeTextElement(textElement: TextElement): boolean;

Parameters

Parameter

Type

Description

textElement

TextElement

The TextElement to remove.

Returns:



boolean

`true` if the TextElement has been removed successfully; `false` otherwise.

## Remarks

For the element to be removed successfully, the priority of the has to be equal to its priority when it was added.