<div id="map"></div>
#map, body { 
                margin: 0 !important;
                padding: 0 !important;
                height: 100vh;
            }
var map = L.map('map').setView([-5.147665, 119.432732], 13);
            L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
                maxZoom: 19,
                attribution: '© OpenStreetMap'
            }).addTo(map);

L.marker([-5.147665, 119.412732]).addTo(map);

var marker = L.marker([-5.147665, 119.432732]);

marker.addTo(map);

External CSS

  1. https://unpkg.com/[email protected]/dist/leaflet.css

External JavaScript

  1. https://unpkg.com/[email protected]/dist/leaflet.js