How can I set my map to fill more of the map.container? If I force it changing map.gl in CSS then the hover components are offset. Setting the style in the app.py file doesn’t affect this size.
1 Like
Hello @tangedahl,
You need to adjust the margins in the layout.
I was able to figure it out without CSS, this needs to go in the DIV tag for the Map Container.
config={
‘displayModeBar’: True,
‘scrollZoom’: True,
# Force the map to take size from container
‘responsive’: True
},
What I meant by margins was the actual margins argument in the graph…
3 Likes