Folium
Adding Tile layer¶
In [ ]:
Copied!
# Uncomment the code below in colab:
# %pip install git+https://github.com/lukmanfash/rastvectpy.git
# Uncomment the code below in colab:
# %pip install git+https://github.com/lukmanfash/rastvectpy.git
In [ ]:
Copied!
import rastvectpy.foliumpyt as rastvectpy
import rastvectpy.foliumpyt as rastvectpy
In [ ]:
Copied!
m = rastvectpy.Map(center=[45.5236, -122.6750], zoom = 4)
url = 'http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}'
m.add_tile_layer(url = url, name="Google Satellite", attribution="Google")
m
m = rastvectpy.Map(center=[45.5236, -122.6750], zoom = 4)
url = 'http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}'
m.add_tile_layer(url = url, name="Google Satellite", attribution="Google")
m
Last update:
2023-05-11