Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class FeatureCollectionDsl(features: MutableList<Feature<Geometry>> = mutableListOf(), var bbox: BoundingBox? = null, val foreignMembers: MutableMap<String, Any> = mutableMapOf())
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 <T : Geometry> feature(geometry: T? = null, id: String? = null, bbox: BoundingBox? = null, foreignMembers: ForeignMembersBuilder.() -> Unit = {}, properties: PropertiesBuilder.() -> Unit = {}): Feature<T>
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