Package-level declarations

Types

Link copied to clipboard
class FeatureCollectionDsl(features: MutableList<Feature> = mutableListOf(), var bbox: BoundingBox? = null)
Link copied to clipboard
class GeometryCollectionDsl(geometries: MutableList<Geometry> = mutableListOf()) : GeometryDsl<GeometryCollection>
Link copied to clipboard
abstract class GeometryDsl<T : Geometry>
Link copied to clipboard
class LineStringDsl(points: MutableList<Position> = mutableListOf()) : GeometryDsl<LineString>
Link copied to clipboard
class MultiLineStringDsl(coordinates: MutableList<List<Position>> = mutableListOf()) : GeometryDsl<MultiLineString>
Link copied to clipboard
class MultiPointDsl(points: MutableList<Position> = mutableListOf()) : GeometryDsl<MultiPoint>
Link copied to clipboard
class MultiPolygonDsl(coordinates: MutableList<List<List<Position>>> = mutableListOf()) : GeometryDsl<MultiPolygon>
Link copied to clipboard
class PointDsl(coordinates: Position) : GeometryDsl<Point>
Link copied to clipboard
class PolygonDsl(coordinates: MutableList<List<Position>> = mutableListOf()) : GeometryDsl<Polygon>
Link copied to clipboard

Functions

Link copied to clipboard
inline fun feature(geometry: Geometry? = null, id: String? = null, bbox: BoundingBox? = null, properties: PropertiesBuilder.() -> Unit = {}): Feature
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun lineString(block: LineStringDsl.() -> Unit): LineString
Link copied to clipboard
fun lngLat(longitude: Double, latitude: Double): Position
fun lngLat(longitude: Double, latitude: Double, altitude: Double): Position
fun lngLat(longitude: Double, latitude: Double, altitude: Double?): Position
Link copied to clipboard
Link copied to clipboard
inline fun multiPoint(block: MultiPointDsl.() -> Unit): MultiPoint
Link copied to clipboard
inline fun multiPolygon(block: MultiPolygonDsl.() -> Unit): MultiPolygon
Link copied to clipboard
inline fun point(longitude: Double, latitude: Double, altitude: Double? = null, block: PointDsl.() -> Unit = {}): Point
Link copied to clipboard
inline fun polygon(block: PolygonDsl.() -> Unit): Polygon