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
How to use the fitBounds() function with a padding option?
I tried this.$refs.leafmap.fitBounds(this.initbounds,{ padding: [20, 20] })
but it isn’t working that way.
I tried to set a :padding on the LMap component too. But it seems the map doesn't recognize the value. I tried this with number arrays like [50,50] or [50,50,50,50]