Crater Lake National Park

NPMap

Digital maps for the National Park Service

Geocoder

This example demonstrates NPMap's geocoder tool. It queries National Park Service locations first and shows these below the tool. If none of these locations are selected, the query is passed on to the OpenStreetMap Nominatim search service.

 

Related resources:

Map

Code


<div id="example-map" style="height:500px;">
</div>
<script>
  var NPMap = NPMap || {};
  
  NPMap.config = {
    api: 'bing',
    div: 'example-map',
    tools: {
      geocoder: true
    }
  };
  
  (function() {
    var s = document.createElement('script');
    s.src = 'http://www.nps.gov/npmap/1.0.0/bootstrap.js';
    document.body.appendChild(s);
  })();
</script>