<style type="text/css">
* {
margin: 0;
padding: 0;
}
html, body, #echarts-google-map {
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
html, body, #echarts-google-map {
width: 800px;
height: 1200px;
overflow: hidden;
}
</style>
it didn’t change anything... However if I add tooltip: {},
it works
<style type="text/css">
* {
margin: 0;
padding: 0;
}
#echarts-google-map {
width: 800px;
height: 1200px;
overflow: hidden;
}
</style>
</head>
<body>
<div id="echarts-google-map"></div>
<!-- data is only for example -->
<script type="text/javascript">
var heatmapDataURI = 'https://fastly.jsdelivr.net/gh/apache/echarts-examples/public/data/asset/data/hangzhou-tracks.json';
var option = {
// google map component
gmap: {
// More initial options...
},
tooltip : {},
visualMap: {
// ...
},
Do you think this is a bug or I’m not doing the right thing to change the map dimensions ?