Closed lblinovs closed 8 years ago
Created a workaround where I would change bubbles radius based on map scale
value. And to fix border resizing I added a css property vector-effect: non-scaling-stroke
@lblinovs that CSS property fix looks great, I think that should be added to the core project. Nice find.
The css property deals with borders, but the bubbles are still oversized because of scale. Why not just re-render the whole thing instead of using scale?
So we use USA map with bubles and
responsive: true
. And on resize we callmap.resize()
.If we initially render map on smaller screen:
And then resize it:
Bubbles and borders become huge.