python-visualization / folium

Python Data. Leaflet.js Maps.
https://python-visualization.github.io/folium/
MIT License
6.91k stars 2.22k forks source link

Create maps with Bing Maps #407

Closed kimiandj closed 8 years ago

kimiandj commented 8 years ago

Hi everyone,

I've been using Folium for a week and managed to create very easily cool interactive maps with OSM, MapQuest and MapBox – great tool! However I wonder if it is possible or not to create interactive maps with Folium using Bing Maps. The Leaflet.js library enables us to do so but I don't know how to achieve this with Folium. Any idea?

ocefpaf commented 8 years ago

Bing is not in the default tiles but you can add it as custom tiles if you know the URL. The syntax is tiles=http://{s}.custom_tiles.org/{z}/{x}/{y}.png when creating the map.