|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div id="maps">
|
|
|
- <div id="chartMap" class="" style="height:450px;"></div>
|
|
|
+ <div id="chartMap" class="" style="width:100%;height:550px;"></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -31,7 +31,6 @@ export default {
|
|
|
methods: {
|
|
|
async init() {
|
|
|
let newJson = this.setPos(_.cloneDeep(jlJson));
|
|
|
- console.log(newJson);
|
|
|
let city = jlJson.features.map(i => {
|
|
|
let object = {};
|
|
|
object.name = _.get(i.properties, 'name');
|
|
@@ -47,6 +46,7 @@ export default {
|
|
|
trigger: 'item',
|
|
|
},
|
|
|
geo: {
|
|
|
+ // zoom: 1.3,
|
|
|
type: 'map',
|
|
|
map: '吉林',
|
|
|
label: {
|