Open aappling-usgs opened 6 years ago
Is this potentially happening w/ the svg in the header? Or other small svgs that would be doing the same.
In the header:
<img class="vizlab-landscape vizlab-portrait" src="images/usgsLogo.svg" title="U.S. Geological Survey" alt="U.S. Geological Survey">
What do you mean by "this"?
the warning = this.
ah. could be, i think we need someone to investigate. to me this is not a priority for water-use-15, though, so timing of addressing this issue should be vizlab timing, not water use viz timing.
I just added:
svg-injector-js: lib-svg-injector-js
to the viz.yaml in water-use-15 (and then put svg-injector-js) in the resources and the warning went away. That's all that I'm aware that we did in the hurricane viz's.
I'm not sure if we need to do some benchmarking to see if that helps or not. I have zero idea how svg-inject plays with D3.
Jordan Walker resolved
use the svginject javascript library
(#187), but we have this warning in water-use-15:suggesting that we're not making use of Jordan's work. We need to identify a current team member who knows about this and can watch for it and consult the team on the use of svginject. if that expertise already exists then we just need to know who has it, otherwise, someone should go figure this out to become our expert.