The NPS Web Map Code Library

NPMapJS 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 NPMapJS is 4.2.1. NPMap5 is currently under development and will add a significant number of new features and functionality, making full use of the MapLibre library. As a result, we will be updating the content in this page drastically in the months ahead.

Content delivery network

If you’re a National Park Service employee or partner, you’re welcome to load NPMapJS 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: more information about how to interact with NPMapJS will be published in our forthcoming API docs.)

Bootstrap

API

CSS

JavaScript

Forthcoming

We will provide links to API docs and developer examples from this page in the months ahead.