Skip to main content

flywave-mapview.itiledatavisitor

Home > @flywave/flywave-mapview > ITileDataVisitor

ITileDataVisitor interface

Interface for a client visitor that is used to visit all THREE.Objects in a tile.

Signature:

export interface ITileDataVisitor 

Properties

Property

Modifiers

Type

Description

tile

Tile

Methods

Method

Description

visitArea(featureId)

Visit an area object with the specified featureId; use pointAccessor to get the object's properties.

visitLine(featureId, lineAccessor)

Visits a line object with the specified featureId; use pointAccessor to get the object's properties.

visitObject3D(featureId, object3dAccessor)

Visits a 3D object with the specified featureId; use pointAccessor to get the object's properties.

visitPoint(featureId)

Visits a point object with the specified featureId; use pointAccessor to get the object's properties.

wantsArea(featureId)

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

wantsFeature(featureId)

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.

wantsLine(featureId)

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

wantsObject3D(featureId)

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

wantsPoint(featureId)

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