python-visualization / folium

Python Data. Leaflet.js Maps.

Home Page:https://python-visualization.github.io/folium/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep original size of image in CustomIcon

RemDelaporteMathurin opened this issue · comments

Hi all,

I'm trying to add a bunch of logos to a map using CustomIcon and when I don't provide the icon size, they are rescaled to a square.

Is there a way to avoid this without having to provide the aspect ratio manually?