You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using jVectorMap (latest version 2.0.3) to create a map inside of a div.
However, no matter what I do, the map takes up only a small portion of the div. It seems that it is due to
I have tried setting the size on the containing div, I've tried various css solutions, but it still doesn't allow me to resize. The background color resizes, but the SVG element simply does not.
I'm using jVectorMap (latest version 2.0.3) to create a map inside of a div.
However, no matter what I do, the map takes up only a small portion of the div. It seems that it is due to
I have tried setting the size on the containing div, I've tried various css solutions, but it still doesn't allow me to resize. The background color resizes, but the SVG element simply does not.
How do I resize the SVG element with jVectorMap?
Here is my script:
<script> $('#map').vectorMap({ map: 'world_mill_en', regionsSelectable: 1, regionStyle: { initial: { fill: 'white', "fill-opacity": 1, stroke: 'none', "stroke-width": 0, "stroke-opacity": 1 }, hover: { "fill-opacity": 0.8 }, selected: { fill: 'blue' }, selectedHover: { } } }); </script>The text was updated successfully, but these errors were encountered: