com.google.gwt.maps.client.placeslib
Class TextSearchRequest

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.placeslib.TextSearchRequest

public class TextSearchRequest
extends JavaScriptObject


Constructor Summary
protected TextSearchRequest()
           
 
Method Summary
 LatLngBounds getBounds()
          The bounds within which to search for Places.
 LatLng getLocation()
          The location around which to search for Places.
 String getQuery()
          The request's query term.
 double getRadius()
          The radius of the area used to bias results when searching for Places, in meters.
static TextSearchRequest newInstance()
           
 void setBounds(LatLngBounds bounds)
          The bounds within which to search for Places.
 void setLocation(LatLng location)
          The location around which to search for Places.
 void setQuery(String query)
          The request's query term.
 void setRadius(double radius)
          The radius of the area used to bias results when searching for Places, in meters.
 
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

TextSearchRequest

protected TextSearchRequest()
Method Detail

newInstance

public static final TextSearchRequest newInstance()

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.

Parameters:
bounds -

getBounds

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


setLocation

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

Parameters:
location -

getLocation

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


setQuery

public final void setQuery(String query)
The request's query term. e.g. the name of a place ('Eiffel Tower'), a category followed by the name of a location ('pizza in New York'), or the name of a place followed by a location disambiguator ('Starbucks in Sydney').


getQuery

public final String getQuery()
The request's query term. e.g. the name of a place ('Eiffel Tower'), a category followed by the name of a location ('pizza in New York'), or the name of a place followed by a location disambiguator ('Starbucks in Sydney').


setRadius

public final void setRadius(double radius)
The radius of the area used to bias results when searching for Places, in meters.


getRadius

public final double getRadius()
The radius of the area used to bias results when searching for Places, in meters.



Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.