Fix label on hover not working (fix #631)
This commit is contained in:
parent
c5ca7e5d73
commit
17afb5c47d
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ L.Util.detectFileType = function (f) {
|
||||||
};
|
};
|
||||||
|
|
||||||
L.Util.usableOption = function (options, option) {
|
L.Util.usableOption = function (options, option) {
|
||||||
return typeof options[option] !== 'undefined' && options[option] !== '' && options[option] !== null;
|
return typeof options[option] !== 'undefined' && options[option] !== '';
|
||||||
};
|
};
|
||||||
|
|
||||||
L.Util.greedyTemplate = function (str, data, ignore) {
|
L.Util.greedyTemplate = function (str, data, ignore) {
|
||||||
|
|
|
@ -545,7 +545,7 @@ L.U.Map.include({
|
||||||
|
|
||||||
getOption: function (option) {
|
getOption: function (option) {
|
||||||
if (L.Util.usableOption(this.options, option)) return this.options[option];
|
if (L.Util.usableOption(this.options, option)) return this.options[option];
|
||||||
else return this.getDefaultOption(option);
|
return this.getDefaultOption(option);
|
||||||
},
|
},
|
||||||
|
|
||||||
updateExtent: function() {
|
updateExtent: function() {
|
||||||
|
|
Loading…
Reference in a new issue