Hi everone,
I'm still working on a new version of my weatherstation site. Everything seems to work fine, but het climat map won't load. Error message: Oops! Something went wrong loading this page. Google Maps is not loaded .... See Javascript console .. etc.
I opened the Javascript console and noticed that it uses an old API Key I deleted on the Google Maps Platform
Here's wat I did:
1. Deleted an old API Key on the Google Maps Platform
2. Restored my billing information on the same platform
3. Configured the (right) settings to use the key (see screenshot)
4. I changed the key in file GoogleMapsKey.txt (install folder)
5. And still the climate map page uses the old Google Maps API key
I wonder if it is right to execute the "setup.php" again, but I think this will change the configuration of the site completely. So, I'm asking for advice for this issue.
Thanks a lot in advance.
Climate map not loading
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2018 10:05 pm
- Location: Smeerebbe-Vloerzegem, Belgium
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
-
- Newbie
- Posts: 5
- Joined: Sun Aug 20, 2017 1:00 pm
- Location: Irvine, Scotland
- Station model: Ecowitt 1xxx
- Software: Weather Display
- Contact:
Re: Climate map not loading
I have exactly the same issues here, I wonder if Google changed something
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Climate map not loading
The google api key is saved in the config.php file ( see $googleMapsAPIKey near line 206 ).
To change it, you can rerun the meteotemplate main setup again, or if you fear to mess with something, you can edit the config.php file directly ( in this second case make a backup of the file, as messing with it may 'block' your entire site, I edit it directly quite often though )
To change it, you can rerun the meteotemplate main setup again, or if you fear to mess with something, you can edit the config.php file directly ( in this second case make a backup of the file, as messing with it may 'block' your entire site, I edit it directly quite often though )
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2018 10:05 pm
- Location: Smeerebbe-Vloerzegem, Belgium
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: Climate map not loading
Hi Davidefa,
Thanks for your advice. It finally works!
Best regards and thank you again,
Luc
Thanks for your advice. It finally works!
Best regards and thank you again,
Luc
-
- Advisor
- Posts: 89
- Joined: Fri Sep 24, 2021 10:41 pm
- Station model: Barani MeteoHelix
- Software: meteobridge
Re: Climate map not loading
So, what did you actually do to make it work? For me this is still "loading" and not showing anything..
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Climate map not loading
Extract this script in pages/climate directory ( will overwrite the existing climate_json.php script ), it should fix your issue.
- Attachments
-
- climate_json.zip
- (781 Bytes) Downloaded 24 times
-
- Newbie
- Posts: 9
- Joined: Fri Dec 21, 2018 10:05 pm
- Location: Smeerebbe-Vloerzegem, Belgium
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: Climate map not loading
Thanks to all of you!
It works fine now, the map is loading again!
Thank you again!
It works fine now, the map is loading again!
Thank you again!