uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
Find a file
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
.github chore: add a Github action to autoclose issues after some time 2024-09-17 09:51:10 +02:00
.tx i18n 2023-02-22 10:23:03 +01:00
docker chore(deploy): Spawn the websocket server in the docker image. 2024-10-03 12:26:33 +02:00
docs chore: split umap.js in two modules (#2257) 2024-11-13 14:52:33 +01:00
docs-users chore: bump pymdown-extensions from 10.11.2 to 10.12 2024-11-11 18:11:20 +00:00
scripts chore: use colorbrewer as ES module 2024-10-16 09:01:31 +02:00
umap chore: review with Alexis 2024-11-13 14:27:39 +01:00
.dockerignore Do not track Dockerfile, not to invalidate Docker cache at each change 2023-06-05 14:44:33 +02:00
.eslintrc.json lint: use eslint with a browserslist configuration 2024-01-29 16:44:04 -05:00
.gitignore chore: remove package-lock.json from git 2024-10-04 17:22:04 +02:00
.pipignore Upgrade django-social-auth to python-social-auth 2014-03-06 23:22:37 +01:00
.prettierrc.yaml Apply PrettierJS to the whole codebase 2023-05-12 13:57:03 -04:00
.readthedocs.yaml Control which version of mkdocs is install on readthedocs 2023-04-30 11:35:23 +02:00
.travis.yml deps: adaptations for Django 5.x 2024-01-29 14:29:24 -05:00
biome.json chore: remove the noDelete rule completely 2024-06-25 21:31:37 -04:00
docker-compose.yml version is obsolete. 2024-10-17 08:42:51 +10:00
Dockerfile fix: uppercased AS in Dockerfile 2024-08-02 11:08:44 -04:00
LICENSE Switch license from WTFPL to AGPLv3 2024-02-12 21:03:17 -05:00
Makefile chore: install sync target on "make develop" 2024-10-21 11:59:58 +02:00
manage.py [style] Format the code 2023-11-24 23:31:18 +01:00
MANIFEST.in Explicitly exclude local.py from being released 2018-07-07 23:46:10 +02:00
mkdocs.yml Split users’ documentation to dedicated folder 2024-05-08 21:17:00 -04:00
osmic-white.yaml update osmic YAML files according to new configuration 2018-11-17 22:03:08 +01:00
osmic.yaml update osmic YAML files according to new configuration 2018-11-17 22:03:08 +01:00
package.json chore: bump and pin front facing JS deps 2024-10-15 11:28:39 +02:00
pyproject.toml chore: bump pymdown-extensions from 10.11.2 to 10.12 2024-11-11 18:11:20 +00:00
pytest.ini [ci] Add support for Github Actions 2023-11-24 23:31:18 +01:00
README.md docs: Update the links in the README, remove the badges 2024-01-06 14:31:46 +01:00
SECURITY.md [docs] Update security contact information 2023-12-15 17:20:30 +01:00

uMap project

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site. Because we think that the more OSM will be used, the more OSM will be improved. Built on top of Django and Leaflet.