com.google.gwt.maps.client.maptypes
Class Projection
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.maptypes.Projection
public class Projection
- extends JavaScriptObject
Map Projection Util relating to screen
See Projection API Doc
|
Constructor Summary |
protected |
Projection()
use newInstance(); |
Projection
protected Projection()
- use newInstance();
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.
- Parameters:
latlng - LatLngpoint - Point
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.
- Parameters:
pixel - Pointnowrap -
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.