Open georgjaehnig opened 2 years ago
Looks like a general geocoding issue. Can you try switching to leaflet and see if it works there? I expect it does not.
It's not working on the very example page of this extension (maps.extension.wiki). So I can't make the changes for testing myself.
Interestingly, a few Google maps do work.
Looking at leaflet, a few work and a few don't work, too.
It might have to do something with "upgrading the Google Cloud Platform".
I've just did that for my own wiki: went here and got it offered.
And now, it works for all new Geocoding queries I am sending!
So if before I had
{{#display_map:Brandenburg Gate Berlin | service=google}}
it still doesn't work, but if I replace it with a new query like
{{#display_map:TV tower Berlin | service=google}}
the map displays fine.
So I guess it's now a caching issue and will resolve itself.
Did you set egMapsDefaultGeoService
in your configuration?
Yes:
$egMapsDefaultGeoService = 'google';
Did you already have that when you reported the issue?
Yes. But again: I reported what I have seen on maps.extension.wiki, not what happens on my wiki!
Do you also see the maps not being displayed on maps.extension.wiki?
Yes, there appears to be a geocoding issue on maps.extension.wiki. Maps with coordinates show, those with addresses do not.
Yup, and when you try to geocode a completely new place, e.g.
{{#display_map:TV tower Berlin | service=google}}
does it get displayed?
So on my wiki, it works again. I conclude the problem was due to
Setup
Issue
Detailed description of the issue and a stack trace if applicable:
It seems the Google maps don't find the location anymore, even on the example page. The console reports a JS error:
Can someone else confirm?
Steps to reproduce the observation (recommendation is to use the sandbox):
Go on the example page.