Releases: python-visualization/folium
Releases · python-visualization/folium
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)
v0.9.1
v0.9.0
This version drops support for Python 2.7. (#1100, #1104, #1111) Python 3.5+ is required.
v0.9.0
- Geojson separate style mapping (conengmo #1058)
- Warn for wrong color values in Icon (conengmo #1099)
- Use Jinja2's
tojson
filter to convert data (conengmo #1101) - Pass **kwargs as options to Leaflet classes (conengmo #1101)
- Explicit coordinate validation (conengmo #1090)
- Add
icon_create_function
arg toFastMarkerCluster
plugin (Gordonei #1109) - Add
PolyLineOffset
plugin (FabeG #1091) - Add Locate Control plugin (fullonic #1116)
- Add Leaflet
CustomPane
class (Ipkirwin #1094)
API changes
- Remove
add_tile_layer
method fromMap
(conengmo #1127) - Remove args from
Map
, if needed useTileLayer
instead (conengmo #1127)
Bug fixes
v0.8.3
v0.8.2
v0.8.0
0.8.0
- Warn when using geojson data with GeometryCollection type in GeoJsonToolTip (jtbaker #988)
- Change default popup width from 300px to 100% (ocefpaf #1040)
- Automatically detect VegaLite version from specs (JarnoRFB #959)
- Validate style and highlight functions in GeoJson (jtbaker #1024)
- AntPath plugin (ocefpaf #1016)
- Update Leaflet version to 1.4.0 (conengmo #1047)
- DualMap plugin (conengmo #933)
- CirclePattern and StripePattern plugins (talbertc-usgs #966)
- Add option to make Marker draggable (Conengmo #1053)
- Example notebook on creating polygons from points (HZALK #1056)
API changes
- Improved Search plugin (jtbaker #995)
Bug Fixes
v0.7.0
0.7.0
- Fixed HeatMap silently fail on incompatible data types (ocefpaf 1017)
- Proper scaling on mobile phones (Conengmo 992)
- Update leaflet to 1.3.4 (ocefpaf #939)
- More options (tms, opacity, kwargs) in TileLayer (mpickering #948)
- Add MousePosition plugin (btozer #916)
- Add Minimap plugin (talbertc-usgs #968)
- Replace Rawgit CDN with Githack (jtbaker #1002)
- Handling of NaN and missing values in choropleth (FloChehab #1005)
API changes
threshold_scale
argument of choropleth is replaced bybins
(FloChehab #1005)Map.choropleth()
moved toChoropleth
class, former is deprecated (Conengmo #1011)
Bug Fixes
- Fix wrong default value for fmt argument of WmsTileLayer (conengmo #950)
- Fix icon_create_function argument in MarkerCluster (conengmo #954)
- Update stylesheet url in TimestampedGeoJson (frodebjerke #963)
- Use Javascript template literals in Tooltip and Popup (jtbaker #955 #962)
- Proper scaling on mobile phones (conengmo #992)
v0.6.0
0.6.0
Popup
accepts new argumentsshow
(render open on page load) andsticky
(popups
only close when explicitly clicked) (jwhendy #778)- Added leaflet-search plugin (ghandic #759)
- Improved Vector Layers docs, notebooks, and optional arguments (ocefpaf #731)
- Implemented
export=False/True
option to the Draw plugin layer for saving
GeoJSON files (ocefpaf #727) - Internal re-factor to reflect leaflet's organization (ocefpaf #725)
- Added
tooltip
support toMarker
s (ocefpaf #724) - Added
tooltip
support to all vector layers (ocefpaf #722) - Added
TimeSliderChoropleth
plugin (halfdanrump #736) - Added
show
parameter to choose which overlays to show on opening (conengmo #772) - Added BeautifyIcon Plugin (arthuralvim and jeremybyu #819)
- Explicit WMSTileLayer options, accept all **kwargs (conengmo #838)
- Updated links to Draw plugin (conengmo #868)
- Ingest any object that
__geo_interface__
(ocefpaf #880) - Added
FeatureGroupSubGroup
plugin (shtrom #875) - Added
duration
option toTimestampedGeoJson
(andy23512 #894) - Added
zoom_control
toMap
to toggle zoom controls as per enhancement (#795) (okomarov #899) - Change default
date_options
in TimestampedGeoJson (andy23512 #914) - Added gradient argument to HeatMapWithTime (jtbaker #925)
- Added
Tooltip
andGeoJsonTooltip
classes (jtbaker #883)
API changes
- Refactor
ImageOverlay
,VideoOverlay
,WmsTileLayer
, andTileLayer
to a
newraster_layers.py
module (ocefpaf #729) Rectangle
andPolygon
were renamed and set to leaflet's defaults.
Both now accepted allPath
's optional arguments (ocefpaf #722)
Bug Fixes
- Fixed numpy array bug (#749) in _flatten
- Unify
get_bounds
routine to avoid wrong responses - If Path option
fill_color
is present it will overridefill=False
- Fix disappearing layer control when using FastMarkerCluster (conengmo #866)
- Host heatmap.js to circumvent adblockers (conengmo #886)
- Fix permission error in Map._to_png() due to tempfile (conengmo #887)
- Replace strftime use in TimesliderChoropleth example (conengmo #919)