Now part of folium plugins as of v0.13.0. This library fills a hole in foliums plugin eco-system. Wrapping Leaflet.VectorGrid into a folium plugin, users can now add vector tile layers (e.g. Mapbox, OpenMapTiles) to their folium maps. Built With folium Leaflet.VectorGrid Getting Started...
import folium from folium_vectortilelayer import VectorTileLayer m = folium.Map() url = "https://free.tilehosting.com/data/v3/{z}/{x}/{y}.pbf?token=my_token" options = '''{ "layers": ["my_layer"], "vectorTileLayerStyles": { "my_layer": function(f) { if (f.type === 'park...