public class PlaceGeometry extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
PlaceGeometry()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
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.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final PlaceGeometry newInstance()
public final void setLocation(LatLng location)
location
- public final LatLng getLocation()
public final void setViewPort(LatLngBounds viewport)
viewport
- public final LatLngBounds getViewPort()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.