NPMap.js is a JavaScript web mapping library built and maintained by the National Park Service. It is a plugin to the powerful Leaflet library that contains customizations made specifically for the National Park Service. These customizations include enhancements related to accessibility, usability, and graphic identity.
The latest version of NPMap.js is 4.0.0.
Content delivery network
If you're a National Park Service employee or partner, you're welcome to load NPMap.js directly from the agency's content delivery network. Depending on how you're using the library, you may need one or more of the following URLs. (Note: You can read more about the different ways to interact with NPMap.js in the API docs.)
Bootstrap
- Dev: https://www.nps.gov/lib/npmap.js/4.0.0/npmap-bootstrap.js
- Production: https://www.nps.gov/lib/npmap.js/4.0.0/npmap-bootstrap.min.js
API
CSS:
- Dev: https://www.nps.gov/lib/npmap.js/4.0.0/npmap.css
- Production: https://www.nps.gov/lib/npmap.js/4.0.0/npmap.min.css
JavaScript: