com.bbn.openmap.proj.coords
Class MercatorUVGCT
java.lang.Object
com.bbn.openmap.MapHandlerChild
com.bbn.openmap.OMComponent
com.bbn.openmap.proj.coords.AbstractGCT
com.bbn.openmap.proj.coords.MercatorUVGCT
- All Implemented Interfaces:
- LightMapHandlerChild, GeoCoordTransformation, PropertyConsumer, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextMembershipListener, java.util.EventListener
- Direct Known Subclasses:
- MercatorUVGCT.OSM, MercatorUVGCT.TMS
public abstract class MercatorUVGCT
- extends AbstractGCT
- implements GeoCoordTransformation
Convert between mercator uv coordinates that are used for map tiles and
lat/lon degrees. Setting the zoom level sets the number of expected pixels in
the Mercator uv projection in both directions.
Methods inherited from class com.bbn.openmap.MapHandlerChild |
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MercatorUVGCT
protected MercatorUVGCT(int zoomLevel)
forward
public abstract java.awt.geom.Point2D forward(double lat,
double lon,
java.awt.geom.Point2D ret)
- Specified by:
forward
in interface GeoCoordTransformation
- Specified by:
forward
in class AbstractGCT
inverse
public abstract LatLonPoint inverse(double uvx,
double uvy,
LatLonPoint ret)
- Specified by:
inverse
in interface GeoCoordTransformation
- Specified by:
inverse
in class AbstractGCT
getZoomLevel
public int getZoomLevel()
setZoomLevel
public void setZoomLevel(int zoomLevel)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details