public final class

PointOfInterest

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.maps.model.PointOfInterest

Class Overview

Contains information about a PointOfInterest that was clicked on.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
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 Constructors
PointOfInterest(LatLng latLng, String placeId, String name)
Constructs a PointOfInterest.
Public Methods
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

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 Constructors

public PointOfInterest (LatLng latLng, String placeId, String name)

Constructs a PointOfInterest.

Parameters
latLng LatLng: the LatLng of the POI.
placeId String: the placeId of the POI.
name String: the name of the POI.

Public Methods

public void writeToParcel (Parcel out, int flags)

Parameters
out Parcel
flags int