...
$this->template_vars = [
'id' => $this->config->get('id') . '-' . self::$instances,
'width' => $this->config->get('width'),
'height' => $this->config->get('height'),
'class' => $this->config->get('class'),
'lat' => $this->config->get('lat'),
'lng' => $this->config->get('lng'),
'lat_marker' => $this->config->get('lat_marker'),
'lng_marker' => $this->config->get('lng_marker'),
'zoom' => $this->config->get('zoom'),
'address' => $this->config->get('address'),
/* added dragging variable */
'dragging' => $this->config->get('dragging'),
'scrollWheelZoom' => $this->config->get('scrollWheelZoom'),
'instances' => self::$instances
];
...
{{ leaflet({'class': 'map', 'width': '100%', 'height': '400', 'lat': '-33.05', 'lng': '150.8', 'lat_marker': '-33.6', 'lng_marker': '150.8', 'address': 'location', 'dragging': 'false', 'scrollWheelZoom': 'false'}) }}