Questions tagged [dash-leaflet]

34 questions
0
votes
1 answer

How do I invalidateSize of my leaflet map contained in a bootstrap collapse element on my Dash app?

I am working on adding a bootstrap collapse element with a leaflet map contained within it so that I can toggle open/close the map view. However, the leaflet map is being sized upon app initialization and does not resize when the collapse item is…
Jasol
  • 33
  • 1
  • 8
0
votes
1 answer

Get the bounding box of the visible dash-leaflet map?

This SO question contains an explanation for how to dynamically get the extents of a Leaflet map. I wonder if there is a way of doing this with dash-leaflet, so I can get this in a callback every time a map updates.
prl900
  • 4,029
  • 4
  • 33
  • 40
-1
votes
1 answer

Setting a Maximum Size on Circle Markers

What I am trying to achieve is have a circle marker where the size changes when you zoom in or out, but I want to set a maximum size they can get (instead of just continuing to get bigger). Is there a way to do this using dash-leaflet? From what I…
1 2
3