Folium
In [1]:
Copied!
import geoproject.foliumap as geosdemo
import geoproject.foliumap as geosdemo
In [2]:
Copied!
m = geosdemo.Map(center=(40.7128, -74.0060), zoom=12)
url = 'http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}'
m.add_tile_layer(url=url, name="Satellite", attribution="Google")
m = geosdemo.Map(center=(40.7128, -74.0060), zoom=12)
url = 'http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}'
m.add_tile_layer(url=url, name="Satellite", attribution="Google")
In [3]:
Copied!
m
m
Out[3]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Last update:
2023-05-25
Created: 2023-05-25
Created: 2023-05-25