org.wicketstuff.openlayers.api
Class SphericalMercatorLonLat

java.lang.Object
  extended by org.wicketstuff.openlayers.api.LonLat
      extended by 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
SphericalMercatorLonLat(double lng, double lat)
          Creates a new instance.
SphericalMercatorLonLat(double lng, double lat, String targetProjection)
          Creates a new instance.
SphericalMercatorLonLat(com.vividsolutions.jts.geom.Point point)
          Creates a new instance.
SphericalMercatorLonLat(com.vividsolutions.jts.geom.Point point, String targetProjection)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class org.wicketstuff.openlayers.api.LonLat
equals, getJSconstructor, getLat, getLng, getPoint, hashCode, parse, parseWithNames, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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


Copyright © 2008–2018. All rights reserved.