All Superinterfaces:
Serializable
All Known Subinterfaces:
MapOptions
All Known Implementing Classes:
DefaultMapOptions

public interface ControlOptions extends Serializable
Leaflet map control options
Since:
2020-03-06
Version:
1.0
Author:
Gabor Kokeny Email: kokeny19@gmail.com
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the default attribution control is added to the map.
    boolean
    Returns whether the default zoom control is added to the map.
    void
    setAttributionControl(boolean attributionControl)
    Whether a attribution control is added to the map by default.
    void
    setZoomControl(boolean zoomControl)
    Whether a zoom control is added to the map by default.
  • Method Details

    • isAttributionControl

      boolean isAttributionControl()
      Returns whether the default attribution control is added to the map.
      Returns:
      true if the default attribution control is added to the map
    • setAttributionControl

      void setAttributionControl(boolean attributionControl)
      Whether a attribution control is added to the map by default.
      Parameters:
      attributionControl - set false if yuo want to hide the default attribution control
    • isZoomControl

      boolean isZoomControl()
      Returns whether the default zoom control is added to the map.
      Returns:
      true if the default zoom control is added to the map
    • setZoomControl

      void setZoomControl(boolean zoomControl)
      Whether a zoom control is added to the map by default.
      Parameters:
      zoomControl - set false if yuo want to hide the default zoom control