Skip to main content

flywave-mapview.tile.addblockingelement

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

Tile.addBlockingElement() method

Adds a PathBlockingElement to this Tile.

Signature:

addBlockingElement(blockingElement: PathBlockingElement): void;

Parameters

Parameter

Type

Description

blockingElement

PathBlockingElement

Element which should block all other labels.

Returns:



void

## Remarks

This path has the highest priority and blocks all other labels. There maybe in future a use case to give it a priority, but as that isn't yet required, it is left to be implemented later if required.