Satellite map

Display a satellite map
This source code of this example is adapted from the MapLibre GL JS example - Display a satellite map.
Uncomment the following line to install leafmap if needed.
| # %pip install "leafmap[maplibre]"
|
| import leafmap.maplibregl as leafmap
|
To run this notebook, you will need an API key from MapTiler. Once you have the API key, you can uncomment the following code block and replace YOUR_API_KEY with your actual API key. Then, run the code block code to set the API key as an environment variable.
| # import os
# os.environ["MAPTILER_KEY"] = "YOUR_API_KEY"
|
| m = leafmap.Map(center=[137.9150899566626, 36.25956997955441], zoom=9, style="hybrid")
m
|

| m = leafmap.Map(center=[137.9150899566626, 36.25956997955441], zoom=9)
m.add_basemap("Esri.WorldImagery")
m
|