修改代码

This commit is contained in:
ival 2019-07-25 14:19:55 +08:00
parent 61564dfdbf
commit 5d6a7fd637

View File

@ -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) {