pypi / leafmap
leafmap
What changed in leafmap 0.53 to 0.64, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
15 breaking28 new APIs and options1 performance11 behavior and defaults45 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initleafmap 0.6450 changes
Breaking changes 12
Popup text in leafmap MapLibre maps is now dark gray (#212121) in both dark and light themes, making popups and tooltips readable in dark notebook themes.
Applies transforms to GeoJSON collections.
Uses GeoParquet metadata for CRS when src_crs is omitted, defaulting to OGC:CRS84 when no CRS is recorded; custom SQL queries and multi-file sources still need src_crs.
The minimum required version is now 2.3.1.
Returns the name the layer was added under; if the name is taken, adds it as
name_1and renames its layer id to match.Without
dtype, float arrays written to GeoTIFF/COG stay float32 or float64 instead of being narrowed to integers.Raises
ValueErrorfor geometry inputs without a CRS, unless they are GeoJSON dicts orgeom_crsis provided.No longer disables TLS certificate verification when calling gdown.
Raises on HTTP errors instead of saving the error page as data.
Parsed as a boolean; only
1,true,yes,yandonenable the queue.Replaces the bundled Arial font with Liberation Sans.
Removes the broken heremap plotting backend.
New APIs and options 4
Adds the floating option, defaulting to True; pass False to show a floating switcher because layers are otherwise managed in the sidebar layer manager.
CARTO raster and vector basemaps in ipyleaflet, folium, and MapLibre now include the required API key, configurable through this environment variable or a Colab secret.
New helper returns an Overture PMTiles URL for a theme and release.
Supports single Polygon and MultiLineString geometries.
Behavior and default changes 8
The layer manager slider now keeps a fixed 90px width, while long layer names are truncated with an ellipsis.
leafmap.maplibregl.Map adds this CSS class to its map widget so the popup styling applies only to leafmap maps.
Applies transforms to GeoJSON collections.
Defaults to
startDatetimeandendDatetime; a missing column now raises a clearValueError.Supports string dtypes.
Datetime columns in any time unit are supported.
Basemaps from xyzservices now work with deck.gl.
Pins localtileserver below 1.0.
Fixes and other changes 26
The MapLibre layer manager checkboxes now fit inside the floating sidebar panel, removing the horizontal scrollbar in JupyterLab.
MapLibre widgets now work with both ipyvuetify 1.x and 3.x.
The style panel no longer leaves a large gap below its buttons, and its content lines up with the other sidebar panels.
CartoDB basemaps are available again after the free-provider filter stopped including them when xyzservices marked CARTO providers as requiring a key.
Waits up to 60 seconds for TiTiler, preventing cold requests for large COGs from producing an empty layer.
The helper now reads the latest release from the Overture STAC catalog because the old upstream endpoint was removed.
Icons are no longer truncated, dark-mode controls are more readable, layers list top-most first with the background at the bottom, and spacing and checkbox alignment are improved.
Works with current pandas.
PMTiles now load from the current Overture tile endpoint after the old upstream endpoint was removed.
Header reads now fail with a clear error on hosts that compress range responses.
Preserves CRS from GeoParquet metadata and no longer requires fiona.
MapLibre
add_vector_tilenow works.Compatibility is restored for the removed pandas
applymap.The folium
colormap_nameoption now works, including with categorical colormaps such as NLCD.Imports again on Python 3.9.
OpenStreetMap functions work with osmnx 2.x; osmnx 1.x continues to work.
The toolbar split-basemap tool now works.
Works with its default arguments.
Kept map control widgets legible in Colab dark mode.
Fixed toolbar flickering in recent frontends.
Fixed zoom_to_layer flickering in recent frontends.
OpenStreetMap tile requests now send a Referer so tiles load on Colab.
Applies the crs argument when latitude/longitude columns are used.
Fixes tilt for projected CRS.
Fixes nodata color stretch.
Fixes a KeyError in The_national_map_USGS.prodFormats.
leafmap 0.634 changes
Performance 1
DataFrame conversion utilities were sped up, which may improve conversion performance for developers using them.
Fixes and other changes 3
Local tile URLs are routed through jupyter-loopback.
Layer type checks use get() to avoid KeyError in the inspector GUI.
Toolbar hover events are debounced to stop flickering.
leafmap 0.623 changes
New APIs and options 1
A localtileserver prefix can now be overridden.
Fixes and other changes 2
Fixes inferred prefix behavior on JH.
Sidebar panels now enforce explicit colors.
leafmap 0.611 changes
Breaking changes 1
The default TiTiler endpoint was updated.
leafmap 0.607 changes
Breaking changes 1
Temporary HTML files are now placed in the system temporary directory.
New APIs and options 2
Adds the Chesapeake Bay Watershed Land Cover legend.
Adds a module for Terrascope STAC API integration.
Behavior and default changes 1
TerraScope authentication was updated.
Fixes and other changes 3
Fixed the gray background in split_map when using vector layers.
Fixes bugs in the fire module.
Fixes an error in NASA Earth data search.
leafmap 0.593 changes
New APIs and options 2
Adds support for visualizing NASA fire datasets.
Adds support for TiTiler-CMR.
Fixes and other changes 1
The common module is restored.
leafmap 0.582 changes
New APIs and options 1
Adds the wms_to_geotiff function for converting WMS data to GeoTIFF.
Fixes and other changes 1
Adds error handling when the tiles key is missing in a stac_tile response.
leafmap 0.5717 changes
Breaking changes 1
The pixel inspector displays coordinates with more decimal points.
New APIs and options 7
Adds a method to close database connections.
Adds a function for generating a latitude-longitude grid.
Adds the legend_dict attribute to map.
Adds support for creating a local TiTiler endpoint.
Adds the ee_initialize function.
Added the add_geotiff method.
Added more parameters to add_geotiff.
Behavior and default changes 2
The sidebar flag was updated.
The TiTiler bounds endpoint was updated.
Fixes and other changes 7
The common module was restored, making it available to developers again.
A bug in add_data was fixed.
The default import for maplibre was updated, which may affect how developers import it.
Adds TiTiler support for Colab.
Fixes an issue with fit_bounds.
Fixed a bug in fit_bounds.
Fixes the vector z-order issue and improves add_geojson.
leafmap 0.566 changes
New APIs and options 5
Add the add_nwi method to maplibre.
Add the clip_raster function.
More functions are available by default.
Export df_to_gdf from the default import.
Add the stack_bands function.
Fixes and other changes 1
The add_geojson method was updated.
leafmap 0.554 changes
New APIs and options 3
Adds support for visualizing Copernicus data.
Adds support for DuckDB vector tiles.
Adds a container for a floating sidebar.
Fixes and other changes 1
Fixes the tool template so it returns None.
leafmap 0.541 changes
New APIs and options 1
Adds support for visualizing historical imagery.
leafmap 0.532 changes
New APIs and options 2
Adds a function for retrieving Wayback layers.
The CLI now supports band selection when viewing rasters.