Follow us on GitHub

com.google.gwt.maps.client.placeslib
Class PlaceGeometry

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.placeslib.PlaceGeometry

public class PlaceGeometry
extends JavaScriptObject

Defines information about the geometry of a Place.

See PlaceGeometry API Doc


Constructor Summary
protected PlaceGeometry()
          use newInstance();
 
Method Summary
 LatLng getLocation()
          The Place's position.
 LatLngBounds getViewPort()
          The preferred viewport when displaying this Place on a map.
static PlaceGeometry newInstance()
          Defines information about the geometry of a Place.
 void setLocation(LatLng location)
          The Place's position.
 void setViewPort(LatLngBounds viewport)
          The preferred viewport when displaying this Place on a map.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaceGeometry

protected PlaceGeometry()
use newInstance();

Method Detail

newInstance

public static final PlaceGeometry newInstance()
Defines information about the geometry of a Place.


setLocation

public final void setLocation(LatLng location)
The Place's position.

Parameters:
location -

getLocation

public final LatLng getLocation()
The Place's position.


setViewPort

public final void setViewPort(LatLngBounds viewport)
The preferred viewport when displaying this Place on a map. This property will be null if the preferred viewport for the Place is not known.

Parameters:
viewport -

getViewPort

public final LatLngBounds getViewPort()
The preferred viewport when displaying this Place on a map. This property will be null if the preferred viewport for the Place is not known.



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.