|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.placeslib.PlaceSearchRequest
public class PlaceSearchRequest
A Place search query to be sent to the PlacesService.
See PlaceSearchRequest API Doc
| Constructor Summary | |
|---|---|
protected |
PlaceSearchRequest()
use newInstance(); |
| Method Summary | |
|---|---|
LatLngBounds |
getBounds()
The bounds within which to search for Places. |
String |
getKeyword()
A term to be matched against all available fields, including but not limited to name, type, and address, as well as customer reviews and other third-party content. |
LatLng |
getLocation()
The location around which to search for Places. |
String |
getName()
Restricts the Place search results to Places that include this text in the name. |
double |
getRaidus()
The distance from the given location within which to search for Places, in meters. |
AutocompleteType[] |
getTypes()
Restricts the Place search results to Places with a type matching at least one of the specified types in this array. |
static PlaceSearchRequest |
newInstance()
A Place search query to be sent to the PlacesService. |
void |
setBounds(LatLngBounds bounds)
The bounds within which to search for Places. |
void |
setKeyword(String keyword)
A term to be matched against all available fields, including but not limited to name, type, and address, as well as customer reviews and other third-party content. |
void |
setLocation(LatLng location)
The location around which to search for Places. |
void |
setName(String name)
Restricts the Place search results to Places that include this text in the name. |
void |
setRaidus(double radius)
The distance from the given location within which to search for Places, in meters. |
void |
setTypes(AutocompleteType... types)
Restricts the Place search results to Places with a type matching at least one of the specified types in this array. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PlaceSearchRequest()
| Method Detail |
|---|
public static final PlaceSearchRequest newInstance()
public final void setBounds(LatLngBounds bounds)
bounds - public final LatLngBounds getBounds()
public final void setKeyword(String keyword)
keyword - public final String getKeyword()
public final void setLocation(LatLng location)
location - public final LatLng getLocation()
public final void setName(String name)
name - public final String getName()
public final void setRaidus(double radius)
radius - public final double getRaidus()
public final void setTypes(AutocompleteType... types)
types - public final AutocompleteType[] getTypes()
|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||