Australian Weather Network

Australian Weather Network => Status Updates => Topic started by: hrvistaweather on February 14, 2018, 03:25:49 PM

Title: Mesonet Map Script not displaying the Map
Post by: hrvistaweather on February 14, 2018, 03:25:49 PM
Hi Steve, (Mesonet Map Script not displaying the Map)
I emailed Ken True.
Not heard back as yet.
Regards,
Tony
Title: Re: Mesonet Map Script not displaying the Map
Post by: hrvistaweather on February 14, 2018, 04:41:12 PM
Ken's response:

It appears to be a JavaScript error from the Google Maps API code.
In Firefox it says:

TypeError: g.b is undefined     js:120:483
trigger https://maps.google.com/maps/api/js:120:483
Tc https://maps.google.com/maps/api/js:50:406
_.J.prototype.bindTo https://maps.google.com/maps/api/js:123:328
_.Uv https://maps.google.com/maps-api-v3/api/js/32/1a/common.js:152:456
xz.prototype.f https://maps.google.com/maps-api-v3/api/js/32/1a/map.js:84:84
Ug/< https://maps.google.com/maps/api/js:92:4
Zd.prototype.za/</d[a]< https://maps.google.com/maps/api/js:125:2517
_.Ud/< https://maps.google.com/maps/api/js:60:195
Zd.prototype.za/< https://maps.google.com/maps/api/js:125:2627
$d https://maps.google.com/maps/api/js:62:209
Zd.prototype.za https://maps.google.com/maps/api/js:125:2369
<anonymous> self-hosted:952:17
<anonymous> https://maps.google.com/maps-api-v3/api/js/32/1a/map.js:1:1


in Google Chrome it says:

Uncaught TypeError: Cannot read property 'apply' of undefined
     at Object.trigger
(js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:120)
     at Tc (js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:50)
     at Ug._.J.bindTo
(js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:123)
     at new _.Uv (common.js:152)
     at Object.xz.f (map.js:84)
     at Array.<anonymous>
(js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:92)
     at js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:125
     at Object.<anonymous>
(js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:60)
     at js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:125
     at js?key=AIzaSyA499ykaoUpr3YquZtJUtOcFFMgdjNKniU&language=en:60

in Microsoft Edge it says:

SCRIPT5007: SCRIPT5007: Unable to get property 'apply' of undefined or
null reference js (120,483)

It looks like a Google Map API issue (it's their code that is causing
the halt).. I'll continue to investigate.

Best regards,
Ken
Title: Re: Mesonet Map Script not displaying the Map
Post by: hrvistaweather on February 14, 2018, 06:06:09 PM
Ken's interim Fix:
https://www.wxforum.net/index.php?topic=32660.msg344115#msg344115 (https://www.wxforum.net/index.php?topic=32660.msg344115#msg344115)

regards,
Title: Re: Mesonet Map Script not displaying the Map
Post by: PottsPointWX (Steve) on February 15, 2018, 06:41:52 AM
Thanks Tony

Will fix up mine this afternoon

Steven
Title: Re: Mesonet Map Script not displaying the Map
Post by: PottsPointWX (Steve) on February 15, 2018, 06:58:30 PM
I have updated the Australian Weather Network Home page. Everything is awesome again.
Title: Re: Mesonet Map Script not displaying the Map
Post by: hrvistaweather on February 16, 2018, 06:29:32 PM
Champion, Thanks Steve, Greatly Appreciated.
Kind regards,
Title: Re: Mesonet Map Script not displaying the Map
Post by: hrvistaweather on May 24, 2018, 07:30:07 PM
Hi Steve,

You may be aware, but if not.

Ken has deployed a new version of Mesonet (due to Google Maps charging etc).
Info ; https://www.wxforum.net/index.php?topic=34442.msg349820#msg349820 (https://www.wxforum.net/index.php?topic=34442.msg349820#msg349820)

or direct link to the changes on Ken's site : https://saratoga-weather.org/scripts-mesonet-map.php (https://saratoga-weather.org/scripts-mesonet-map.php)
Kind regards,
Title: Re: Mesonet Map Script not displaying the Map
Post by: PottsPointWX (Steve) on May 28, 2018, 08:00:21 AM
Thanks Mate.

Will look to update soon.

Steven