An in-progress version being developed on the master branch.
- Disable pointer-events for the label to fix flashing label issue. (by @iandees) #70
- Close open labels (except when in noHide mode) on touch devices when tap map.
- Add an option to allow configuration of the Leaflet
pane
to insert the label element into. (by @perliedman) #81
- Handle when L.noConflict() is used.
- Improved performance when setting label content.
- Fixed issue where labels could appear blurry after zoom.
- Removed need to call
showLabel
when adding a static label to the map. - Added support for changing the direction of the label in relation to the marker. Added auto mode that switches depending on which side of the screen you are on. (adapted from @erictheise pull request) #17
- Added
labelAnchor
option toL.CircleMarker
.
- Fix bug where map view hard reset did not update labels. (by @dagjomar). #43
- Fix issue where non static labels would remain visible if the latlng of the marker changed.
- Fixed error in IE < 9 when trying to set the label z-index. (by @arthur-e). #13
- Fixed an issue when removing the click handler from the container to close labels in touch devices.
- Added method
L.Marker.setLabelNoHide()
to allow toggling of static marker labels. (inspired by @kpwebb). #20 - Non-static labels will now hide when map container is tapped on touch devices. (by @snkashis). #26
- Added ability to set the opacity of the label along with the marker. (inspired by @snkashis). #20
- Added support for mouse event to L.Label.
- Added public getter to L.Marker to retrieve the label associated to a marker.
- Fixed labels not updating position after being dragged. (by @snkashis). #13
- Z-Index fixes aimed at static labels. This will ensure that label is shown at the same level as the marker.
- Correctly remove event listeners in Marker.Label and Path.Label.
- FeatureGroup now supports label methods.
- Fixed bug where label wouldn't hide when unbindLabel was called.
- Fixed Multi-Poly support.
- Fixed bug where a label's position wouldn't be updated when a marker moved.
- Fixed bug where label wouldn't be removed from map when a marker was.
Initial version of Leaflet.label