public class AutocompletionRequest extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
AutocompletionRequest()
use newInstance();
|
| Modifier and Type | Method and Description |
|---|---|
LatLngBounds |
getBounds()
The bounds within which to search.
|
String |
getInput()
The user's entered input string
|
LatLng |
getLocation()
The location around which to search.
|
double |
getRadius()
The distance from the given location within which to search for Places, in meters.
|
AutocompleteType[] |
getTypes()
Restricts the Autocompletion search results to Places with a type matching at least one of the specified types in this
array.
|
static AutocompletionRequest |
newInstance()
An Autocompletion query to be sent to the AutocompleteService
|
void |
setBounds(LatLngBounds bounds)
The bounds within which to search.
|
void |
setKeyword(String input)
The user's entered input string
|
void |
setLocation(LatLng location)
The location around which to search.
|
void |
setRadius(double radius)
The distance from the given location within which to search, in meters.
|
void |
setTypes(AutocompleteType... types)
Restricts the Autocompletion search results to Places with a type matching at least one of the specified types
in this array.
|
void |
setTypes(JsArrayString types) |
void |
setTypes(List<String> types) |
void |
setTypes(String... types) |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static final AutocompletionRequest newInstance()
public final void setBounds(LatLngBounds bounds)
bounds - public final LatLngBounds getBounds()
public final void setKeyword(String input)
input - public final String getInput()
public final void setLocation(LatLng location)
location - public final LatLng getLocation()
public final void setRadius(double radius)
radius - public final double getRadius()
public final void setTypes(AutocompleteType... types)
types - public final void setTypes(String... types)
public final void setTypes(JsArrayString types)
public final AutocompleteType[] getTypes()
Copyright © 2011-2014 GWT Maps API V3. All Rights Reserved.