Widget:Map





// Define the map and options for it. var map = L.map('map', {		crs: L.CRS.Simple,   		minZoom: 0,		maxZoom: 5,		zoomDelta: 0.25,		zoomSnap: 0.25,	}); // The map goes from approx x -340, y -445 to x 470, y 370 so define this for the boundaries var bounds = -370,-342], [445,475; // Provide the full URL to the map image that has been uploaded. May fail if the image is updated by someone. var image = L.imageOverlay('https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/1/13/T_FullscreenMap.jpg', bounds).addTo(map); map.fitBounds(bounds); // The centre of the map is NOT 0,0 - define the real centre for initial display // setView( center,  zoom,  options?) map.setView( [38, 65], 0.5);