OpenWaterFoundation / swsi-story-sp-entities

This story highlights the various types of water entities in the South Platte and Metro basins, such as cities, agriculture, environmental and recreational entities. The purpose of the story is to provide general context for the number, location, and extent of such entities in the basin.
0 stars 0 forks source link

Issue with "no data" markers #5

Closed jurentie closed 6 years ago

jurentie commented 6 years ago

Markers that have no data associated with them on the maps water-providers-1051-data-map.js and water-providers-efficiency-plans-map.js throw errors in the browser.

jurentie commented 6 years ago

I am now checking to see if variables exist. Errors were being thrown for empty strings that were being formatted. Now my code checks to see if it exists before doing any formatting, otherwise just assign the variable to be an empty string. Commit : fc561cc