public class Geometry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Bounds |
bounds
bounds (optionally returned) stores the bounding box which can fully contain the
returned result. |
LatLng |
location
location contains the geocoded latitude,longitude value. |
LocationType |
locationType
The level of certainty of this geocoding result.
|
Bounds |
viewport
viewport contains the recommended viewport for displaying the returned result. |
Constructor and Description |
---|
Geometry() |
public Bounds bounds
bounds
(optionally returned) stores the bounding box which can fully contain the
returned result. Note that these bounds may not match the recommended viewport. (For example,
San Francisco includes the Farallon islands, which are technically part of the city, but
probably should not be returned in the viewport.)public LatLng location
location
contains the geocoded latitude,longitude
value. For normal address
lookups, this field is typically the most important.public LocationType locationType
public Bounds viewport
viewport
contains the recommended viewport for displaying the returned result.
Generally the viewport is used to frame a result when displaying it to a user.