com.google.maps.gwt.client
Class GeocoderResult

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.GeocoderResult

public class GeocoderResult
extends JavaScriptObject

A single geocoder result retrieved from the geocode server. A geocode request may return multiple result objects. Note that though this result is "JSON-like," it is not strictly JSON, as it indirectly includes a LatLng object. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected GeocoderResult()
          Protected constructor avoids default public constructor.
 
Method Summary
static GeocoderResult create()
           
  getAddressComponents()
          An array of GeocoderAddressComponent s
 java.lang.String getFormattedAddress()
          A string containing the human-readable address of this location.
 GeocoderGeometry getGeometry()
          A GeocoderGeometry object
 JsArrayString getTypes()
          An array of strings denoting the type of the returned geocoded element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeocoderResult

protected GeocoderResult()
Protected constructor avoids default public constructor.

Method Detail

create

public static final GeocoderResult create()

getAddressComponents

public final  getAddressComponents()
An array of GeocoderAddressComponent s


getFormattedAddress

public final java.lang.String getFormattedAddress()
A string containing the human-readable address of this location.


getGeometry

public final GeocoderGeometry getGeometry()
A GeocoderGeometry object


getTypes

public final JsArrayString getTypes()
An array of strings denoting the type of the returned geocoded element. For a list of possible strings, refer to the Address Component Types section of the Developer's Guide.