Web-Map-Custom-Element
Web-Map-Custom-Element copied to clipboard
Add controls for panning
Background: https://github.com/Maps4HTML/MapML/issues/88#issuecomment-718808340.
- [ ] Add (default) controls for panning (e.g. https://kartena.github.io/Leaflet.Pancontrol/)
- [ ] Support the
nopankeyword incontrolslistto disable the controls
Side-by-side/grouped controls for panning take up a lot of space in the map viewer. Another consideration would be "border pan" controls (e.g. https://github.com/slara/Leaflet.BorderPan).
See related: https://github.com/Maps4HTML/HTML-Map-Element-UseCases-Requirements/issues/148#issuecomment-737144978.