python-visualization / folium

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

Folium Map Language #903

Closed thisisharis closed 6 years ago

thisisharis commented 6 years ago

I was just getting started with folium. I wrote following code in jupyter:

import folium map=folium.Map(location=[38,99.09],zoom_start=6) map.save("Map1.html")

when i opened the html file, it shows locations in chinese language or whatever language that is. How can i change it to english?

ocefpaf commented 6 years ago

That is not folium, it is from the Open Street Maps tile. You can change the tile to get a different image there. Please check the docs for the tile options.