Skip to content

Releases: vb64/django.admin.geomap

Version 1.6

28 Jun 07:52
Compare
Choose a tag to compare
  • Support for model PK different from type int.

Objects with missing coordinates are not displayed at the map.

23 Jan 06:10
Compare
Choose a tag to compare

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.

Option to hide the map on the list view.

13 Jan 12:08
Compare
Choose a tag to compare

Bugfix: escape model names

12 Jan 12:32
Compare
Choose a tag to compare

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.

Autozoom mode

27 Sep 17:30
Compare
Choose a tag to compare

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.

Openlayers framework version 6.6.1 -> 6.15.1

24 Aug 09:27
92794ee
Compare
Choose a tag to compare

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

Add support for admin filtered list-view

28 Jul 13:06
c360445
Compare
Choose a tag to compare

Support for regular Django views

17 Sep 17:10
ac58d8b
Compare
Choose a tag to compare
Support for regular Django views (#4)

* use template for root page in the example

* geomap context in common views

* Django regular views

* README.md

* fix twine

Initial release

10 Sep 09:24
3fb078d
Compare
Choose a tag to compare
v1.0

Pypi package (#2)