Jvectormap very small on div change

前端 未结 5 516
抹茶落季
抹茶落季 2021-02-09 01:54

I have two divs, one with the world map and one with the US map. When the USA is clicked on the world map I want to hide that div and bring the US map into view.

This wo

5条回答
  •  醉梦人生
    2021-02-09 02:33

    You can also trigger a resize() on the container of that map after showing it.

    I made an example in this post: Switch maps in Jvectormap?

提交回复
热议问题