!pip install git+https://github.com/iwpnd/folium-vector.git
import folium from folium_vector import VectorGridProtobuf url = "https://area.uqcom.jp/api2/rakuten/{z}/{x}/{y}.mvt" m = folium.Map() options = { "vectorTileLayerStyles": { "rakuten": { "fill": True, "weight": 0, "fillColor": "orange", "fillOpacity": 0.4, }, } } vc = VectorGridProtobuf(url, "folium_layer_name", options) m.add_child(vc) m m.save("map.html")