[android] add source_did_change event to intdef list
This commit is contained in:
committed by
Ivo van Dongen
parent
4d747d3e5e
commit
74a7a5a0d4
@@ -2547,7 +2547,8 @@ public class MapView extends FrameLayout {
|
||||
WILL_START_RENDERING_MAP,
|
||||
DID_FINISH_RENDERING_MAP,
|
||||
DID_FINISH_RENDERING_MAP_FULLY_RENDERED,
|
||||
DID_FINISH_LOADING_STYLE
|
||||
DID_FINISH_LOADING_STYLE,
|
||||
SOURCE_DID_CHANGE
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface MapChange {
|
||||
@@ -2723,6 +2724,18 @@ public class MapView extends FrameLayout {
|
||||
*/
|
||||
public static final int DID_FINISH_LOADING_STYLE = 14;
|
||||
|
||||
|
||||
/**
|
||||
* This {@link MapChange} is triggered when a source attribution changes.
|
||||
* <p>
|
||||
* Register to {@link MapChange} events with {@link MapView#addOnMapChangedListener(OnMapChangedListener)}.
|
||||
* </p>
|
||||
*
|
||||
* @see MapChange
|
||||
* @see MapView.OnMapChangedListener
|
||||
*/
|
||||
public static final int SOURCE_DID_CHANGE = 15;
|
||||
|
||||
/**
|
||||
* Interface definition for a callback to be invoked when the displayed map view changes.
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user