public class PlacesService extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
PlacesService()
use newInstance();
|
| Modifier and Type | Method and Description |
|---|---|
void |
getDetails(PlaceDetailsRequest request,
PlaceDetailsHandler handler)
Retrieves details about the Place identified by the given reference.
|
static PlacesService |
newInstance(Element htmlDivElement)
Creates a new instance of the PlacesService that renders attributions in the specified container.
|
static PlacesService |
newInstance(MapWidget mapWidget)
Creates a new instance of the PlacesService that renders attributions in the specified container.
|
void |
search(PlaceSearchRequest request,
PlaceSearchHandler handler)
Retrieves a list of Places in a given area.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static final PlacesService newInstance(MapWidget mapWidget)
attrContainer - mapWidget - public static final PlacesService newInstance(Element htmlDivElement)
htmlDivElement - public final void getDetails(PlaceDetailsRequest request, PlaceDetailsHandler handler)
request - handler - public final void search(PlaceSearchRequest request, PlaceSearchHandler handler)
request - handler - Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.