- Folium — Folium 0. 20. 0 documentation - GitHub Pages
Folium makes it easy to visualize data that’s been manipulated in Python on an interactive leaflet map It enables both the binding of data to a map for choropleth visualizations as well as passing rich vector raster HTML visualizations as markers on the map
- Getting started — Folium 0. 20. 0 documentation - GitHub Pages
GeoJSON TopoJSON overlays # Folium supports both GeoJSON and TopoJSON data in various formats, such as urls, file paths and dictionaries
- API reference — Folium 0. 20. 0 documentation - GitHub Pages
Map tileset to use Folium has built-in all tilesets available in the xyzservices package For example, you can pass any of the following to the “tiles” keyword: ”OpenStreetMap” ”CartoDB Positron” ”CartoDB Voyager” Explore more provider names available in xyzservices here: https: leaflet-extras github io leaflet-providers preview
- User guide — Folium 0. 20. 0 documentation - GitHub Pages
The user guide covers different parts of basic usage of Folium Each page focuses on a single topic and outlines how it is implemented in Folium, with reproducible examples
- Map — Folium 0. 20. 0 documentation - GitHub Pages
[3]: folium Map( location=(-38 625, -12 875), zoom_control=False, ) [3]: Make this Notebook Trusted to load map: File -> Trust Notebook Limits # You can set limits, so the map won’t scroll outside those limits [4]: import folium min_lon, max_lon = -45, -35 min_lat, max_lat = -25, -15 m = folium Map( max_bounds=True, location=[-20, -40], zoom
- Folium — Folium 0. 14. 0 documentation - GitHub Pages
folium makes it easy to visualize data that’s been manipulated in Python on an interactive leaflet map It enables both the binding of data to a map for choropleth visualizations as well as passing rich vector raster HTML visualizations as markers on the map
- Tiles — Folium 0. 20. 0 documentation - GitHub Pages
Tiles # Built-in tilesets # [1]: import folium lon, lat = -38 625, -12 875 zoom_start = 8 [2]: folium Map(location=[lat, lon], tiles="OpenStreetMap", zoom_start=zoom_start) [2]: Make this Notebook Trusted to load map: File -> Trust Notebook [3]: folium Map(location=[lat, lon], tiles="Cartodb Positron", zoom_start=zoom_start) [3]: Make this
- PolyLine — Folium 0. 20. 0 documentation - GitHub Pages
# Coordinates are 15 points on the great circle from Boston to San Francisco coordinates = [ [42 3581, -71 0636], [42 82995815, -74 78991444], [43 17929819, -78 56603306], [43 40320216, -82 37774519], [43 49975489, -86 20965845], [43 46811941, -90 04569087], [43 30857071, -93 86961818], [43 02248456, -97 66563267], [42 61228259, -101 41886832
|