Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
Update build and changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtoye committed Oct 2, 2013
1 parent fb78555 commit c057781
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ An in-progress version being developed on the master branch.
### Bug fixes

* Fix bug where map view hard reset did not update labels. (by [@dagjomar](https://github.com/dagjomar)). [#43](https://github.com/Leaflet/Leaflet.label/pull/43)
* Fix issue where non static labels would remain visible if the latlng of the marker changed.

## 0.1.4 (August 20, 2013)

Expand Down
10 changes: 10 additions & 0 deletions dist/leaflet.label-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,16 @@ L.Marker.include({
if (this.label) {
this.label.setOpacity(this.options.labelHasSemiTransparency ? this.options.opacity : absoluteOpacity);
}
},

_originalSetLatLng: L.Marker.prototype.setLatLng,

setLatLng: function (latlng) {
if (this.label && !this._labelNoHide) {
this.hideLabel();
}

return this._originalSetLatLng(latlng);
}
});

Expand Down
2 changes: 1 addition & 1 deletion dist/leaflet.label.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c057781

Please sign in to comment.