umap/umap
Yohan Boniface 407e2dc46a Fix race condition with cluster layer
This occurs when the cluster layer has a min/maxZoom defined, the
map is loaded inside this zoom range BUT the defaultView=data, and
would immediately change the current zoom to a value outside this range.

In this case, the datalayer is added to the map, then the data is requested,
then the map view is recomputed with the full data bounds.

There may be a better fix on our side, but given there is async in the middle,
it can be time consuming and can add complexity (with more events and listeners)
to properly make it work.
2023-11-01 10:49:31 +01:00
..
bin Add a umap entry point, so we can pip install umap 2016-09-10 08:26:48 +02:00
locale i18n 2023-11-01 08:17:56 +01:00
management Allow to set the lang while generating an anonymous_edit_url 2023-06-21 10:48:29 +02:00
migrations Use FileField instead of ImageField for pictogram to allow SVG 2023-10-30 12:45:05 +01:00
settings Apply Black to settings files 2023-09-26 09:40:41 -04:00
static Fix race condition with cluster layer 2023-11-01 10:49:31 +01:00
templates Choropleth: replace chromajs by colorbrewer + simple-statistics 2023-10-11 19:36:12 +02:00
templatetags Rename allowEdit in editMode 2023-09-22 17:32:17 +02:00
tests Fix tests 2023-10-27 20:51:50 +02:00
__init__.py 1.10.0 2023-10-27 20:09:42 +02:00
admin.py Prepare for Django 4.x 2023-02-22 15:19:38 +01:00
apps.py Prepare for Django 4.x 2023-02-22 15:19:38 +01:00
autocomplete.py Allow to customize user display name and URL slug 2023-06-16 14:59:59 +02:00
context_processors.py Banner + no create buttons when in read only mode 2023-05-30 16:17:12 -04:00
decorators.py Add back Map.edit_status 2023-09-22 17:32:19 +02:00
fields.py Prepare for Django 4.x 2023-02-22 15:19:38 +01:00
forms.py Add DataLayer.INHERIT edit status option 2023-09-22 17:32:19 +02:00
managers.py Django 2.0 2018-05-19 10:05:18 +02:00
middleware.py First attempt to upgrade to Django 3.X 2021-05-17 10:51:24 +02:00
models.py Use FileField instead of ImageField for pictogram to allow SVG 2023-10-30 12:45:05 +01:00
urls.py Do not use Map.edit_status anymore 2023-09-22 17:26:55 +02:00
utils.py Use ns time for geojson and gzipped geojson mtime 2023-07-19 14:16:57 +02:00
views.py Make sure SHORT_SITE_URL is defined to expose Map.short_url 2023-09-26 10:34:50 +02:00
wsgi.py Ubuntu installation turorial draft 2016-09-10 16:21:09 +02:00