Package 

Class MarkerViewManager

  • All Implemented Interfaces:
    org.maplibre.android.maps.MapView.OnCameraDidChangeListener , org.maplibre.android.maps.MapView.OnCameraIsChangingListener

    
    public class MarkerViewManager
     implements MapView.OnCameraDidChangeListener, MapView.OnCameraIsChangingListener
                        

    Class responsible for synchronising views at a LatLng on top of a Map.

    • Constructor Summary

      Constructors 
      Constructor Description
      MarkerViewManager(MapView mapView, MapLibreMap maplibreMap) Create a MarkerViewManager.
    • Method Summary

      Modifier and Type Method Description
      void onDestroy() Destroys the MarkerViewManager.
      void addMarker(@NonNull() MarkerView markerView) Add a MarkerView to the map using MarkerView and LatLng.
      void removeMarker(@NonNull() MarkerView markerView) Remove an existing markerView from the map.
      void onCameraDidChange(boolean animated)
      void onCameraIsChanging()
      • Methods inherited from class org.maplibre.android.maps.MapView.OnCameraDidChangeListener

        onCameraDidChange
      • Methods inherited from class org.maplibre.android.maps.MapView.OnCameraIsChangingListener

        onCameraIsChanging
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MarkerViewManager

        MarkerViewManager(MapView mapView, MapLibreMap maplibreMap)
        Create a MarkerViewManager.
        Parameters:
        mapView - the MapView used to synchronise views on
        maplibreMap - the MapboxMap to synchronise views with