Package-level declarations

Types

Link copied to clipboard
object ColorUtils

Color utility class.

Link copied to clipboard

Internal utility to convert Any type to Value class.

Functions

Link copied to clipboard

Extension function for StylePropertyValue to silently unwrap StylePropertyValue to given type.

Link copied to clipboard
fun Feature.toValue(): Value

Extension function for Feature to convert Feature to Value.

fun FeatureCollection.toValue(): Value

Extension function for FeatureCollection to convert FeatureCollection to Value.

fun Geometry.toValue(): Value

Extension function for Geometry to convert Geometry to Value.

Link copied to clipboard

DSL builder function to create TransitionOptions object.

Link copied to clipboard
inline fun <T> StylePropertyValue.unwrap(): T

Extension function for StylePropertyValue to unwrap StylePropertyValue to given type.

Link copied to clipboard

Extension function for Value to unwrap Value to Any.

Link copied to clipboard

Extension function for Value to unwrap Value to Expression.

Link copied to clipboard

Extension function for Value to unwrap Value to StyleTransition.

Link copied to clipboard
inline fun <T> Value.unwrapToTyped(): T

Extension function for Value to unwrap Value to the given type.