Companion

object Companion

Functions

Link copied to clipboard
fun coordsToLatLng(coords: <Error class: unknown class><Number, Number>): LatLng

Creates a LatLng object from 2 numbers (longitude, latitude) used in GeoJSON for points.

fun coordsToLatLng(coords: <Error class: unknown class><Number, Number, Number>): LatLng

Creates a LatLng object from 3 numbers (longitude, latitude, altitude) used in GeoJSON for points.

Link copied to clipboard
fun coordsToLatLngs(coords: Array<Any>, levelsDeep: Number = definedExternally, coordsToLatLng: (<Error class: unknown class><Number, Number>) -> LatLng = definedExternally): Array<Any>
fun coordsToLatLngs(coords: Array<Any>, levelsDeep: Number = definedExternally, coordsToLatLng: (<Error class: unknown class><Number, Number, Number>) -> LatLng = definedExternally): Array<Any>
Link copied to clipboard
fun geometryToLayer(featureData: Feature<GeoJsonGeometry>, options: GeoJSON.GeoJSONOptions = definedExternally): Layer<*>
Link copied to clipboard
fun latLngsToCoords(latlngs: Array<Any>, levelsDeep: Number = definedExternally, closed: Boolean = definedExternally): Array<Any>
Link copied to clipboard