Follow us on GitHub

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

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

public class PlacesService
extends JavaScriptObject

Contains methods related to searching for Places and retrieving details about a Place.

See PlaceSearchRequest API Doc


Constructor Summary
protected PlacesService()
          use newInstance();
 
Method Summary
 void getDetails(PlaceDetailsRequest request, PlaceDetailsHandler handler)
          Retrieves details about the Place identified by the given reference.
static PlacesService newInstance(Element attrContainer, MapWidget mapWidget)
          Contains methods related to searching for Places and retrieving details about a Place.
 void search(PlaceSearchRequest request, PlaceSearchHandler handler)
          Retrieves a list of Places in a given area.
 
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

PlacesService

protected PlacesService()
use newInstance();

Method Detail

newInstance

public static final PlacesService newInstance(Element attrContainer,
                                              MapWidget mapWidget)
Contains methods related to searching for Places and retrieving details about a Place.

Parameters:
attrContainer -
mapWidget -

getDetails

public final void getDetails(PlaceDetailsRequest request,
                             PlaceDetailsHandler handler)
Retrieves details about the Place identified by the given reference.

Parameters:
request -
handler -

search

public final void search(PlaceSearchRequest request,
                         PlaceSearchHandler handler)
Retrieves a list of Places in a given area. The PlaceResultss passed to the callback are stripped-down versions of a full PlaceResult. A more detailed PlaceResult for each Place can be obtained by sending a Place Details request with the desired Place's reference value.

Parameters:
request -
handler -


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.