Interface LeafletModel


public interface LeafletModel
State model of the LeafletMap component, holding the map options and the registered event types.
  • Method Details

    • getMapOptions

      MapOptions getMapOptions()
      Returns the current map options.
      Returns:
      the map options
    • setMapOptions

      void setMapOptions(MapOptions mapOptions)
      Sets the map options.
      Parameters:
      mapOptions - the map options to set
    • getEvents

      default List<LeafletEventType> getEvents()
      Returns the list of Leaflet event types registered on the map.
      Returns:
      the registered event types