Interface WithFullScreenControl


public interface WithFullScreenControl
Exposes the fullscreen control API, allowing listeners to be notified when the map enters or exits fullscreen mode and the fullscreen state to be toggled.
  • Method Details

    • onEnterFullscreen

      void onEnterFullscreen(LeafletEventListener<LeafletEvent> listener)
      Fired when map entered to full screen mode
      Parameters:
      listener - the listener to call when the event occurs, not null
    • onExitFullscreen

      void onExitFullscreen(LeafletEventListener<LeafletEvent> listener)
      Fired when map exited from full screen mode
      Parameters:
      listener - the listener to call when the event occurs, not null
    • toggleFullscreen

      void toggleFullscreen()
      Toggles the map between fullscreen and normal mode.