npmap.js
Version:
A JavaScript web mapping library, built as a Leaflet plugin, for the National Park Service.
38 lines (36 loc) • 832 B
HTML
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title>Multiple Maps | Examples | NPMap.js</title>
<style>
#map-1, #map-2 {
height: 300px;
position: relative;
width: 300px;
}
#map-2 {
margin-top: 5px;
}
</style>
</head>
<body>
<div id="map-1"></div>
<div id="map-2"></div>
<script>
var NPMap = [{
div: 'map-1',
scrollWheelZoom: false
},{
div: 'map-2',
scrollWheelZoom: false
}];
(function() {
var s = document.createElement('script');
s.src = '../dist/npmap-bootstrap.js';
document.body.appendChild(s);
})();
</script>
</body>
</html>