├── .github └── workflows │ └── playwright.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── assets ├── geogrid.css └── geogrid.jpg ├── demo └── index.html ├── package.json ├── playwright.config.ts ├── rollup.config.mjs ├── scripts ├── test-visual-update.sh └── test-visual.sh ├── src ├── constants.ts ├── helpers │ ├── calculations.ts │ ├── formatters.ts │ ├── geojson.ts │ ├── geometry.ts │ ├── get-grid-density.ts │ └── html.ts ├── main.ts └── types.ts ├── tests ├── __screenshots__ │ └── mercator.spec.ts │ │ ├── renders-grid-zl-0-1.png │ │ └── renders-grid-zl-10-1.png ├── fixtures │ ├── globe.html │ └── mercator.html ├── mercator.spec.ts └── setup.ts └── tsconfig.json /.github/workflows/playwright.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/.github/workflows/playwright.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/README.md -------------------------------------------------------------------------------- /assets/geogrid.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/assets/geogrid.css -------------------------------------------------------------------------------- /assets/geogrid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/assets/geogrid.jpg -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/demo/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /scripts/test-visual-update.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/scripts/test-visual-update.sh -------------------------------------------------------------------------------- /scripts/test-visual.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/scripts/test-visual.sh -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/helpers/calculations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/helpers/calculations.ts -------------------------------------------------------------------------------- /src/helpers/formatters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/helpers/formatters.ts -------------------------------------------------------------------------------- /src/helpers/geojson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/helpers/geojson.ts -------------------------------------------------------------------------------- /src/helpers/geometry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/helpers/geometry.ts -------------------------------------------------------------------------------- /src/helpers/get-grid-density.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/helpers/get-grid-density.ts -------------------------------------------------------------------------------- /src/helpers/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/helpers/html.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/src/types.ts -------------------------------------------------------------------------------- /tests/__screenshots__/mercator.spec.ts/renders-grid-zl-0-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tests/__screenshots__/mercator.spec.ts/renders-grid-zl-0-1.png -------------------------------------------------------------------------------- /tests/__screenshots__/mercator.spec.ts/renders-grid-zl-10-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tests/__screenshots__/mercator.spec.ts/renders-grid-zl-10-1.png -------------------------------------------------------------------------------- /tests/fixtures/globe.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tests/fixtures/globe.html -------------------------------------------------------------------------------- /tests/fixtures/mercator.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tests/fixtures/mercator.html -------------------------------------------------------------------------------- /tests/mercator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tests/mercator.spec.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falseinput/geogrid-maplibre-gl/HEAD/tsconfig.json --------------------------------------------------------------------------------