JSFiddle - React, Tailwind, and code Playground
by Trufi
HTML
<script src="https://maps.api.2gis.ru/2.0/loader.js?pkg=full"></script>
<div id="map"></div>
CSS
html, body, #map {
margin: 0;
width: 100%;
height: 100%;
}
JavaScript
DG.then(function() {
map = DG.map('map', {
center: [54.980156831455, 82.897440725094],
zoom: 13,
zoomSnap: 0.1
});
});