All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Republish to overcome npm's unpublish policy. Version 1.0.0 had the fork's links in package.json, some files where not ignored in .npmignore and the release date was still tba.
- New option
position
for setting the sliders initial position. setPosition
is no longer a noop and serves the purpose of setting the range sliders position.
- Use webpack-dev-server instead of budo
- Use ESLint instead of standard
- Use jest for testing
leaflet
is now a peerDependency since it is assumed that the user already has leaflet installed himself.
- Use
L.Evented
instead of deprecatedL.Mixin.Events
- Updated all devDependencies to their latest versions
- Removed vulnerable (and unused) dependencies from the original leaflet-side-by-side plugin.
- ADDED: Allows Leaflet version 0.7.7 through 1.x
- ADDED: Add
setLeftLayers()
andsetRightLayers()
methods - ADDED:
options.padding
- ADDED:
getPosition()
returns the x coordinate (relative to the map container) of the divider - FIXED: [BREAKING] Export factory function on
L.control
notL.Control
- FIXED: Slider drag was not working on touch devices
- FIXED: fix package.json settings for npm distribution
- ADDED: Events
- FIXED: Fix initial divider position in Firefox, should start in middle of map
Initial release