Folium

Latest version: v0.18.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.15.1

~~~~~~

New features

- Use xyzservices instead of templates for tiles (martinfleis 1827)

Improvements

- Add TimeSliderChoropleth stroke colour/width/opacity argument (yutemi 1838)

Bug fixes

- Fix streamlit-folium compatibility (add layer to map with new class) (Conengmo 1834)
- Improve docstring preview readability in features.py (BastienGauthier 1833)

0.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)

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)
- Change internally where layers are added to the map (Conengmo 1690)
- 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)

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:

- All contributors to this release
- giswqs for fixing typos
- pmains for fixing flake8 warnings
- amrutha1098 for fixing tests
- Our maintainers ocefpaf and Conengmo

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

- Restore allowing simple Popup in GeoJson (ocefpaf 1528)

Tests

- Fix test failure with recent branca change on map ids (oefe 1556)

Documentation

- Thanks to oefe, Demetrio92 and giswqs for helping out with the documentation

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

- Remove deprecated Mapbox and Cloudmade tilesets (conengmo 1339)

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)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.