uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
Find a file
Yohan Boniface f30ee0f5d3 (WIP) Add Bubbles layer type
fix #1399

This is a very first look. But it's not as simple as I thought,
because:
- as for a heatmap, we need a special representation (each feature
  should be a circle, not a normal icon nor a polygon)
- as for a choropleth, we want to dynamically take control over the
  rendering (we need all the features to be able to compute the bubbles
  sizes)
- as for a normal layer, we want all the features to react to interaction,
  specifically click to open a popup, but also tooltip, highlight (?), etc.

In this first implementation, I've created a new type of layer, that creates
a CircleMarker for each feature, but doing so we lose all the interactions.
I've tried to set a sort of proxy so that a click on the circle will fire
a click on the feature, but as this feature is actually not on the map, this
does not work naturally.
Also, at this point, the styling is only done once, so editing layer's style
will not be updated live in the map.

A few more thinking is needed, mainly to decide how to handle the circle: should
it be a "proxy layer" as now, or should we try to transform a feature on the fly
(make sure it is a marker of type circle, but as for now our circle are html, not
svg…), and in this case, should we magically handle polygons and polylines (taking
their center), or only markers (which could be easier, and possibly enough) ?
2023-11-28 14:19:47 +01:00
.github [ci] Add support for Github Actions 2023-11-24 23:31:18 +01:00
.tx i18n 2023-02-22 10:23:03 +01:00
docker Update uwsgi.ini to prevent buffers errors with NGINX reverse proxies 2023-10-02 17:39:00 -04:00
docs changelog 2023-11-27 10:24:00 +01:00
scripts Choropleth: replace chromajs by colorbrewer + simple-statistics 2023-10-11 19:36:12 +02:00
umap (WIP) Add Bubbles layer type 2023-11-28 14:19:47 +01:00
.dockerignore Do not track Dockerfile, not to invalidate Docker cache at each change 2023-06-05 14:44:33 +02:00
.gitignore [ci] Add support for Github Actions 2023-11-24 23:31:18 +01: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 chore: use setup.cfg 2021-12-30 11:16:00 +01:00
docker-compose.yml Replace wait_for_database with depends_on and healthcheck. 2023-09-16 11:12:50 -04:00
Dockerfile Add umap command in Docker PATH 2023-06-29 15:19:39 +02:00
LICENSE Fixed typo 2013-06-23 22:43:29 -05:00
Makefile [ci] Add support for Github Actions 2023-11-24 23:31:18 +01: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 Use magiclink extension for changelog with links 2023-08-23 09:45:44 -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-lock.json [ci] Add support for Github Actions 2023-11-24 23:31:18 +01:00
package.json Use step=any by default for FloatInput 2023-11-23 12:29:52 +01:00
pyproject.toml [fix] Update Django requirements to >=4.2 2023-11-24 23:31:18 +01:00
pytest.ini [ci] Add support for Github Actions 2023-11-24 23:31:18 +01:00
README.md fix: correct changelog link 2023-08-23 08:31:15 +02:00
RELEASE.md Improved release documentation 2023-09-23 15:58:37 -04:00
SECURITY.md Create SECURITY.md to report security issues 2023-05-05 15:13:53 -04:00

uMap project

Requirements Status Join the chat at https://gitter.im/umap-project/umap Documentation StatusBuild Status

About

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.

Installation and configuration

See developer documentation.