Changelog for MapLibre for Python
maplibre v0.3.5
- Fix #142 (thx to @nuayge)
maplibre v0.3.4
- Fix pydantic list bug in
basemaps.pyandlight.py(#144) - Rename
basemap.BasemapStyletobasemap.Basemap - Move Shiny bindings to
maplibre.shiny - Add
maplibre.__future.__.controls.GeocodingControlmaplibre.__future.__.ipywidget.MapWidget.- See also maplibre-gl-geocoder.
Note: maplibre-geocoder-css overwrites maptiler-geocoder-css
maplibre v0.3.3
- Switch to MapLibre GL JS v5.3.1
- Bundle
maplibregl-jswith bindings - Add MapTiler Geocoding Control (#138):
maplibre.controls.MapTilerGeocodingControl - Add
Map.base_layersproperty
maplibre v0.3.2
- Add
Sky(#135),Light(#137) andTerrain(#134) style specifications - Add
TerrainControl - Add
RasterDEMSource - Add
RasterSourceas alias forRasterTileSource - Add
VectorSourceas alias forVectorTileSource - Add
BasemapStyleas successor toconstruct_basemap_style - Add
BasemapStyle.symbol_layersto get symbol layers from style - Add
BasemapStyle.carto_urletc as successors toconstruct_carto_basemap_urletc
maplibre v0.3.1
- Switch to MapLibre GL JS v5.3.0
- Add
Map.set_projectionandGlobeControlto switch between globe and mercator projection
maplibre v0.3.0
- Add 3d-buildings example
- Add
basemaps.OpenFreeMap - Make
shinyandhtmltoolsdependency optional - Make
anywidgetdependency optional - Add Mapbox Draw Ipywidget callbacks for
draw.createdraw.updatedraw.delete
maplibre v0.2.8
- Add Mapbox Draw Shiny callbacks for
draw.createdraw.updatedraw.delete
maplibre v0.2.7
-
Add
basemaps.MapTiler -
Add
maplibre.__future__ -
Add
Map.fit_bounds -
Add expression helpers
maplibre.expressions: interpolatestep_exprquantile_exprmatch_exprcolor_step_exprcolor_quantile_exprcolor_match_exprfilter_expr-
range_filter -
Add support for
pydeck.Layerfor Map.add_deck_layersand-
Map.set_deck_layers -
Add
sources.SimpleFeaturesforgeopandas.GeoDataFramesources -
Support
geopandas.GeoDataFrameas source in Layerand-
Map.add_source -
Add more parameters to
Mapclass for simpler map initialization: layers: listsources: dict-
controls: list -
Add
positionattribute toControlclasses -
Add
sources.VectorTileSource(Martenz) -
Shiny
- Add
input.{output_id}_view_statedict containing{"center", "zoom", "bounds", "pitch", "bearing"} - Rename
input.{output_id}toinput.{output_id}_clicked -
Rename
input.{output_id}_layer_{layer_id}toinput.{output_id}_feature_clickedreturninglayer_id -
Ipywidget
- Add
Map.view_statedict containing{"center", "zoom", "bounds", "pitch", "bearing"}(#89) - Remove
Map.center,Map.zoom,Map.bounds
maplibre v0.2.6
- Add function in
maplibre.utilsto save map and display it in the browser - Add
streamlit.components.v1.iframecomponent
maplibre v0.2.5
- Add custom
LayerSwitcherControl(#69) - Add custom
InfoBoxControl(#74)
maplibre v0.2.4
- Add
MapboxDrawplugin (#59) - Add Shiny input concerned to
MapboxDraw: <output_id>.draw_features_selected- Add interactive attributes to IpyWidget concerned to
MapboxDraw: Map.draw_features_selected(list)Map.draw_feature_collection_all(dict)
maplibre v0.2.3
- Add interactive attributes to IpyWidget
Map.centerMap.boundsMap.zoomMap.lat_lng>Map.clicked(rename)- Change map option types
MapOptions.zoom: int>Union[int, float]MapOptions.bearing: int>Union[int, float]MapOptions.pitch: int>Union[int, float]- Add conda badges and installation instructions
maplibre v0.2.2
- Add support for PMTiles (#55)
maplibre v0.2.1
- Do not add navigation control by default (#31)
maplibre v0.2.0
- Support Deck.GL layers (#28)
maplibre v0.1.6
- Add
before_idparameter toadd_layermethod (#45, #47) - Add example showing how to insert a layer before labels
maplibre v0.1.5
- Update deprecated render function to support
shiny>=0.7.0
maplibre v0.1.4
anywidget>=0.9.0(#36)
maplibre v0.1.3
- Display all properties in popup and tooltip if
prop = None(#26) - Support mustache templates for popups and tooltips (#27)
maplibre v0.1.2
- Add
Map.set_data - Add
Map.set_visibility - Do not import
ipywidget.MapWidgetin__init__and skip tests forMapWidget, because it causes acore dumpederror, see anywidget issue - Remove
requestsdependency - Remove dead code
- Add more examples
maplibre v0.1.1
- Initial PyPI release