fromMicroDegrees static method

LatLong fromMicroDegrees(
  1. int latitudeE6,
  2. int longitudeE6
)

Creates a LatLong from microdegree coordinates.

Converts microdegree values (degrees × 10^6) back to decimal degrees. This is useful when working with high-precision integer coordinate storage.

latitudeE6 The latitude value in microdegrees longitudeE6 The longitude value in microdegrees Returns a new LatLong with converted decimal degree values

Implementation

static LatLong fromMicroDegrees(int latitudeE6, int longitudeE6) {
  return LatLong(LatLongUtils.microdegreesToDegrees(latitudeE6), LatLongUtils.microdegreesToDegrees(longitudeE6));
}