Skip to content
Demonstration ONLY of US National Grid with Google Maps API v3. NOT intended for production usage!
JavaScript Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
deploy
images
js
README.md
index.html
more.html

README.md

The integration of the U.S. National Grid (USNG) coordinates in online web mapping systems has only been partially implemented on a variety of web mapping pages. When not in possession of USNG standardized printed map products, one of the most difficult things to do is to take a USNG coordinate and quickly produce a basic, readable map, or visa versa: take a basic map or address and obtain a USNG coordinate.

To relieve this difficulty, Larry Moore developed a web map based on the Google Maps API that incorporated USNG coordinates (http://dhost.info/usngweb/). This project attempts to update that code to version 3 of the Google Maps API, incorporating Javascript libraries from Jim Klassen (https://github.com/klassenjs/usng_tools) and Xavier Irias (http://www.ersquared.org/).

If you want to deploy this code on your own site, you'll need to obtain an API key from Google and replace my key with yours on line 11 of index.html. More information about the Google Maps Javascript API and API keys is available here: https://developers.google.com/maps/documentation/javascript/?hl=en_US

Due to the Google Maps billing changes coming in summer of 2018, the demonstration site is highly likely to stop working or malfunctio. Details about the changes can be found here: https://developers.google.com/maps/billing/important-updates

Contributors include Mike Dolbow and Sean Gutknecht. A demonstration page can be used at http://mmdolbow.github.io/usng-gmap-v3/ This page is ONLY intended as a demonstration. Individuals and organizations should NOT use the demo page in production or mission-critical situations. Organizations may want to consider hosting this code on their own or hiring a consultant to build something for them. I recommend https://mappingsupport.com/ to find someone familiar with building similar functionality.

You can’t perform that action at this time.