I've been working on programming a web application and incorporating leaflet to showcase a map. I've set up markers and popups that show up when the markers are clicked. However, I've noticed that the popups look a bit odd right now – the height is too large and the width is too small. I'm trying to adjust the width of the popups.
While browsing through the Vue2Leaflet documentation (), I found out that I can use an options
prop for the l-popup
component. So, I attempted the following:
<l-popup :options="{ width: 600 }" id="popup"></l-popup>
Unfortunately, it didn't have the desired effect. Can anyone guide me on how to correctly pass the width options to change the width of the popup? Or am I going about this all wrong? If so, what's the proper way to modify the width of the l-popup
component?
Appreciate any assistance!