|
|||||||||
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.PlaceResult
public class PlaceResult
Defines information about a Place. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
PlaceResult()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static PlaceResult |
create()
|
|
getAddressComponents()
The collection of address components for this Place's location. |
java.lang.String |
getFormattedAddress()
The Place's full address. |
java.lang.String |
getFormattedPhoneNumber()
The Place's phone number, formatted according to the number's regional convention. |
PlaceGeometry |
getGeometry()
The Place's geometry-related information. |
java.lang.String |
getHtmlAttributions()
Attribution text to be displayed for this Place result. |
java.lang.String |
getIcon()
URL to an image resource that can be used to represent this Place's category. |
java.lang.String |
getId()
A unique identifier denoting this Place. |
java.lang.String |
getInternationalPhoneNumber()
The Place's phone number in international format. |
java.lang.String |
getName()
The Place's name. |
double |
getRating()
The Place's rating, from 0.0 to 5.0, based on user reviews. |
java.lang.String |
getReference()
An opaque string that may be used to retrieve up-to-date information about this Place (via
PlacesService.getDetails()
). |
JsArrayString |
getTypes()
An array of types for this Place (e.g., ["political",
"locality"]
or
["restaurant", "establishment"]
). |
java.lang.String |
getUrl()
URL of the associated Google Place Page. |
java.lang.String |
getVicinity()
A fragment of the Place's address for disambiguation (usually street name and locality). |
java.lang.String |
getWebsite()
The authoritative website for this Place, such as a business' homepage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PlaceResult()
Method Detail |
---|
public static final PlaceResult create()
public finalgetAddressComponents()
public final java.lang.String getFormattedAddress()
public final java.lang.String getFormattedPhoneNumber()
public final PlaceGeometry getGeometry()
public final java.lang.String getHtmlAttributions()
public final java.lang.String getIcon()
public final java.lang.String getId()
id
s can occasionally change, it is recommended that the stored
id
for a Place be compared with the
id
returned in later Details requests for the same Place, and updated if necessary.
public final java.lang.String getInternationalPhoneNumber()
public final java.lang.String getName()
public final double getRating()
public final java.lang.String getReference()
PlacesService.getDetails()
).
reference
contains a unique token that you can use to retrieve additional
information about this Place in a Place Details request. You can
store this token and use it at any time in future to refresh cached
data about this Place, but the same token is not guaranteed to be
returned for any given Place across different searches.
public final JsArrayString getTypes()
["political",
"locality"]
or
["restaurant", "establishment"]
).
public final java.lang.String getUrl()
public final java.lang.String getVicinity()
public final java.lang.String getWebsite()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |