mirror of
https://github.com/umap-project/umap.git
synced 2025-05-05 06:01:48 +02:00
![]() The main goal is to clarify the use of options/settings/properties… - `settings` should be reserved to Django - `options` should be reserved to pure Leaflet context - `properties` used in the geojson context, for user data Main changes: - `DataLayer.settings` is renamed to `DataLayer.metadata` - `DataLayer.geojson` is renamed to `Datalayer.data` - `DataLayer.metadata` are not saved anymore in the geojson data file - `Map.settings` is renamed to `Map.metadata` - `Map.metadata` is now a flat key/value object, not a geojson Feature anymore - `Map.zoom` is now populated and reused Note: U.Map is still inheriting from Leaflet Map, so it mixes `options` and `metadata`. This changes is very intrusive, it changes - the DB schema - the way we store data in the FS (now without metadata) - the way we backup map data fix #1636 prepares #1335 prepares #1635 prepares #175 |
||
---|---|---|
.. | ||
bin | ||
locale | ||
management | ||
migrations | ||
settings | ||
static | ||
templates | ||
templatetags | ||
tests | ||
__init__.py | ||
admin.py | ||
apps.py | ||
autocomplete.py | ||
context_processors.py | ||
decorators.py | ||
fields.py | ||
forms.py | ||
managers.py | ||
middleware.py | ||
models.py | ||
storage.py | ||
urls.py | ||
utils.py | ||
views.py | ||
websocket_server.py | ||
wsgi.py |