com.maryanovsky.map.client.osm
Class OsmMercatorProjection

java.lang.Object
  extended by com.maryanovsky.map.client.projections.AbstractProjection
      extended by com.maryanovsky.map.client.projections.MercatorProjection
          extended by com.maryanovsky.map.client.osm.OsmMercatorProjection
All Implemented Interfaces:
Projection

public class OsmMercatorProjection
extends MercatorProjection

Implements the projection used by OpenStreetMaps.org, which is a variant of the mercator projection.

Author:
Maryanovsky Alexander

Field Summary
static OsmMercatorProjection INSTANCE
          The sole instance.
 
Fields inherited from class com.maryanovsky.map.client.projections.AbstractProjection
longitudeWraps, nativeZoom, worldHeight, worldWidth, zoomStrategy
 
Constructor Summary
OsmMercatorProjection()
          Creates a new OsmMercatorProjection.
 
Method Summary
 
Methods inherited from class com.maryanovsky.map.client.projections.MercatorProjection
fromLatLngToPixelImpl, fromPixelToLatLngImpl
 
Methods inherited from class com.maryanovsky.map.client.projections.AbstractProjection
fromLatLngToPixel, fromPixelToLatLng, getWrapSize, getWrapSizeImpl, getZoomMagnification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final OsmMercatorProjection INSTANCE
The sole instance.

Constructor Detail

OsmMercatorProjection

public OsmMercatorProjection()
Creates a new OsmMercatorProjection.