diff --git a/index.html b/index.html index e75e892..f7efa02 100644 --- a/index.html +++ b/index.html @@ -402,6 +402,99 @@
This example loads in an external HexJSON file, loads in some data, and then colours the hexes depending on the data. To work out the colours we'll make a little helper function ColourScale
.
This example also styles the lines
defined in the HexJSON by calling this.updateBoundaries(fn)
with a function, fn
, that has the line ID and line properties as input parameters. This allows us some flexibility in how different lines are styled.