Skip to content

Toolbar Actions and Keybindings

Sasha Boginsky edited this page Apr 14, 2020 · 1 revision

Single Image Interface

Defaults:

  • L.BorderAction (b)
    • Toggles a thin border around the overlay.
  • L.DeleteAction (backscpace, delete)
    • Permanently deletes the image from the map. Uses a confirm() modal dialog.
    • windows backspace / mac delete
  • L.DistortAction (d)
    • Sets distort mode.
  • L.DragAction
    • Sets drag mode.
  • L.ExportAction (e)
  • L.FreeRotateAction (f)
    • Sets freeRotate mode.
  • L.LockAction (l, u)
    • Toggles between lock mode and the initially set default mode (distort by default).
  • L.OpacityAction (o)
  • L.RotateAction (r):
    • Sets rotate mode.
  • L.ScaleAction (s):
    • Sets scale mode.

Addons:

  • L.RestoreAction
    • Restores the image to its natural dimensions, scale, rotation, and location on the map.
  • L.StackAction (q, a)
    • Switch an image's overlap compared to neighboring images back and forth into view. Employs bringToFront() and bringToBack() from the Leaflet API.
  • L.GeolocateAction (WIP)

Multiple Image Interface

Defaults:

  • L.ExportAction (e)
  • L.DeleteAction (backscpace, delete)
    • Permanently deletes a collection of images from the map.
  • L.LockAction (l)
    • Sets lock mode for a collection of images.
  • L.UnlockAction (u)
    • Unsets lock mode for a collection of images.