Sizing Leaflet Map inside bootstrap

المشرف العام

Administrator
طاقم الإدارة
I have been trying to change the height of my leaflet map to a percentage inside of bootstrap but everytime I do the map will not draw. Thus, I always have to revert to px value. I'm pretty sure its a simple setting that I'm missing since I am a CSS novice. Here is my css.

body { padding-top: 60px; padding-bottom: 40px; } #map { height: 75%; }

أكثر...
 
أعلى