diff options
author | Antonio Zugaldia <antonio@mapbox.com> | 2017-02-03 15:12:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 15:12:13 -0500 |
commit | c97ec3be0397290e172299c49361f5033270f150 (patch) | |
tree | c66ceec30a95c484e5df9fabe1a22d8381bd8b19 /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants | |
parent | e5c9db47931174911f0403a1f640a5ae33814b60 (diff) | |
download | qtlocation-mapboxgl-c97ec3be0397290e172299c49361f5033270f150.tar.gz |
[android] Extract telemetry into MAS
* [android] add the mapbox-android-telemetry module dependency.
* update javadoc
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants/GeoConstants.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants/GeoConstants.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants/GeoConstants.java deleted file mode 100644 index 009ae936d5..0000000000 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants/GeoConstants.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.mapbox.mapboxsdk.constants; - -/** - * GeoConstants exposes constants for doing locational calculations on Earth - */ -public class GeoConstants { - - /** - * The <a href='http://en.wikipedia.org/wiki/Earth_radius#Equatorial_radius'>equatorial radius</a> - * value in meters - */ - public static final int RADIUS_EARTH_METERS = 6378137; - - /** - * The minimum latitude on Earth. This is the minimum latitude representable - * by Mapbox GL's Mercator projection, because the projection distorts latitude - * near the poles towards infinity. - */ - public static final double MIN_LATITUDE = -85.05112878; - - /** - * The maximum latitude on Earth. This is the maximum latitude representable - * by Mapbox GL's Mercator projection, because the projection distorts latitude - * near the poles towards infinity. - */ - public static final double MAX_LATITUDE = 85.05112878; - - /** - * The minimum longitude on Earth - */ - public static final double MIN_LONGITUDE = -180; - - /** - * The maximum longitude on Earth - */ - public static final double MAX_LONGITUDE = 180; - -} |