Page Summary
-
PointOfIntereststores information about a clicked Point of Interest (POI) on a map. -
It includes the POI's LatLng location, name, and placeId.
-
You can create a
PointOfInterestinstance using its constructor with the LatLng, placeId, and name. -
PointOfInterestobjects can be written to a Parcel for data transfer.
Contains information about a PointOfInterest that was clicked on.
Inherited Constant Summary
Field Summary
| public final LatLng | latLng | The LatLng of the POI. |
| public final String | name | The name of the POI. |
| public final String | placeId | The placeId of the POI. |
Public Constructor Summary
Public Method Summary
| void |
writeToParcel(Parcel out, int flags)
|
Inherited Method Summary
Fields
public final String name
The name of the POI.
public final String placeId
The placeId of the POI.
Public Constructors
public PointOfInterest (LatLng latLng, String placeId, String name)
Constructs a PointOfInterest.
Parameters
| latLng | the LatLng of the POI. |
|---|---|
| placeId | the placeId of the POI. |
| name | the name of the POI. |
Public Methods
public void writeToParcel (Parcel out, int flags)
Parameters
| out | |
|---|---|
| flags |