Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class DoubleClickZoomHandler

The DoubleClickZoomHandler allows the user to zoom the map at a point by double clicking or double tapping.

Index
  • Disables the "double click to zoom" interaction.

    Returns void

    map.doubleClickZoom.disable();
    
  • Enables the "double click to zoom" interaction.

    Returns void

    map.doubleClickZoom.enable();
    
  • Returns a Boolean indicating whether the "double click to zoom" interaction is active, i.e. currently being used.

    Returns boolean

    true if the "double click to zoom" interaction is active.

  • Returns a Boolean indicating whether the "double click to zoom" interaction is enabled.

    Returns boolean

    true if the "double click to zoom" interaction is enabled.

Was this helpful?