| | |
| | | |
| | | <mapPopup /> |
| | | |
| | | <!-- <campusBuildingSearch /> --> |
| | | <div class="keep-out"> |
| | | 智慧校园 |
| | | </div> |
| | | <campusBuildingSearch /> |
| | | |
| | | <campusNav ref="campusNavRoute" |
| | | v-show="campusNavFlag" /> |
| | | </div> |
| | | </template> |
| | | <script> |
| | |
| | | // 详情弹框显示关闭 |
| | | 'detailsPopup', |
| | | // 全景弹框显示关闭 |
| | | 'panoramaPopup' |
| | | 'panoramaPopup', |
| | | // 校内导航的显示关闭 |
| | | 'campusNavFlag' |
| | | ]) |
| | | }, |
| | | mounted () { |
| | |
| | | |
| | | popup.hide() |
| | | |
| | | const baselayer = that.DC.ImageryLayerFactory.createArcGisImageryLayer({ |
| | | url: |
| | | 'http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' |
| | | const baselayer = that.DC.ImageryLayerFactory.createImageryLayer(that.DC.ImageryType.XYZ, { |
| | | // url: 'https://webmap-tile.sf-express.com/MapTileService/rt?x={col}&y={row}&z={level}' |
| | | |
| | | url: 'https://webmap-tile.sf-express.com/MapTileService/rt?fetchtype=static&x={x}&y={y}&z={z}&project=sfmap&pic_size=256&pic_type=png8&data_name=361100&data_format=merged-dat&data_type=normal' // 行政区划 |
| | | |
| | | }) |
| | | viewer.addBaseLayer(baselayer, { |
| | | iconUrl: 'examples/images/icon/img.png', |
| | |
| | | </script> |
| | | |
| | | <style lang='scss' scope> |
| | | .keep-out { |
| | | position: fixed; |
| | | left: 6px; |
| | | bottom: 2px; |
| | | z-index: 11; |
| | | width: 72px; |
| | | height: 30px; |
| | | line-height: 30px; |
| | | text-align: center; |
| | | background: rgba(0, 0, 0, 0.8); |
| | | color: #fff; |
| | | border-radius: 8px; |
| | | } |
| | | </style> |