Package org.wicketstuff.openlayers.api
Class SphericalMercatorLonLat
- java.lang.Object
-
- org.wicketstuff.openlayers.api.LonLat
-
- org.wicketstuff.openlayers.api.SphericalMercatorLonLat
-
- All Implemented Interfaces:
Serializable,Value
public class SphericalMercatorLonLat extends LonLat
Provides a Spherical Mercator coordinate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SphericalMercatorLonLat(double lng, double lat)Creates a new instance.SphericalMercatorLonLat(double lng, double lat, String targetProjection)Creates a new instance. when added to a map, it will be transformed onto the supplied projection.SphericalMercatorLonLat(com.vividsolutions.jts.geom.Point point)Creates a new instance.SphericalMercatorLonLat(com.vividsolutions.jts.geom.Point point, String targetProjection)Creates a new instance.
-
-
-
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 Longitudelat- 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 Longitudelat- Spherical Mercator LatitudetargetProjection- 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 coordinatetargetProjection- The target projection for the coordinate
-
-