修改代码
This commit is contained in:
parent
61564dfdbf
commit
5d6a7fd637
@ -184,30 +184,23 @@ export default {
|
||||
},
|
||||
// 设置显示图层
|
||||
setShowLevel(level) {
|
||||
if (this.$jlmap) {
|
||||
console.log('设置显示图层');
|
||||
// this.$jlmap.setShowLevel(level);
|
||||
}
|
||||
console.log(level);
|
||||
console.log('设置显示图层');
|
||||
// this.$jlmap && this.$jlmap.setShowLevel(level);
|
||||
},
|
||||
// 设置逻辑视图Level
|
||||
setShowLogicalLevel(levels) {
|
||||
if (this.$jlmap) {
|
||||
console.log('设置逻辑视图Level');
|
||||
// this.$jlmap.setShowLogicalLevel(levels);
|
||||
}
|
||||
console.log('设置逻辑视图Level');
|
||||
// this.$jlmap && this.$jlmap.setShowLogicalLevel(levels);
|
||||
},
|
||||
// 设置物理视图Level
|
||||
setShowPhysicalLevel(levels) {
|
||||
if (this.$jlmap) {
|
||||
console.log('设置物理视图Level');
|
||||
// this.$jlmap.setShowPhysicalLevel(levels);
|
||||
}
|
||||
console.log('设置物理视图Level');
|
||||
// this$jlmap && this.$jlmap.setShowPhysicalLevel(levels);
|
||||
},
|
||||
// 设置显示中心
|
||||
setShowCenter(deviceCode) {
|
||||
if (this.$jlmap) {
|
||||
this.$jlmap.setCenter(deviceCode);
|
||||
}
|
||||
this.$jlmap && this.$jlmap.setCenter(deviceCode);
|
||||
},
|
||||
// 监听缩放事件
|
||||
onDataZoom(dataZoom) {
|
||||
|
Loading…
Reference in New Issue
Block a user