DOI-USGS / hurricane-irma

Creative Commons Zero v1.0 Universal
55 stars 20 forks source link

Start using the <use/> elements for the complex paths #77

Open jordansread opened 7 years ago

jordansread commented 7 years ago

This way we can replicate the geometries without paying extra cost to the DOM - so we can have invisible mouseover zones and emphasize borders on hover that would otherwise be covered by adjacent polygons. Another benefit of this for the sparklines is being able to pull the emphasized line to the top level, so none of the others are overlapping. This currently looks like: image