Skip to content

Changelog for MapLibre for Python

maplibre v0.2.7 (unreleased)

  • Add sources.VectorTileSource (Martenz)

  • Shiny

  • Add input.{output_id}_view_state dict containing {"center", "zoom", "bounds", "pitch", "bearing"}
  • Rename input.{output_id} to input.{output_id}_clicked
  • Rename input.{output_id}_layer_{layer_id} to input.{output_id}_feature_clicked returning layer_id

  • Ipywidget

  • Add Map.view_state dict containing {"center", "zoom", "bounds", "pitch", "bearing"} (#89)
  • Remove Map.center, Map.zoom, Map.bounds

maplibre v0.2.6

  • Add function in maplibre.utils to save map and display it in the browser
  • Add streamlit.components.v1.iframe component

maplibre v0.2.5

  • Add custom LayerSwitcherControl (#69)
  • Add custom InfoBoxControl (#74)

maplibre v0.2.4

  • Add MapboxDraw plugin (#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.center
  • Map.bounds
  • Map.zoom
  • Map.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_id parameter to add_layer method (#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.MapWidget in __init__ and skip tests for MapWidget, because it causes a core dumped error, see anywidget issue
  • Remove requests dependency
  • Remove dead code
  • Add more examples

maplibre v0.1.1

  • Initial PyPI release