Class SphericalMercatorLonLat

    • Constructor Detail

      • SphericalMercatorLonLat

        public SphericalMercatorLonLat​(double lng,
                                       double lat)
        Creates a new instance. When added to a map, it will be transformed onto the default OpenLayers projection.
        Parameters:
        lng - Spherical Mercator Longitude
        lat - Spherical Mercator Latitude
      • SphericalMercatorLonLat

        public SphericalMercatorLonLat​(double lng,
                                       double lat,
                                       String targetProjection)
        Creates a new instance. when added to a map, it will be transformed onto the supplied projection.
        Parameters:
        lng - Spherical Mercator Longitude
        lat - Spherical Mercator Latitude
        targetProjection - The target projection for the coordinate
      • SphericalMercatorLonLat

        public SphericalMercatorLonLat​(com.vividsolutions.jts.geom.Point point)
        Creates a new instance. When added to a map, it will be transformed onto the default OpenLayers projection.
        Parameters:
        point - Spherical Mercator coordinate
      • SphericalMercatorLonLat

        public SphericalMercatorLonLat​(com.vividsolutions.jts.geom.Point point,
                                       String targetProjection)
        Creates a new instance. When added to a map, it will be transformed onto the supplied projection.
        Parameters:
        point - Spherical Mercator coordinate
        targetProjection - The target projection for the coordinate