We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cdd491 commit 11d486dCopy full SHA for 11d486d
examples/openlayers/echartsBar.html
@@ -6,7 +6,7 @@
6
<link href="http://cdn.bootcss.com/openlayers/4.0.1/ol.css" rel="stylesheet">
7
</head>
8
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%">
9
-<div id="map" style="width: 100%;position:absolute;top: 0;border: 1px solid #dddddd"></div>
+<div id="map" style="width: 100%;height:100%;border: 1px solid #dddddd"></div>
10
<div id="popup"></div>
11
</body>
12
<script type="text/javascript" src="http://cdn.bootcss.com/openlayers/4.0.1/ol-debug.js"></script>
examples/openlayers/echartsPie.html
@@ -191,6 +191,7 @@
191
} else {
192
popup.setPosition(undefined);
193
}
194
+ map.getView().setCenter(e.mapBrowserEvent.coordinate);
195
});
196
197
0 commit comments