<div id="map"></div>
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
  background-color: #000000;
}
const map = L.Wrld.map(
  "map",
  "880e38bd5ddbb5a47ac7c55c3853fc3b",
  {
    center: [40.730610, -73.935242],
    zoom: 16,
  }
)
View Compiled

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.1/leaflet.css

External JavaScript

  1. https://cdn-webgl.wrld3d.com/wrldjs/dist/latest/wrld.js