Skip to content

Releases: Leaflet/Leaflet.toolbar

Leaflet 1.0 compatibility

27 Sep 04:48
Compare
Choose a tag to compare

This release makes Leaflet.toolbar compatible with Leaflet 1.0+.

Leaflet.toolbar should still work with Leaflet 0.7.x, but will look the best with Leaflet 1.0+ (for example: the Leaflet.toolbar toolbar and Leaflet zoom toolbar will be slightly different sizes if Leaflet 0.7.x is used).

In this release:

  • CSS changes to accommodate change from box-shadow --> border around toolbars.
  • JS changes to handle additional events

Add .min.js and .min.css files for cdnjs

25 Sep 01:29
Compare
Choose a tag to compare

Non-breaking changes:

  • Add .min.js and .min.css files in dist/ directory.

Namespace update: L.Toolbar -> LeafletToolbar

25 Sep 01:27
Compare
Choose a tag to compare

Rename the namespace for all Leaflet.toolbar classes to avoid clashes with Leaflet.draw.

Migration:

  • Use leaflet-draw-toolbar and include leaflet-draw-toolbar JavaScript and CSS per the instructions in the README in that repository.
  • Rename:
    • L.DrawToolbar.Control -> LeafletToolbar.DrawToolbar
    • L.EditToolbar.Control -> LeafletToolbar.EditToolbar.Control
    • L.EditToolbar.Popup -> LeafletToolbar.EditToolbar.Popup

v0.1.2: 0.1.2

24 Sep 16:14
Compare
Choose a tag to compare

0.1.2

  • Fix mysterious errors thrown when a popup toolbar is closed by a click event on an icon inside it.

v0.1.1: 0.1.1

08 Feb 21:13
Compare
Choose a tag to compare

0.1.1

  • Fixes issues #3, #9, #16, #17, #18. Among other features and bugfixes, this release:
    • Adds offset to popup toolbars on markers.
    • Allows only one toolbar of each type on the map at a time.
    • Prevents click, dblclick, and mousemove events on toolbars from propagating up to the map.
  • Adds class factories L.toolbar.control, L.toolbar.popup, and L.toolbar.toolbarAction.
  • Adds a grunt task for updating gh-pages: grunt gh-pages:update.

BREAKING CHANGES

  • Renames dist/ files to conform with Leaflet naming conventions.
    In particular, Leaflet.Toolbar.js became leaflet.toolbar-src.js, and Leaflet.Toolbar.css became leaflet.toolbar.css.