distance
Returns the shortest distance in meters between the evaluated feature and the input geometry. The input value can be a valid GeoJSON of type Point
, MultiPoint
, LineString
, MultiLineString
, Polygon
, MultiPolygon
, Feature
, or FeatureCollection
. Distance values returned may vary in precision due to loss in precision from encoding geometries, particularly below zoom level 13.