Skip to main content

flywave-mapview.itiledatavisitor.wantsfeature

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

ITileDataVisitor.wantsFeature() method​

Should return true if the visitor wants to visit the object with the specified featureId. This function is called before the type of the object is even known.

Signature:

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

Parameters​

Parameter

Type

Description

featureId

number | string | undefined

Returns:



boolean

## Remarks

Number ids are deprecated in favor of strings.