Add missing check
This commit is contained in:
1 parent
c7f78caec9
commit
d9eb9eda60
1 file changed
+1
@@ -116,6 +116,7 @@ ol.control.Attribution.prototype.createAttributionElementsForLayer_ =
|
||||
|
||||
if (!map.isDef ||
|
||||
!layerVisible ||
|
||||
goog.isNull(attributionVisibilities) ||
|
||||
!attributionVisibilities[attributionKey]) {
|
||||
goog.style.showElement(attributionElement, false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user