Feature State
Feature state class needed for generic MapboxMap.setFeatureState
and MapboxMap.getFeatureState
.
Types
Link copied to clipboard
Builder class to build FeatureState.
Functions
Link copied to clipboard
Return state as a JSON string.
Link copied to clipboard
Returns the state value for stateName if it exists and is a Boolean or can be coerced to a Boolean, or NULL otherwise.
Link copied to clipboard
Returns the state value for stateName if it exists and is a Double or can be coerced to a Double, or NULL otherwise.
Link copied to clipboard
Returns the state value for stateName if it exists and is a Long or can be coerced to a Long, or NULL otherwise.
Link copied to clipboard
Returns the state value for stateName if it exists and is a String or can be coerced to a String, or NULL otherwise.