Put ed3dmap.js code into IIFE
bpkennedy opened this issue · comments
Brian Kennedy commented
Lots of global vars and functions right now, making it difficult to truly "refresh" or "destroy" (a la angular directive).
I will start working on a PR to move the code into an IIFE.