Package io.jmix.maps

Enum Class CRS

All Implemented Interfaces:
Serializable, Comparable<CRS>, Constable

public enum CRS extends Enum<CRS>
Coordinate reference system.
  • Enum Constant Details

    • EPSG4326

      public static final CRS EPSG4326
      WGS 84
    • EPSG3395

      public static final CRS EPSG3395
      WGS 84 / World Mercator
    • EPSG3857

      public static final CRS EPSG3857
      WGS 84 / Pseudo-Mercator
  • Method Details

    • values

      public static CRS[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CRS valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Return numeric ID of the CRS, omitting 'EPSG' prefix.
      Returns:
      numeric ID of the CRS