com.google.maps.gwt.client.places
Class AutocompleteOptions

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

public class AutocompleteOptions
extends JavaScriptObject

The options that can be set on an Autocomplete object. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected AutocompleteOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static AutocompleteOptions create()
           
 void setBounds(LatLngBounds bounds)
          The area in which to search for places.
 void setTypes(JsArrayString types)
          The types of predictions to be returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutocompleteOptions

protected AutocompleteOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final AutocompleteOptions create()

setBounds

public final void setBounds(LatLngBounds bounds)
The area in which to search for places. Results are biased towards, but not restricted to, places contained within these bounds.


setTypes

public final void setTypes(JsArrayString types)
The types of predictions to be returned. Supported types are ' establishment ' for businesses and ' geocode ' for addresses. If neither is specified, both types are returned.