Package com.mapbox.geojson.constants
Class GeoJsonConstants
- java.lang.Object
-
- com.mapbox.geojson.constants.GeoJsonConstants
-
public final class GeoJsonConstants extends java.lang.ObjectContains constants used throughout the GeoJson classes.- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static doubleMAX_LATITUDEWhile on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.static doubleMAX_LONGITUDEA Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.static doubleMIN_LATITUDEWhile on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.static doubleMIN_LONGITUDEA Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.
-
-
-
Field Detail
-
MIN_LONGITUDE
public static final double MIN_LONGITUDE
A Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.- Since:
- 3.0.0
- See Also:
- Constant Field Values
-
MAX_LONGITUDE
public static final double MAX_LONGITUDE
A Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.- Since:
- 3.0.0
- See Also:
- Constant Field Values
-
MIN_LATITUDE
public static final double MIN_LATITUDE
While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long. This constant restrains the lower latitude value to -90 in order to preserve map readability and allows easier logic for tile selection.- Since:
- 3.0.0
- See Also:
- Constant Field Values
-
MAX_LATITUDE
public static final double MAX_LATITUDE
While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long. This constant restrains the upper latitude value to 90 in order to preserve map readability and allows easier logic for tile selection.- Since:
- 3.0.0
- See Also:
- Constant Field Values
-
-