You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another option, of course, would be to actually try and finish the PR to django-leaflet, it has been open for two years now. Might be useful for more general use too.
I'm afraid our data size is more than a client side mapping tool can handle as vector geometries (i.e. let OpenLayers or Leaflet to draw feature geometry one by one). And IMHO, Django admin may not be the most suitable place to implement this kind of feature.
It seems to me that this is becoming more like a WebGIS application feature , and I think we need a map rendering server here, which can publish the feature data as map services (e.g. WMS).
This is tricky in django-admin, as there is no readymade component for this.
Basically, implementing this would require javascript coding for drawing of the OSM map or, alternatively, a Leaflet map, overriding the standard django-admin list method. An idea for displaying points on a map in admin listing is shown here: https://stackoverflow.com/questions/32434998/geodjango-view-admin-list-view-on-a-map
Also, there seems to be a very WIP PR to django-leaflet that attempts the same: makinacorpus/django-leaflet#124
The text was updated successfully, but these errors were encountered: