bring layer to front on hover
parent
5b7923db5f
commit
edfdf17f7a
|
@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
### Changed
|
||||
- bring layer to front on hover
|
||||
|
||||
## 0.0.5 – 2017-04-05
|
||||
### Added
|
||||
|
|
|
@ -508,6 +508,7 @@
|
|||
layer.bindPopup(popupTxt);
|
||||
if (type !== 'marker') {
|
||||
layer.on('mouseover', function() {
|
||||
layer.bringToFront();
|
||||
layer.setStyle(hoverStyle);
|
||||
});
|
||||
layer.on('mouseout', function() {
|
||||
|
|
Loading…
Reference in New Issue