Skip to content

Commit

Permalink
Fixed pydeck import error
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Oct 17, 2021
1 parent 65295ee commit 87602dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v0.5.2 - October 17, 2021

**Improvement**

- Fixed pydeck import error

## v0.5.1 - October 17, 2021

**New Features**:
Expand Down
7 changes: 6 additions & 1 deletion leafmap/basemaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,4 +490,9 @@ def qms_to_leafmap(service_id):
leafmap_basemaps = Box(xyz_to_leaflet(), frozen_box=True)
folium_basemaps = Box(xyz_to_folium(), frozen_box=True)
here_basemaps = Box(xyz_to_heremap(), frozen_box=True)
pydeck_basemaps = Box(xyz_to_pydeck(), frozen_box=True)
try:
import pydeck

pydeck_basemaps = Box(xyz_to_pydeck(), frozen_box=True)
except ImportError:
pass

0 comments on commit 87602dc

Please sign in to comment.