|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.places.PlaceSearchRequest
public class PlaceSearchRequest
A Place search query to be sent to the
PlacesService
.
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
PlaceSearchRequest()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static PlaceSearchRequest |
create()
|
void |
setBounds(LatLngBounds bounds)
The bounds within which to search for Places. |
void |
setKeyword(java.lang.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(java.lang.String name)
Restricts the Place search results to Places that include this text in the name. |
void |
setRadius(double radius)
The distance from the given location within which to search for Places, in meters. |
void |
setTypes(JsArrayString 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PlaceSearchRequest()
Method Detail |
---|
public static final PlaceSearchRequest create()
public final void setBounds(LatLngBounds bounds)
location
and
radius
will be ignored if
bounds
is set.
public final void setKeyword(java.lang.String keyword)
public final void setLocation(LatLng location)
public final void setName(java.lang.String name)
public final void setRadius(double radius)
public final void setTypes(JsArrayString types)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |