Skip to content

Instantly share code, notes, and snippets.

@giswqs
Created December 17, 2020 19:16
Velocity
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgana1
Copy link

sgana1 commented Oct 9, 2023

Hello
I tried to run the Velocity.ipynb script. I got an error within the second block:

center = [44.33956524809713, -130.60546875000003]
zoom = 3
m = geemap.Map(center=center, zoom=zoom, interpolation='nearest', basemap=basemaps.CartoDB.DarkMatter, add_google_map=False, ee_initialize=False)
m

I have obtained this error message:
File C:\ProgramData\anaconda3\Lib\site-packages\geemap\geemap.py:118, in Map.init(self, **kwargs)
116 if "basemap" in kwargs:
117 kwargs["basemap"] = check_basemap(kwargs["basemap"])
--> 118 if kwargs["basemap"] in basemaps.keys():
119 kwargs["basemap"] = get_basemap(kwargs["basemap"])
120 kwargs["add_google_map"] = False

TypeError: unhashable type: 'TileProvider

Is there anyone who have a solution to fix it?
Thank you for your valuable time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment