mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Add GeoJSON note
This commit is contained in:
parent
4b2398657e
commit
03033c0b24
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ class VoronoiOverlay {
|
||||||
|
|
||||||
console.log(this.cells);
|
console.log(this.cells);
|
||||||
|
|
||||||
|
// TODO: Investigate GeoJSON. Maybe it could help us avoid the complexity of an SVGOverlay? It looks like we might be able to apply a custom colour to a GeoJSON polygon too: https://leafletjs.com/reference-1.5.0.html#geojson
|
||||||
|
|
||||||
let svg = new SvgWriter(
|
let svg = new SvgWriter(
|
||||||
"100%", "100%",
|
"100%", "100%",
|
||||||
bounding_box,
|
bounding_box,
|
||||||
|
|
Loading…
Reference in a new issue