sdk-maps / com.tomtom.online.sdk.map.style.sources / SourceVisitor

SourceVisitor

interface SourceVisitor

A visitor of source objects, implementing the visitor design pattern. Facilitates operating on Source and its subtypes.

Functions

visit

abstract fun visit(source: GeoJsonSource!): Unit

Allows the use of a visitor design pattern for GeoJsonSource.

abstract fun visit(source: ImageSource!): Unit

Allows the use of a visitor design pattern for ImageSource.