If the div carrying the map is hidden and then displayed, it will be positioned to the upper left corner of the page when positioned

If the div carrying the map is hidden and displayed again, it will be positioned to the upper left corner of the page when positioned.
Solution: do not hide, change the height of the div. Add a new opaque div to the div using z-index.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324653997&siteId=291194637