Gjum / Gjum/CivMap

svg overlays instead of builtin leaflet drawing

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
24
Forks
13
PR merge metrics
No merged PRs in 30d

Description

maybe use d3 for that:
- https://github.com/teralytics/Leaflet.D3SvgOverlay
- or https://github.com/christiankaiser/Leaflet.D3SvgOverlay
- https://bost.ocks.org/mike/leaflet/

need to make sure it still renders fine on all devices, leaflet has a canvas fallback

allows us to draw smooth svg curves
https://www.w3.org/TR/SVG/paths.html#PathDataCurveCommands

and to use TexturesJS https://riccardoscalco.github.io/textures/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.