|
|||||||||
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.PlacesService
public class PlacesService
Contains methods related to searching for Places and retrieving details about a Place. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Nested Class Summary | |
---|---|
static interface |
PlacesService.Callback
Callback type for handling asynchronous responses from search. |
static interface |
PlacesService.GetDetailsCallback
Callback type for handling asynchronous responses from getDetails. |
Constructor Summary | |
---|---|
protected |
PlacesService()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static PlacesService |
create(DivElement attrContainer)
Creates a new instance of the PlacesService
that renders attributions in the specified container. |
void |
getDetails(PlaceDetailsRequest request,
PlacesService.GetDetailsCallback callback)
Retrieves details about the Place identified by the given reference. |
void |
search(PlaceSearchRequest request,
PlacesService.Callback callback)
Retrieves a list of Places in a given area. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PlacesService()
Method Detail |
---|
public static PlacesService create(DivElement attrContainer)
PlacesService
that renders attributions in the specified container.
public final void getDetails(PlaceDetailsRequest request, PlacesService.GetDetailsCallback callback)
public final void search(PlaceSearchRequest request, PlacesService.Callback callback)
PlaceResult
s 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |