No description
4669053b18
We had an issue (not in Github :p) where a map was not loading because the defaultView was set to "data", and the layers were remote data layers. In this case, when computing the remote URL, we allow to replace georelated variables (like east, west, north, lat…), which needs the map to have a view. So: - the default view was expecting the data to be loaded (="data") - the data to be loaded needed a default view… So instead of adding yet another call to _setDefaultView in an edge case, we reordered the way we initialize the map elements: - first we initialize the controls (because initCenter needs the locate control to exist) - then we call initCenter - then we initialize the tile layers (because the miniMap needs it to render itself) - then we call renderControls |
||
---|---|---|
.github | ||
.tx | ||
docker | ||
docs | ||
scripts | ||
umap | ||
.dockerignore | ||
.eslintrc.json | ||
.gitignore | ||
.pipignore | ||
.prettierrc.yaml | ||
.readthedocs.yaml | ||
.travis.yml | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
manage.py | ||
MANIFEST.in | ||
mkdocs.yml | ||
osmic-white.yaml | ||
osmic.yaml | ||
package-lock.json | ||
package.json | ||
pyproject.toml | ||
pytest.ini | ||
README.md | ||
SECURITY.md |
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.
- Have a look at our website for an introduction
- See our docs for technical information
- Come chat with us on matrix.org, or join the mailing-list