You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/10/18 08:45:22 UTC
[GitHub] [incubator-echarts] bcpelletier commented on issue #11421:
.resize() with map not displaying correctly the map
bcpelletier commented on issue #11421: .resize() with map not displaying correctly the map
URL: https://github.com/apache/incubator-echarts/issues/11421#issuecomment-543605922
If we have these styles
map {
width: calc(100% - 650px);
height: 100%;
float: left;
}
map--expanded {
width: 100% !important;
height: 100%;
}
And this div
<div class="map" id="chart">
<!-- chart with a map initializes and displays here -->
</div>
and then change the div to
<div class="map map--expanded" id="chart">
</div>
and call resize() so that the chart resizes the map displays incorrectly and only shows itself correctly if the user clicks on the map and makes some movement.
inf echarts 4.3 this work perfect, in 4.4 it works incorrectly (as I have described).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org