fromMicroDegrees static method

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

Constructs a new LatLong with the given latitude and longitude values, measured in microdegrees.

@param latitudeE6 the latitude value in microdegrees. @param longitudeE6 the longitude value in microdegrees. @return the LatLong @throws IllegalArgumentException if the latitudeE6 or longitudeE6 value is invalid.

Implementation

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