Widget:World Map

<!doctype html>  #world-map { width: ; height: ; background-color: #1d50a1; z-index: 1; }

.leaflet-control-attribution{ display:none; }    World Map - exviuswiki.com  // create the slippy map var map = L.map('world-map', {           minZoom: 1,            maxZoom: 3,            center: [ / 4,  / 4],            zoom: 2,            crs: L.CRS.Simple        });

// dimensions of the image var w = , h = , url = '';

// calculate the edges of the image, in coordinate space var southWest = map.unproject([0, h], map.getMaxZoom-1); var northEast = map.unproject([w, 0], map.getMaxZoom-1); var bounds = new L.LatLngBounds(southWest, northEast);

// add the image overlay, so that it covers the entire map L.imageOverlay(url, bounds).addTo(map);