Skip to content

folium popup width control and icon color #1106

@spanishinquistion

Description

@spanishinquistion

Hello, trying to make a fixed width for all popups in my data map.

Tried using iframes but the nothing changed when I used different values for width and height.

popuptext = ''
iframe = folium.IFrame(popuptext, width=700, height=1000)
popup = folium.Popup(iframe)
folium.Marker(geo_location, popup = popuptext , icon=folium.Icon(color='black')).add_to(marker_cluster)

Any simple way to set the width for a popup in folium?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue describing unexpected or malicious behaviourquestionThe issue contains a question about how to do something

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions