Skip to content

Releases: open-oni/plugin_map

v0.6.0 - Replace Stamen map tiles with OSM Humanitarian; Update to Leaflet 1.9.4

11 Jun 22:23
39ff8c0
Compare
Choose a tag to compare

We removed the Stamen map tiles and replaced them with the OpenStreetMaps Humanitarian map tiles.

Leaflet changed their CSS to set font-size of the leaflet-container class to 0.75rem. ONI Bootstrap sets html element's font-size to 10px, so this causes the font-size of the Leaflet map to 7.5px which is unreasonably small. It also shrinks the map size etc as they are set relative to the container's font-size.

Fixed by setting the font-size of #map_container (which gets the leaflet-container class applied by Leaflet) to 12px.

See other Leaflet 1.9.4 changes in CHANGELOG.md

v0.5.0 - Update urls.py

29 Mar 21:28
Compare
Choose a tag to compare

Update urls.py

  • Switch to django.urls rather than django.conf.urls which is
    deprecated and will be removed in Django 4.0

v0.4.0 - Update Leaflet to 1.7.1

08 Feb 00:41
Compare
Choose a tag to compare
Pre-release

Update Leaflet to latest release 1.7.1 and switch default branch to "main"

Fixes and updates

16 Sep 20:30
56ea0a3
Compare
Choose a tag to compare
Fixes and updates Pre-release
Pre-release

Maps v0.2.0 introduces exciting changes!!

  • Updates Leaflet to 1.5.1
  • Improves loading of map (only loads after the page is fully rendered)
  • Improves sorting and display of cities

Map v0.1.0 released

24 Jul 17:03
Compare
Choose a tag to compare
Map v0.1.0 released Pre-release
Pre-release

This release marks the first map plugin release.