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

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

public class PlaceSearchRequest
extends JavaScriptObject

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

PlaceSearchRequest

protected PlaceSearchRequest()
Protected constructor avoids default public constructor.

Method Detail

create

public static final PlaceSearchRequest create()

setBounds

public final void setBounds(LatLngBounds bounds)
The bounds within which to search for Places. Both location and radius will be ignored if bounds is set.


setKeyword

public final 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.


setLocation

public final void setLocation(LatLng location)
The location around which to search for Places.


setName

public final void setName(java.lang.String name)
Restricts the Place search results to Places that include this text in the name.


setRadius

public final void setRadius(double radius)
The distance from the given location within which to search for Places, in meters. The maximum allowed value is 50 000.


setTypes

public final 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. Valid types are given here.