Class Geometry
- Namespace
- GoogleMapsApi.Entities.Geocoding.Response
- Assembly
- GoogleMapsApi.dll
[DataContract]
public class Geometry
- Inheritance
-
Geometry
- Inherited Members
Properties
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.)
[DataMember(Name = "bounds")]
public FramedLocation Bounds { get; set; }
Property Value
Location
location contains the geocoded latitude,longitude value. For normal address lookups, this field is typically the most important.
[DataMember(Name = "location")]
public Location Location { get; set; }
Property Value
LocationType
location_type stores additional data about the specified location.
public GeocodeLocationType LocationType { get; set; }
Property Value
ViewPort
viewport contains the recommended viewport for displaying the returned result, specified as two latitude,longitude values defining the southwest and northeast corner of the viewport bounding box. Generally the viewport is used to frame a result when displaying it to a user.
[DataMember(Name = "viewport")]
public FramedLocation ViewPort { get; set; }