python-visualization / folium

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

Geocoder plugin not working in Google Chrome #1949

Closed joeyoey17 closed 5 months ago

joeyoey17 commented 6 months ago

Describe the bug Hello! Recently I've noted that the Geocoder plugin isn't working in Google Chrome when you use Chrome to open a saved Folium html file. I've noticed the plugin is working in Microsoft Edge, just not Chrome. In Google Chrome, the Geocoder search bar appears but anything you search in it will inevitably come up with "Nothing found". Is this a new bug?

Example of code I'm running to generate an html file that I open in Chrome:

from folium.plugins import Geocoder
Geocoder().add_to(m)
m.save ('test.html')
hansthen commented 6 months ago

I cannot confirm this behavior. I tested this with google-chrome-stable 120.0.6099.109 on Ubuntu 22.04.03 LTS. Can you add your software versions to the bug report? Also, if this happens, can you check if any errors show up in your browser console or network tab. (These are opened by SHIFT-CTRL-J).

hansthen commented 5 months ago

@joeyoey17 is this still an issue for you? If so, can you add more information for us so we can try to reproduce the error?

hansthen commented 5 months ago

I will close this issue as there is insufficient information to reproduce the error.