ExpressionContext

The context used while converting a high-level Expression to a low-level CompiledExpression.

It defines how to resolve certain expressions (TextUnit, bitmaps) to their MapLibre counterparts. MapLibre Compose users should not need to implement this interface; it is used internally by the MapLibre Compose library.

Inheritors

Types

Link copied to clipboard

A context where no complex types can be resolved.

Properties

Link copied to clipboard

The scale factor to convert EMs to the desired unit

Link copied to clipboard

The scale factor to convert SPs to the desired unit

Functions

Link copied to clipboard
abstract fun resolveBitmap(bitmap: BitmapLiteral): String
Link copied to clipboard
abstract fun resolvePainter(painter: PainterLiteral): String