create

fun create(latitude: Double, longitude: Double): GeoPoint

Creates a point on the earths surface.

Parameters

latitude

Latitude in degrees. Must be between -90.0 and 90.0.

longitude

Longitude in degrees. Must be between -180.0 and 180.0.

Throws

if latitude or longitude falls outside the allowed values.