Package com.google.maps.model
Class Geometry
- java.lang.Object
-
- com.google.maps.model.Geometry
-
- All Implemented Interfaces:
java.io.Serializable
public class Geometry extends java.lang.Object implements java.io.Serializable
The geometry of a Geocoding result.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Bounds
bounds
The bounding box which can fully contain the returned result (optionally returned).LatLng
location
The geocoded latitude/longitude value.LocationType
locationType
The level of certainty of this geocoding result.Bounds
viewport
The recommended viewport for displaying the returned result.
-
Constructor Summary
Constructors Constructor Description Geometry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
bounds
public Bounds bounds
The bounding box which can fully contain the returned result (optionally returned). 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.)
-
location
public LatLng location
The geocoded latitude/longitude value. For normal address lookups, this field is typically the most important.
-
locationType
public LocationType locationType
The level of certainty of this geocoding result.
-
viewport
public Bounds viewport
The recommended viewport for displaying the returned result. Generally the viewport is used to frame a result when displaying it to a user.
-
-