mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Maps] Fix layer visibility (#29275)
This commit is contained in:
parent
b5bb7c7a31
commit
99e3450059
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ export class ALayer {
|
|||
layerDescriptor.minZoom = _.get(options, 'minZoom', 0);
|
||||
layerDescriptor.maxZoom = _.get(options, 'maxZoom', 24);
|
||||
layerDescriptor.alpha = _.get(options, 'alpha', 0.75);
|
||||
layerDescriptor.visible = options.visible || true;
|
||||
layerDescriptor.temporary = options.temporary || false;
|
||||
layerDescriptor.style = options.style || {};
|
||||
layerDescriptor.visible = _.get(options, 'visible', true);
|
||||
layerDescriptor.temporary = _.get(options, 'temporary', false);
|
||||
layerDescriptor.style = _.get(options, 'style', {});
|
||||
return layerDescriptor;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue