GeometryConstants

Contains constants used throughout the sdk classes.

Properties

Link copied to clipboard
const val LATITUDE_SPAN: Double = 180.0

This constant represents the latitude span when representing a geolocation.

Link copied to clipboard
const val LONGITUDE_SPAN: Double = 360.0

This constant represents the longitude span when representing a geolocation.

Link copied to clipboard
const val MAX_LATITUDE: Double = 90.0

This constant represents the highest latitude value available to represent a geolocation.

Link copied to clipboard

This constant represents the highest longitude value available to represent a geolocation.

Link copied to clipboard
const val MAX_MERCATOR_LATITUDE: Double = 85.05112877980659

Maximum latitude value in Mercator projection.

Link copied to clipboard
const val MAX_WRAP_LONGITUDE: Double = 180.0

This constant represents the highest longitude value available to represent a wrapped geolocation.

Link copied to clipboard
const val MIN_LATITUDE: Double

This constant represents the lowest latitude value available to represent a geolocation.

Link copied to clipboard

This constant represents the lowest longitude value available to represent a geolocation.

Link copied to clipboard

Minimum latitude value in Mercator projection.

Link copied to clipboard

This constant represents the lowest longitude value available to represent a wrapped geolocation.

Link copied to clipboard
const val RADIUS_EARTH_METERS: Int = 6378137

The equatorial radius value in meters