createPointGeometry

fun createPointGeometry(longitude: Double, latitude: Double): Geometry

Build a Geometry object of type point from a longitude and a latitude.

Return

The Geometry object of type point created.

Parameters

longitude

The longitude of a coordinate.

latitude

The latitude of a coordinate.


Build a Geometry object of type point from a List<Double> object with the point coordinate.

Return

The Geometry object of type point created.

Parameters

point

The point coordinate with format [longitude, latitude].