Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsGoogleGeocodingResult Class Reference

Result of Google Maps Geocode query. More...

Classes

class  AddressComponent
 Address Component of Google Geocoder response. More...
 

Public Member Functions

 OnlineMapsGoogleGeocodingResult (OnlineMapsXML node)
 Constructor of OnlineMapsGoogleGeocodingResult.
 

Public Attributes

AddressComponent[] address_components
 Array containing the separate address components.
 
string[] types
 Array indicates the type of the returned result.
This array contains a set of zero or more tags identifying the type of feature returned in the result.
For example, a geocode of "Chicago" returns "locality" which indicates that "Chicago" is a city, and also returns "political" which indicates it is a political entity.
 
string formatted_address
 String containing the human-readable address of this location.
Often this address is equivalent to the "postal address," which sometimes differs from country to country.
(Note that some countries, such as the United Kingdom, do not allow distribution of true postal addresses due to licensing restrictions.)
This address is generally composed of one or more address components.
For example, the address "111 8th Avenue, New York, NY" contains separate address components for "111" (the street number, "8th Avenue" (the route), "New York" (the city) and "NY" (the US state).
 
string[] postcode_localities
 Array denoting all the localities contained in a postal code.
This is only present when the result is a postal code that contains multiple localities.
 
Vector2 geometry_location
 Geocoded latitude,longitude value.
 
string geometry_location_type
 Additional data about the specified location.
 
Vector2 geometry_viewport_northeast
 Recommended viewport for displaying the returned result, specified as latitude,longitude values defining the northeast corner of the viewport bounding box.
Generally the viewport is used to frame a result when displaying it to a user.
 
Vector2 geometry_viewport_southwest
 Recommended viewport for displaying the returned result, specified as latitude,longitude values defining the southwest corner of the viewport bounding box.
Generally the viewport is used to frame a result when displaying it to a user.
 
string place_id
 Unique identifier that can be used with other Google APIs.
 
Vector2 geometry_bounds_northeast
 (optionally returned)
Stores latitude,longitude values defining the northeast corner the bounding box which can fully contain the returned result.
Note that these bounds may not match the recommended viewport.
 
Vector2 geometry_bounds_southwest
 (optionally returned)
Stores latitude,longitude values defining the southwest corner the bounding box which can fully contain the returned result.
Note that these bounds may not match the recommended viewport.
 
bool partial_match
 Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address.
You may wish to examine the original request for misspellings and/or an incomplete address.
 

Detailed Description

Result of Google Maps Geocode query.

Constructor & Destructor Documentation

◆ OnlineMapsGoogleGeocodingResult()

OnlineMapsGoogleGeocodingResult.OnlineMapsGoogleGeocodingResult ( OnlineMapsXML node)

Constructor of OnlineMapsGoogleGeocodingResult.

Parameters
nodeLocation node from response