Lines Matching refs:overlay

482     const overlay = new ol.Overlay({
492 map.addOverlay(overlay);
499 overlay.setPosition(undefined);
510 overlay.setPosition(evt.coordinate);
576 const overlay = olMapOverlays[key];
577 const m = olMaps[overlay.id];
580 const isBaselayer = overlay.baselayer && (overlay.baselayer).toLowerCase() === 'true';
590 switch (overlay.type) {
593 title: overlay.name,
594 visible: (overlay.visible).toLowerCase() === 'true',
595 opacity: parseFloat(overlay.opacity),
597 url: overlay.url,
599 attributions: overlay.attribution
601 type: overlay.baselayer ? 'base' : 'overlay'
606 title: overlay.name,
607 opacity: parseFloat(overlay.opacity),
608 visible: (overlay.visible).toLowerCase() === 'true',
610 url: overlay.url,
612 'LAYERS': overlay.layers,
613 'VERSION': overlay.version,
614 'TRANSPARENT': overlay.transparent,
615 'FORMAT': overlay.format
619 attributions: overlay.attribution
621 type: overlay.baselayer ? 'base' : 'overlay'
626 fetch(overlay.url).then(function (response) {
631 layer: overlay.layer,
632 matrixSet: overlay.matrixSet
635 options.attributions = overlay.attribution;
637 title: overlay.name,
638 opacity: parseFloat(overlay.opacity),
639 visible: (overlay.visible).toLowerCase() === 'true',
641 type: overlay.baselayer ? 'base' : 'overlay'
647 title: overlay.name,
648 opacity: parseFloat(overlay.opacity),
649 visible: (overlay.visible).toLowerCase() === 'true',
651 url: overlay.url,
653 'LAYERS': overlay.layers,
654 'TRANSPARENT': overlay.transparent,
655 'FORMAT': overlay.format
659 attributions: overlay.attribution,
660 type: overlay.baselayer ? 'base' : 'overlay'
666 // if (overlay.skey !== '') {
683 // 'skey': overlay.skey
727 // visibility: (overlay.visible).toLowerCase() == 'true',
734 // overlay.name,
735 // overlay.url,
737 // layers: overlay.layers,
738 // version: overlay.version,
739 // transparent: overlay.transparent,
740 // format: overlay.format
742 // opacity: parseFloat(overlay.opacity),
743 // visibility: (overlay.visible).toLowerCase() == 'true',
745 // attribution: overlay.attribution