| | |
| | | </template> |
| | | <div class="layer-icon"> |
| | | <div class="layer-btn"> |
| | | <div class="img"></div> |
| | | <div class="img" :style="{'background': loadBgImg}"></div> |
| | | </div> |
| | | </div> |
| | | </a-popover> |
| | |
| | | import { gaodeSearch } from '/@/api/gaode' |
| | | import { SearchOutlined, PlusOutlined, MinusOutlined } from '@ant-design/icons-vue' |
| | | import { useMyStore } from '/@/store' |
| | | import { requireImg } from '/@/utils/common' |
| | | import * as Cesium from 'cesium' |
| | | type result = { |
| | | label: string, |
| | |
| | | store.commit('SET_MAP_SETTING_MODE', type) |
| | | patternMap() |
| | | } |
| | | const loadBgImg = computed(() => { |
| | | if (store.state.common.mapSetting.mode === 0) { |
| | | return `url(${requireImg('icons/stand.png')}) no-repeat center` |
| | | } else { |
| | | return `url(${requireImg('icons/satellite-icon.png')}) no-repeat center` |
| | | } |
| | | }) |
| | | const roadChange = (e:any) => { |
| | | if (mapSetting.value.mode === 0) return |
| | | store.commit('SET_MAP_SETTING_ROAD_LINE', e.target.checked) |
| | |
| | | roadPattern(false) |
| | | } |
| | | } |
| | | const checked = ref(true) |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |