Class: ControlZoom

.ALS. ControlZoom


new ControlZoom()

Custom zoom control which matches ALS aesthetics.

By default, it's horizontal. To make it vertical, pass vertical: true option like so:

let zoomControl = new l.ALS.ControlZoom({
    // Your other options such as position...
    vertical: true, // Make it vertical
});

Extends

  • L.Control