Closed
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
googlePlex = ( 37.423199 , -122.084068 )
z,x,y = 10, 164, 397
map1 = folium.Map(tiles='https://mt1.google.com/vt/lyrs=r&x='+str(x)+'&y='+str(y)+'&z='+str(z), attr='GoogleMap')
map1
map2 = folium.Map(tiles='https://tile.googleapis.com/v1/2dtiles/'+str(z)+'/'+str(x)+'/'+str(y)+'?session='+GMAPS_SESSION_KEY+'&key='+GMAPS_API_KEY,attr='GoogleMap')
map2
Expected behavior
Map1 shouldn't work at all without credentials but it does open something weird - a grid of copies of the desired tile's thumbnail. Probably a google authentication error? The tiles are of the newer upcoming style.
Map2 gives the same error - a grid of copies of the desired tile's thumbnail. The tiles are of the current, older style.
This is likely a folium error?
Environment (please complete the following information):
- Browser = chrome
- Jupyter Notebook
- Python version = sys.version_info(major=3, minor=11, micro=7, releaselevel='final', serial=0)
- folium version 0.19.4
- branca version 0.6.0
- Google Maps API to create map 2 - you need to use your own GMAPS_API_KEY and GMAPS_SESSION_KEY (see https://developers.google.com/maps/documentation/tile/2d-tiles-overview)
Additional context
Add any other context about the problem here.
Possible solutions
List any solutions you may have come up with.
folium is maintained by volunteers. Can you help making a fix for this issue?