django.admin.geomap

Displaying objects on maps in the Django views and administration site.

MIT License

Downloads
5.1K
Stars
50
Committers
4

Bot releases are visible (Hide)

django.admin.geomap - Version 1.6 Latest Release

Published by vb64 over 1 year ago

  • Support for model PK different from type int.
django.admin.geomap - Objects with missing coordinates are not displayed at the map.

Published by vb64 over 1 year ago

If at least one of geomap_longitude/geomap_latitude properties returns an empty string, then the corresponding object will not be displayed on the map. For example, objects that do not have coordinates or some kind of "secret" objects from your database.

Bugfix: Fix error on action delete in admin panel.

django.admin.geomap - Option to hide the map on the list view.

Published by vb64 almost 2 years ago

django.admin.geomap - Bugfix: escape model names

Published by vb64 almost 2 years ago

Default implementation of the GeoItem geomap_popup_view, geomap_popup_edit and geomap_popup_common properties fail for models with quotes in its str() representation.

django.admin.geomap - Autozoom mode

Published by vb64 about 2 years ago

By default, this mode is disabled. You can enable autozoom mode when displaying objects on the map both in regular views and in the Django admin panel.

The autozoom mode works differently depending on the number of objects that you want to display on the map.

If the list of displayed objects is empty, the autozoom mode is disabled.

If the list contains one object, then the map center is set to the coordinates of this object, and the map scale is set to the value of the autozoom parameter (10 for the examples above).

If the list contains more than one object, the program determines the minimum rectangle that contains all the displayed objects. The center of the map is set to the coordinates of the center of this rectangle. The scale of the map is set in such a way as to contain the given rectangle with some indents along the edges.

django.admin.geomap - Openlayers framework version 6.6.1 -> 6.15.1

Published by vb64 about 2 years ago

Openlayers framework version 6.6.1 not available and removed from public access.

django.admin.geomap - Add support for admin filtered list-view

Published by vb64 about 2 years ago

django.admin.geomap - Support for regular Django views

Published by vb64 about 3 years ago

django.admin.geomap - Initial release

Published by vb64 about 3 years ago

Package Rankings
Top 8.65% on Pypi.org
Badges
Extracted from project README
GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Codacy Badge Codacy Badge PyPI - Downloads
Related Projects