getSrsName static method

String? getSrsName(
  1. SpatialReferenceSystem srs
)

Implementation

static String? getSrsName(SpatialReferenceSystem srs) {
  switch (srs) {
    case SpatialReferenceSystem.CARTESIAN:
      return ("Cartesian");
    case SpatialReferenceSystem.PULKOVO_1995:
      return ("Pulkovo 1995");
    case SpatialReferenceSystem.WGS84:
      return ("WGS 84");
    case SpatialReferenceSystem.WGS84_PSEUDO_MERCATOR:
      return ("WGS 84 / Pseudo-Mercator");
    case SpatialReferenceSystem.WGS84_WORLD_MERCATOR:
      return ("WGS 84 / World Mercator");
    default:
      return null;
  }
}