Package com.mapbox.geojson.constants
Class GeoJsonConstants
java.lang.Object
com.mapbox.geojson.constants.GeoJsonConstants
Contains constants used throughout the GeoJson classes.
- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleWhile on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.static final doubleA Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.static final doubleWhile on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.static final doubleA Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation. -
Method Summary
-
Field Details
-
MIN_LONGITUDE
public static final double MIN_LONGITUDEA Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.- Since:
- 3.0.0
- See Also:
-
MAX_LONGITUDE
public static final double MAX_LONGITUDEA Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.- Since:
- 3.0.0
- See Also:
-
MIN_LATITUDE
public static final double MIN_LATITUDEWhile 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:
-
MAX_LATITUDE
public static final double MAX_LATITUDEWhile 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:
-