summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/OnLocationClickListener.java
blob: fdd2aeb8110c04b6fea7a4461178ad8df57a672b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.mapbox.mapboxsdk.location;

/**
 * The Location Component exposes an API for listening to when the user clicks on the location
 * layer icon visible on the map. When this event occurs, the {@link #onLocationComponentClick()} method
 * gets invoked.
 */
public interface OnLocationClickListener {

  /**
   * Called whenever user clicks on the location layer drawn on the map.
   */
  void onLocationComponentClick();
}