JSFiddle - React, Tailwind, and code Playground

by Michel Beloshitsky

HTML

<html>
    <head>
        <title>MapGL Selfhosting</title>
        <style>
           
        </style>        
    </head>
<body>
    <div id="map"></div>
    <script src="https://mapgl-selfhosting.web-staging.2gis.ru/api.js"></script>
    <script>
        const map = window.map = new mapgl.Map('map', {
            key: '042b5b75-f847-4f2a-b695-b5f58adc9dfd',
            center: [55.31878, 25.23584],
                     map._impl.modules.labeler.resetHysteresis();
            style: 'https://mapgl-selfhosting.web-staging.2gis.ru/hardcoded-style/style.json',
            lang: 'ar',
            zoom: 13,
        });
    </script>
</body>
</html>

CSS

html, body, #map {
   margin: 0;
   padding: 0;
   width: 100%;
   height: 100%;
}