Select platform: [Android](https://developers.google.com/maps/documentation/android-sdk/poi.md.txt "View this page for the Android platform docs.") [iOS](https://developers.google.com/maps/documentation/ios-sdk/poi.md.txt "View this page for the iOS platform docs.") [JavaScript](https://developers.google.com/maps/documentation/javascript/examples/event-poi.md.txt "View this page for the JavaScript platform docs.")

<br />

By default, points of interest (POIs) appear on the base map along with their
corresponding icons. POIs include parks, schools, government buildings, and
more.

In addition, *business* POIs appear by default on the map when the map type is
`normal`. Business POIs represent businesses such as shops, restaurants, hotels,
and more. Business POIs on [indoor maps (floor plans)](https://developers.google.com/maps/documentation/android-sdk/map.md.txt#indoor) appear only on a
[lite mode](https://developers.google.com/maps/documentation/android-sdk/lite.md.txt) map.

A POI corresponds to a [Place ID](https://developers.google.com/maps/documentation/places/android-sdk/place-id.md.txt), as defined in the
Places SDK for Android. For example, recreational parks are POIs, but
things like water fountains are generally not POIs (unless they're of national
or historic significance).

## Listen for click events on POIs

If you want to respond to a user tapping on a POI, you can use an
[`OnPoiClickListener`](https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnPoiClickListener.md.txt) as shown in the following code
sample:


### Kotlin

```kotlin
map.setOnPoiClickListener { poi ->
    Toast.makeText(
        context,
        """Clicked: ${poi.name}
        Place ID:${poi.placeId}
        Latitude:${poi.latLng.latitude} Longitude:${poi.latLng.longitude}""",
        Toast.LENGTH_SHORT,
    ).show()
}

      
```

### Java

```java
map.setOnPoiClickListener(
        new GoogleMap.OnPoiClickListener() {
            @Override
            public void onPoiClick(PointOfInterest poi) {
                Toast.makeText(
                                context,
                                "Clicked: "
                                        + poi.name
                                        + "\nPlace ID:"
                                        + poi.placeId
                                        + "\nLatitude:"
                                        + poi.latLng.latitude
                                        + " Longitude:"
                                        + poi.latLng.longitude,
                                Toast.LENGTH_SHORT)
                        .show();
            }
        });

      
```

<br />

POIs appear on the map by default, but there is no default on-click UI. That is,
the API does not automatically display an info window or any other user
interface when the user taps a POI.

As the above sample shows, you set the
[`OnPoiClickListener`](https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnPoiClickListener.md.txt) on the map by
calling
[`GoogleMap.setOnPoiClickListener(OnPoiClickListener)`](https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.md.txt#setOnPoiClickListener(com.google.android.gms.maps.GoogleMap.OnPoiClickListener)).
When a user clicks (taps) on a POI, your app receives an
[`OnPoiClick(PointOfInterest)`](https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnPoiClickListener.md.txt#onPoiClick(com.google.android.gms.maps.model.PointOfInterest)) event
indicating the point of interest (POI) that the user clicked. The
[`PointOfInterest`](https://developers.google.com/android/reference/com/google/android/gms/maps/model/PointOfInterest.md.txt) contains the latitude/longitude coordinates,
place ID and name of the point of interest.

## Stop POIs from showing on the map

You can hide points of interest (POIs) by applying custom styles to all POIs or
to specific categories of POIs.

The following JSON style declaration hides all business POIs on the map:

    [
      {
        "featureType": "poi.business",
        "stylers": [
          { "visibility": "off" }
        ]
      }
    ]

As another example, the following JSON simplifies the display of all categories
of POIs:

    [
      {
        "featureType": "poi",
        "stylers": [
          { "visibility": "simplified" }
        ]
      }
    ]

For Java code and other details, see the guide to
[hiding map features with styling](https://developers.google.com/maps/documentation/android-sdk/hiding-features.md.txt).