I've make a few changes to index.html. I added a value equal to the name of the geoJSON file to each locationFilter so we don't have to maintain a list like "Nova Scotia" : "NS" etc.
The geoJSON data is preloaded asynchronously once when the webpage is loaded instead of each time the check button is clicked. I think that's the proper way to do it.
This commit adds drawing abilities to the map.
I've make a few changes to index.html. I added a value equal to the name of the geoJSON file to each locationFilter so we don't have to maintain a list like "Nova Scotia" : "NS" etc.
The geoJSON data is preloaded asynchronously once when the webpage is loaded instead of each time the check button is clicked. I think that's the proper way to do it.