UNPKG

npmap.js

Version:

A JavaScript web mapping library, built as a Leaflet plugin, for the National Park Service.

36 lines (34 loc) 622 B
<!DOCTYPE html> <html> <head> <style> html, body { height: 100%; margin: 0; padding: 0; width: 100%; } #map { height: 100%; left: 0; position: absolute; top: 0; width: 100%; } </style> </head> <body> <div id="map"></div> <script> var NPMap = { div: 'map', hashControl: true }; (function() { var s = document.createElement('script'); s.src = '../dist/npmap-bootstrap.js'; document.body.appendChild(s); })(); </script> </body> </html>