| | |
| | | ]), |
| | | interactions: defaultInteractions().extend([new DragRotateAndZoom()]), |
| | | }) |
| | | |
| | | var base_ulr = window.sceneConfig.baseUrl; |
| | | if (base_ulr.indexOf('{host}') > -1) { |
| | | base_ulr = base_ulr.replace("{host}", iisHost) |
| | | } |
| | | window.olBaseMapLayer = new TileLayer({ |
| | | title: "高德地图", |
| | | source: new XYZ({ |
| | | url: gaoDeBaseUrl[1].url, |
| | | url: base_ulr, |
| | | wrapX: false |
| | | }) |
| | | }); |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | cursor: pointer; |
| | | border: 1px solid rgba(255,255,255,.5); |
| | | border: 1px solid rgba(255, 255, 255, 0.5); |
| | | //position: absolute; |
| | | //bottom: 1%; |
| | | //left: calc(1% + 75px); |
| | |
| | | background-repeat: no-repeat; |
| | | background-size: contain; |
| | | } |
| | | .changeLayer{ |
| | | .changeLayer { |
| | | position: absolute; |
| | | bottom: 84px; |
| | | right: 46px; |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | cursor: pointer; |
| | | border: 1px solid rgba(255,255,255,.5); |
| | | border: 1px solid rgba(255, 255, 255, 0.5); |
| | | } |
| | | </style> |