- dropped support for Python 3.8; now requires >= 3.9
- dropped support for MacOS 10 and 11; now requires MacOS >= 12. MacOS wheels are only available for Apple Silicon (Arm64).
- upgraded
maplibre-gl-native
to9dbc0ae
, which enables the new Metal rendering engine on MacOS. - now building manylinux wheels for Linux, including the required dependencies, which enables pymgl to be installed directly from PyPI.
- migrated bindings from
pybind11
tonanobind
for smaller, faster bindings (#11) - upgraded
maplibre-gl-native
to02c196a
- added several methods to describe layer and map style state (#12):
- added
getFilter
to retrieve a layer's filter and andsetFilter
to set it - added
getVisibility
to retrieve a layer's visibility andsetVisibility
to set it - added
getLayerJSON
to serialize a layer's properties to JSON - added
listLayers
to list layers in the map's style, andlistSources
to list sources
- added
- added
addSource
to add a source to the map andaddLayer
to add a layer (#14) - added
setGeoJSON
to set GeoJSON data for a GeoJSON source in the map (#14) - allow constructing map with an empty style
Map("")
in order to allow adding sources and layers after construction (#14) - add support for getting and setting paint property of a layer:
getPaintProperty
,setPaintProperty
(#16) - add support for getting, setting, and removing feature state (#17)
- raise exceptions on certain types of invalid styles passed in as JSON (#13);
not all invalid styles are detected, and remote styles are not checked for
errors at map initialization due to other issues (see #15). Formerly, these
errors were not easily available from the style parsing steps of
maplibre-gl-native
.
- updated Ubuntu wheels to use native platform name instead of custom platform tag for easier installation
- upgraded
maplibre-gl-native
- added wheels for Ubuntu 22.04 (WARNING: these used a custom platform tag, avoid using these)
- upgraded
maplibre-gl-native
to avoid an abort when tilesets are not found, and log as a runtime exception instead
- upgraded
maplibre-gl-native
Initial release of PyMGL with wheels available for installation (limited platforms).