MapLibre Compose API Reference
Toggle table of contents
0.6.0
common
Platform filter
common
Switch theme
Search in API
MapLibre Compose API Reference
maplibre-compose-expressions
/
dev.sargunv.maplibrecompose.expressions.dsl
/
distance
distance
fun
distance
(
geometry
:
Expression
<
GeoJsonValue
>
)
:
Expression
<
FloatValue
>
(
source
)
Returns the shortest distance in meters between the evaluated feature and
geometry
.