| | |
| | | > |
| | | <mapol></mapol> |
| | | </div> |
| | | <add-online-map ref="addOnlineMap" /> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import mapsdk from "./mapsdk" |
| | | import mapol from "./mapol" |
| | | import { transform } from "ol/proj" |
| | | import ol from "ol" |
| | | import $ from "jquery" |
| | | import AddOnlineMap from '../views/Tools/AddOnlineMap.vue' |
| | | export default { |
| | | name: "", |
| | | |
| | | components: { |
| | | mapsdk, |
| | | mapol, |
| | | AddOnlineMap |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | } |
| | | return this.levelArray[this.levelArray.length - 1] |
| | | }, |
| | | showBaseMapLayer() { |
| | | this.$refs && this.$refs.addOnlineMap && this.$refs.addOnlineMap.open("地下模式", null); |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on("setChangeBaseMapLayer", (res) => { |
| | | this.showBaseMapLayer() |
| | | |
| | | |
| | | }) |
| | | // |
| | | this.$bus.$on("changemap", e => { |
| | | if (this.isSplitFlag == 1) { |
| | | this.changeMap(3) |