跳到主要内容

flywave-mapview.itiledatavisitor.wantsarea

Home > @flywave/flywave-mapview > ITileDataVisitor > wantsArea

ITileDataVisitor.wantsArea() method

Should return true if the visitor wants to visit the area object with the specified featureId.

Signature:

wantsArea(featureId: number | string | undefined): boolean;

Parameters

Parameter

Type

Description

featureId

number | string | undefined

Returns:



boolean

## Remarks

Number ids are deprecated in favor of strings.