StandardBuildingsFeature

class StandardBuildingsFeature(id: FeaturesetFeatureId?, importId: String?, originalFeature: Feature, state: StandardBuildingsState) : FeaturesetFeature<StandardBuildingsState>

Featureset describing the buildings.

Typed class of FeaturesetFeature representing StandardBuildings coming from Mapbox Standard Style. Allows easy access to Feature properties.

Constructors

Link copied to clipboard
fun StandardBuildingsFeature(id: FeaturesetFeatureId?, importId: String?, originalFeature: Feature, state: StandardBuildingsState)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Override equals method.

Link copied to clipboard
open override fun hashCode(): Int

Override hashCode method.

Properties

Link copied to clipboard

The TypedFeaturesetDescriptor this concrete feature comes from. List of supported featuresets could be found in the nested classes (e.g. TypedFeaturesetDescriptor.Featureset, TypedFeaturesetDescriptor.Layer etc).

Link copied to clipboard
open val geometry: Geometry

Mandatory feature Geometry.

Link copied to clipboard

A high-level building group like building-2d, building-3d, etc.

Link copied to clipboard
val id: FeaturesetFeatureId?

Optional identifier holding feature id and feature namespace. It could be NULL when underlying Feature.id is null.

Link copied to clipboard

The feature properties stored in JSONObject.

Link copied to clipboard

Current feature state stored as a concrete instance of FeatureState. Important: this state is immutable and represents the feature state at the precise moment of the interaction callback.