umap/docs
Yohan Boniface 8c2a0eca28
Some checks failed
Test & Docs / docs (push) Has been cancelled
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
chore: split umap.js in two modules (#2257)
Long awaited step! Very intrusive change!

The `umap.js` old papa js style is now moved to modules, and split in
two, as we did for layers and features: one module is for the data part,
and the other is for the rendering part, and this one inherits from
Leaflet.

Sadly, the split between those two modules is not as clear as I'd like
it to be, as some functions my be interpreted or not as rendering.

What is now moved to the rendering module is all elements that inherit
from Leaflet, so what concerns the map itself, but also controls in of
the Leaflet world (inheriting from L.Control). In the other hand, UI
elements that does not inherit from Leaflet are kept on the `umap.js`
module (panels, tooltip, contextmenu…).

Also, `Umap` as a `properties` key, to follow geojson spec, and
distinguish from `LeafletMap.options`.

This is a first step, that will need more work, but as tests pass, I'd
suggest to merge if we agree on the choices and continue working with
other (smaller) PRs (and I'll take care of rebasing current other PRs).

Some specific points I've in mind that does not smell good:
- umap.js module still uses some Leaflet utils
- Umap and LeafletMap have a reference to each other
- umap.js module still need Leaflet events
- layers and feature still need to have reference to both Umap and
LeafletMap
2024-11-13 14:52:33 +01:00
..
assets [docs] Rework the documentation 2023-12-05 16:18:10 +01:00
config chore: better document UMAP_PURGATORY_ROOT 2024-10-24 18:28:44 +02:00
deploy version is obsolete. 2024-10-17 08:42:51 +10:00
dev chore: review with Alexis 2024-11-13 14:27:39 +01:00
stylesheets [docs] Rework the documentation 2023-12-05 16:18:10 +01:00
changelog.md 2.7.1 2024-10-25 15:44:52 +02:00
contributing.md chore: setup Biome to replace Prettier 2024-06-25 09:59:40 -04:00
index.md docs: fix link in index.md 2024-02-09 14:42:27 +01:00
install.md docs: remove mentions of compress / django-compressor 2024-01-19 17:16:38 +01:00
release.md 2.7.1 2024-10-25 15:44:52 +02:00
requirements.txt chore: bump pymdown-extensions from 10.11.2 to 10.12 2024-11-11 18:11:20 +00:00