Releases: python-visualization/folium
Releases · python-visualization/folium
v0.15.0
v0.15.0
Breaking changes
- Drop support for Python 3.5 and 3.6 (@ocefpaf #1729)
- Remove deprecated Stamen tiles (@ocefpaf #1811)
- Remove
_env
instance attributes (@Conengmo #1817) - Use write_png from Branca, remove from Folium (@Conengmo #1708)
- Remove deprecated Map.choropleth method (@Conengmo #1684)
- Change internally where layers are added to the map (@Conengmo #1690)
New features
- Draggable layer control option (@Conengmo #1760)
- Add fit enabled overlays feature (@Conengmo #1693)
- Add type hints (@Conengmo #1677)
Improvements
- Update jquery to v3.7.1 (@BastienGauthier #1824)
- Update leaflet.fullscreen plugin to 3.0.0 (@afontenot #1818)
- Allow Choropleth key_on to traverse through array (@amrutharajashekar #1772)
- Support TagFilterButton in PolyLine, AntPath and GeoJson (@jamiechoi1995 #1756)
- Multiple instances of TimeSliderChoropleth on a single map (@Conengmo #1749)
- Make VectorGridProtobuf an overlay by default (@iwpnd #1723)
- TimestampedWmsTileLayers inherit from MacroElement, not Layer (@Conengmo #1696)
- SideBySideLayers inherit from MacroElement, not Layer (@Conengmo #1695)
- Consolidate duplicate utility functions with Branca (@Conengmo #1676)
Bug fixes
- Fix interaction between DualMap and Draw (@Qweaper #1776)
- Fix MeasureControl plugin for Leaflet>=1.8.0 (@Conengmo #1748)
- Pin older version of leaflet side by side to fix SideBySideLayers plugin (@jtmiclat #1732)
- Fix Map.show_in_browser() by adding local file prefix to url (@RileyLeff #1704)
Documentation
- Deprecate example notebooks (@Conengmo #1798)
- Documentation overhaul (@Conengmo #1700)
- Update example notebooks after new Pandas version (@Conengmo #1761)
New Contributors
- @francesco-ballarin made their first contribution in #1685
- @RileyLeff made their first contribution in #1704
- @jtmiclat made their first contribution in #1732
- @jamiechoi1995 made their first contribution in #1756
- @Qweaper made their first contribution in #1776
- @afontenot made their first contribution in #1818
- @BastienGauthier made their first contribution in #1824
Full Changelog: v0.14.0...v.0.15.0
v0.14.0
0.14.0
Breaking changes
- Use keyword arguments as CSS properties in FloatImage (@Conengmo #1668)
- Upgrade Leaflet 1.6.0 to 1.9.3, set default font size (@Conengmo #1660)
- Upgrade Bootstrap 3.2.0 to 5.2.2 (@Conengmo #1650)
New plugins
- Add GroupedLayerControl plugin (@chansooligans #1592)
- Add SideBySide plugin (@fralc #1292)
- Add TagFilterButton plugin (@Waffleboy #1343)
Major improvements
- Add optional Jenks Natural Breaks Optimization to Choropleth (@pmains #1634)
- Add Map.show_in_browser() method (@Conengmo #1651)
- Accept TileProvider objects from the xyzservices package (@martinfleis #1498)
- Add support for Vega-Lite v4 and v5 (@wd60622 #1525)
- Upgrade Font Awesome 4.6.3 to 6.2.0 (@Sujithkumardola #1637)
Minor improvements
- Allow cql_filter argument in WmsTileLayer (@Conengmo #1673)
- Silently allow lowerCamelCase for vector path options (@Conengmo #1672)
- Allow html popups and templating in ClickForMarker (@Conengmo #1666)
- Add show_geometry_on_click argument to Draw plugin (@Conengmo #1657)
- Automatically join string and numeric key_on values for Choropleth (@alessioarena #1193)
- Add speed_slider argument to TimeStampedGeoJson (@gokyori #1279)
- Add gradient option to vector path options (@nocturnalAndroid #1433)
- Add initial timestamp argument to TimeSliderChoropleth (@jjbenes #1435)
- Allow passing TileLayer to Map (@Conengmo #1624)
- Use fullscreen window in Map._to_png() (@Conengmo #1656)
- Expose webdriver argument in Map._to_png() (@WooilJeong #1620)
- Export the map only in Map._to_png() (@Vayel #1197)
Bug fixes
- Fix LayerControl visibility on multiple renders (@Conengmo #1674)
- Fix the new TagFilterButton plugin, it's not a Layer (@Conengmo #1671)
- Fix TopoJson object path lookup (@Conengmo #1665)
- Fix Choropleth when
bins
is a list of integers (@Conengmo #1664) - Fix attribution links in Notebooks opening within iframe (@Conengmo #1655)
- Fix empty geojson failing when using style_function (@agussman #1213)
- Fix Marker location validation for numpy array (@Conengmo #1647)
- Fix date sorting in TimeSliderChoropleth (@Ade-StapleHill #1503)
- Fix unescaped backticks in Popup (@Conengmo #1642)
- Fix
map.get_bounds()
when using GeometryCollection (@amrutha1098 #1633) - Fix ClickForLatLng not imported in init (@amrutha1098 #1627)
Documentation
- More Flask examples (@Conengmo #1675)
- Add PolyLine example to Quickstart.ipynb (@IamPhytan #1492)
Thanks to:
v0.13.0
0.13.0
- Lazy popup: only load content on click (@marciogranzotto #1511)
- Add Leaflet.VectorGrid plugin: VectorGridProtobuf (@iwpnd #1576)
- Add blur parameter to HeatMapWithTime plugin (@Demetrio92 #1529)
- New ClickForLatLng class: click to save lat/lon to clipboard (@BibMartin #1530)
- Add width parameter to css for FloatImage (@beautah #1570)
- Add support for tooltips in TimestampedGeoJson objects (@tblundy #1472)
- Expose GeoJson's web retrieval to its own function (@beautah #1458)
Bug fixes
Tests
Documentation
- Thanks to @oefe, @Demetrio92 and @giswqs for helping out with the documentation
v0.12.1
- Minor bugfix on the version number in the source distribution
v0.12.1
v0.12.0
0.12.0
- GeoJson add
zoom_on_click
option, default False (@Conengmo #1349) - Add Geocoder plugin (@WBP20 #1323)
- Replace githack.com CDN with jsdelivr.com (@Conengmo #1337)
- Add SemiCircle plugin (@kuaka #1238)
- Move hardcoded JS CDN links to class variables (@and-viceversa @Conengmo #1312 #1416)
- Treat data uris as valid (@Kirill888 #1428)
- Add GeoJson marker option (@jtbaker #957)
Bug fixes
- Fix TimeSliderChoropleth breaking when using layer control (@markhudson42 #1380)
- Fix GeoJson data loading (@Conengmo #1353)
- Fix heatmap weights/intensity (@Conengmo #1354 #1282)
- Fix multiple GeoJsonPopup 'name_getter' JS SyntaxError (@jtbaker #1347)
- Fix TimestampedWmsTileLayers layer control (@Conengmo #1319)
API changes
v0.11.0
0.11.0
- Upgrade Leaflet 1.5.1 -> 1.6.0 (@conengmo #1241)
- Add auto_start parameter to locate control plugin (@fullonic #1220)
- New feature: GeoJsonPopup (@jtbaker #1023)
Bug fixes
- Choropleth: default color for with and without data (@conengmo #1288)
- Update WMS data url in WmsTimeDimension example notebook (@sknzl #1259)
- Search plugin: fix position argument (@jjbenes #1304)
- Fix GeoJsonPopupAndTooltip example notebook (@conengmo #1298)
- Change geopandas dataframe `to_crs()` usage syntax (@artnikitin #1251)
- GeoJson: fix `show` parameter when embedding data (@conengmo #1289)
- Use https CDN for leaflet.timedimension.control.min.css (@sknzl #1256)
- Host leaflet-heatmap.js under different name to avoid adblockers (@conengmo #1240)
API changes
- Removed unused `folium.utilities.iter_points` function, use instead `iter_coords` (@conengmo #1294)
v0.10.1
0.10.1
Bug fixes
- Fix TimeSliderChoropleth plugin broken setStyle (@khllkcm #1227)
- Fix HeatMapWithTime plugin (@farisnanosoft @Conengmo #1228)
- Fix adding GeoJSON to MarkerCluster (@Conengmo #1190)
Documentation
- Typo corrections in examples/Colormaps.ipynb (@nik-ahuja #1215)
v0.10.0
0.10.0
- Add user location plugin LocateControl (@fullonic #1116)
- Bump Leaflet version from 1.4.0 to 1.5.1 (@ocefpaf #1149)
- Choropleth: warn if
key_on
not found in data (@evwhiz #1144)
Bug fixes
- Fix layer control in DualMap plugin (@Conengmo #1156)
- Fix typo in DivIcon options (@fullonic #1181)
- Fix JS error in Draw plugin export option (@fullonic #1180)
- Fix typo in color options in Icon (@adnanhemani #1171)
- Fix draw and edit options in Draw plugin (@mccarthyryanc #1175)
- Remove warnings about conflicts with Draw plugin (@fullonic #1184)
- More explicit
key_on
check in Choropleth (@LeandroOrdonez #1169)
Documentation
- Add Flask example (@penguindustin #1140)
- Improve contribution guide (@LeonardoFurtado #1173)