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 DragRotateHandler

The DragRotateHandler allows the user to rotate the map by clicking and dragging the cursor while holding the right mouse button or ctrl key.

Index
  • Disables the "drag to rotate" interaction.

    Returns void

    map.dragRotate.disable();
    
  • Enables the "drag to rotate" interaction.

    Returns void

    map.dragRotate.enable();
    
  • Returns a Boolean indicating whether the "drag to rotate" interaction is active, i.e. currently being used.

    Returns boolean

    true if the "drag to rotate" interaction is active.

  • Returns a Boolean indicating whether the "drag to rotate" interaction is enabled.

    Returns boolean

    true if the "drag to rotate" interaction is enabled.

Was this helpful?