mounted() {
DG.then(function() {
var map = DG.map("map", {
center: [54.98, 82.89],
zoom: 13,
zoomControl: false,
fullscreenControl: false
});
DG.control.zoom({ position: "topright", }).addTo(map).getContainer('test');
});
},
zoom(change) {
this.map.setZoom(this.map.getZoom() + change);
},
<div @click="zoom(+1)">zoom in</div>
<div @click="zoom(-1)">zoom out</div>