Dark style

Set dark style to map.

HTML Copy
<!DOCTYPE html>
<html>
<head>
    <title>Dark style</title>
    <script src="https://maps-api.planplus.rs/script/maplibre/maplibre-gl/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"></script>    
    <link href="https://maps-api.planplus.rs/style/maplibre/maplibre-gl.css" rel="stylesheet" />
</head>
<body>
    <div id="map" style="width: 500px; height: 500px;"></div>
    <script>
        // your license id
        var lid = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx';
        // map instance
        var map = new maplibregl.Map({
            container: 'map',
            style: 'https://vt.planplus.rs/mapstyle/PPMapaDarkStyle.json?lid=' + lid,
            center: [20.424476, 44.813864],
            zoom: 11
        });
    </script>
</body>
</html>