Skip to content

Commit 7b49809

Browse files
committed
Remove googlemaps dependency
1 parent 6a5439c commit 7b49809

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

geemap/common.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16190,11 +16190,6 @@ def google_map_tiles(
1619016190
Returns:
1619116191
TileProvider: A TileProvider object with the generated map, or None if the map could not be generated.
1619216192
"""
16193-
try:
16194-
import googlemaps
16195-
except ImportError:
16196-
install_package("googlemaps")
16197-
import googlemaps
1619816193

1619916194
from xyzservices import TileProvider
1620016195

@@ -16212,8 +16207,6 @@ def google_map_tiles(
1621216207
"API key is required to access Google Maps API. To get an API key and enable Map Tiles API, visit https://developers.google.com/maps/get-started#create-project"
1621316208
)
1621416209

16215-
gmaps = googlemaps.Client(key=api_key)
16216-
1621716210
map_type = map_type.lower()
1621816211
if map_type not in [
1621916212
"roadmap",

0 commit comments

Comments
 (0)