StandardPlaceLabelsFeature

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

Points for labeling places including countries, states, cities, towns, and neighborhoods.

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

Constructors

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

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

Provides a broad distinction between place types.

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 override val geometry: Point

Mandatory feature Geometry represented as a Point.

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
val name: String?

Name of the place label.

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.