Skip to content

Commit

Permalink
Yushan commit fix line endings.
Browse files Browse the repository at this point in the history
  • Loading branch information
prushforth committed Oct 3, 2024
1 parent 4911f2a commit 3da82e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mapml/layers/MapMLLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ export var MapMLLayer = L.LayerGroup.extend({
layer._titleIsReadOnly = true;
} else if (layer._layerEl && layer._layerEl.hasAttribute('label')) {
layer._title = layer._layerEl.getAttribute('label').trim();
} else {
layer._title = M.options.locale.dfLayer;
}
}
function parseLicenseAndLegend() {
Expand Down

0 comments on commit 3da82e9

Please sign in to comment.