Interface UserLocationObjectListener
Package world.mappable.mapkit.user_location
interface UserLocationObjectListener
User location events object listener.
Use it to customize the user location view. Although some callbacks are unused, the generic structure of the interface is suitable for object layer listeners.
Summary
Methods
Type and modifiers |
Method and Description |
void |
onObjectAdded(@NonNull UserLocationView view) |
void |
onObjectRemoved(@NonNull UserLocationView view) |
void |
onObjectUpdated(@NonNull UserLocationView view, |
Methods
onObjectAdded
@UiThread |
Called when the layer object is added.
It is called once when the user location icon appears the first time.
onObjectRemoved
@UiThread |
Called when the layer object is being removed.
It is never called for the user location icon.
onObjectUpdated
@UiThread |
Called when the layer object is being updated.
The 'event' parameter can be one of the derived types.