Interface CameraChangeListener


public interface CameraChangeListener
Receives camera movement notifications from a MapSurface. Register with MapSurface.addCameraChangeListener(CameraChangeListener).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked on the EDT after the camera settles at a new position, whether from a programmatic move or a user pan/zoom gesture.
  • Method Details

    • cameraChanged

      void cameraChanged(MapSurface map, CameraPosition position)

      Invoked on the EDT after the camera settles at a new position, whether from a programmatic move or a user pan/zoom gesture.

      Parameters
      • map: the surface whose camera moved

      • position: the new camera position