com.google.maps.gwt.client
Class Projection

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.Projection

public class Projection
extends JavaScriptObject

THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected Projection()
          Protected constructor avoids default public constructor.
 
Method Summary
 Point fromLatLngToPoint(LatLng latLng)
          Translates from the LatLng cylinder to the Point plane.
 Point fromLatLngToPoint(LatLng latLng, Point point)
          Translates from the LatLng cylinder to the Point plane.
 LatLng fromPointToLatLng(Point pixel)
          This interface specifies a function which implements translation from world coordinates on a map projection to LatLng values.
 LatLng fromPointToLatLng(Point pixel, boolean nowrap)
          This interface specifies a function which implements translation from world coordinates on a map projection to LatLng values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Projection

protected Projection()
Protected constructor avoids default public constructor.

Method Detail

fromLatLngToPoint

public final Point fromLatLngToPoint(LatLng latLng,
                                     Point point)
Translates from the LatLng cylinder to the Point plane. This interface specifies a function which implements translation from given LatLng values to world coordinates on the map projection. The Maps API calls this method when it needs to plot locations on screen. Projection objects must implement this method.


fromLatLngToPoint

public final Point fromLatLngToPoint(LatLng latLng)
Translates from the LatLng cylinder to the Point plane. This interface specifies a function which implements translation from given LatLng values to world coordinates on the map projection. The Maps API calls this method when it needs to plot locations on screen. Projection objects must implement this method.


fromPointToLatLng

public final LatLng fromPointToLatLng(Point pixel,
                                      boolean nowrap)
This interface specifies a function which implements translation from world coordinates on a map projection to LatLng values. The Maps API calls this method when it needs to translate actions on screen to positions on the map. Projection objects must implement this method.


fromPointToLatLng

public final LatLng fromPointToLatLng(Point pixel)
This interface specifies a function which implements translation from world coordinates on a map projection to LatLng values. The Maps API calls this method when it needs to translate actions on screen to positions on the map. Projection objects must implement this method.