From e4b105bf1fb0ebc1a19a95ec567177c4292d91f3 Mon Sep 17 00:00:00 2001 From: Justin Braaten Date: Fri, 28 Jun 2024 12:12:09 -0700 Subject: [PATCH] Consistent use of GOOGLE_MAPS_API_KEY --- geemap/basemaps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geemap/basemaps.py b/geemap/basemaps.py index 315a62e7e5..b814a3ded0 100644 --- a/geemap/basemaps.py +++ b/geemap/basemaps.py @@ -283,7 +283,7 @@ def __init__( location of the user. Defaults to 'US'. api_key (str, optional): The API key to use for the Google Maps API. If not provided, it will try to get it from the environment or - Colab user data with the key 'MAPS_API_KEY'. Defaults to None. + Colab user data with the key 'GOOGLE_MAPS_API_KEY'. Defaults to None. **kwargs: Additional parameters to pass to the map generation. For more info, visit https://bit.ly/3UhbZKU @@ -364,7 +364,7 @@ def get_google_map_tile_providers( location of the user. Defaults to 'US'. api_key (str, optional): The API key to use for the Google Maps API. If not provided, it will try to get it from the environment or - Colab user data with the key 'MAPS_API_KEY'. Defaults to None. + Colab user data with the key 'GOOGLE_MAPS_API_KEY'. Defaults to None. **kwargs: Additional parameters to pass to the map generation. For more info, visit https://bit.ly/3UhbZKU