Class GeoJsonConstants

java.lang.Object
com.mapbox.geojson.constants.GeoJsonConstants

public final class GeoJsonConstants extends Object
Contains constants used throughout the GeoJson classes.
Since:
3.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.
    static final double
    A Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.
    static final double
    While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.
    static final double
    A Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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:
    • 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:
    • 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:
    • 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: