Fix comment
This commit is contained in:
parent
50f4004ac5
commit
917a538a11
@ -359,7 +359,7 @@ window.updateDisplayedLayerGroup = function(name, display) {
|
|||||||
|
|
||||||
// Read layerGroup status from window.overlayStatus if it was added to map,
|
// Read layerGroup status from window.overlayStatus if it was added to map,
|
||||||
// read from cookie if it has not added to map yet.
|
// read from cookie if it has not added to map yet.
|
||||||
// return true if both overlayStatus and cookie didn't have the record
|
// return 'defaultDisplay' if both overlayStatus and cookie didn't have the record
|
||||||
window.isLayerGroupDisplayed = function(name, defaultDisplay) {
|
window.isLayerGroupDisplayed = function(name, defaultDisplay) {
|
||||||
if(typeof(overlayStatus[name]) !== 'undefined') return overlayStatus[name];
|
if(typeof(overlayStatus[name]) !== 'undefined') return overlayStatus[name];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user