Сonfigurable longitude (#1095)

* feat: configurable longitude

* chore: update version

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
This commit is contained in:
Azgaar 2024-07-12 12:26:03 +02:00 committed by GitHub
parent 075580da1a
commit e9ee6967ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 118 additions and 81 deletions

View file

@ -33,8 +33,9 @@ function editWorld() {
if (modules.editWorld) return;
modules.editWorld = true;
const graticule = d3.geoGraticule();
globe.select("#globeWindArrows").on("click", handleWindChange);
globe.select("#globeGraticule").attr("d", round(path(d3.geoGraticule()()))); // globe graticule
globe.select("#globeGraticule").attr("d", round(path(graticule()))); // globe graticule
updateWindDirections();
byId("worldControls").on("input", handleControlsChange);