Skip to content

Add plumbing for width and height in MapViz.create_html#183

Open
nneibaue wants to merge 4 commits intomapbox:masterfrom
nneibaue:master
Open

Add plumbing for width and height in MapViz.create_html#183
nneibaue wants to merge 4 commits intomapbox:masterfrom
nneibaue:master

Conversation

@nneibaue
Copy link

@nneibaue nneibaue commented Mar 2, 2021

This PR allows the width and height attributes of a MapViz instance to be sent to the .map css class in templates/main.html, thus allowing create_html to render non-fullscreen maps.

Use-case: I am building html reports that utilize MapViz objects in conjunction with other plotting libraries (plotly, matplotlib, etc.), and I need the flexibility to change the size of the map for the html report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant