Convert Utils
object ConvertUtils
Content copied to clipboard
Util class for converting properties.
Functions
calculate Mercator Coordinate Shift
Link copied to clipboard
fun calculateMercatorCoordinateShift(startPoint: Point, endPoint: Point, zoomLevel: Double): MercatorCoordinate
Content copied to clipboard
Calculate the shift between two Points in Mercator coordinate.
convert Double Array
Link copied to clipboard
Convert a list into a JsonArray with double format
convert String Array
Link copied to clipboard
Convert a list into a JsonArray with string format
shift Point With Mercator Coordinate
Link copied to clipboard
fun shiftPointWithMercatorCoordinate(point: Point, shiftMercatorCoordinate: MercatorCoordinate, zoomLevel: Double): Point
Content copied to clipboard
Apply a MercatorCoordinate to the original point.
to Double Array
Link copied to clipboard
Convert a JsonArray to a list of Double
to String Array
Link copied to clipboard
Convert a JsonArray to a list of String