IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Regional network mesonet-map updated V3.08

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
Toxic17
Posts: 699
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Regional network mesonet-map updated V3.08

Postby Toxic17 » Wed Feb 14, 2018 9:28 am

HRVistaWeather wrote:Hi,
Seems the Mesonet Maps are not displaying, emailed Ken.

http://www.australiawx.net/forum/index.php?topic=61.msg123#msg123

Kind regards,



same here, the map is not being shown. maybe google maps has changed something.

saratogaWX wrote:I see fix is on the wxforum discussion:

Code: Select all

<script src="https://maps.google.com/maps/api/js?key=<?php echo $googleAPI; ?>&amp;language=<?php print $Lang; ?>" type="text/javascript"></script>

with

Code: Select all

<script src="https://maps.google.com/maps/api/js?key=<?php echo $googleAPI; ?>&amp;language=<?php print $Lang; ?>&v=3.30" type="text/javascript"></script>


to force the older version API to work.

I'll look at a 'real' fix for V3.31 Google API tomorrow...
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Mapantz
Posts: 500
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Regional network mesonet-map updated V3.08

Postby Mapantz » Wed Feb 14, 2018 4:12 pm

It may be something to do with a new map?! The UK rain radar that I have on my site has had it's map updated - it uses Google maps.
Image
Image

User avatar
Toxic17
Posts: 699
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Regional network mesonet-map updated V3.08

Postby Toxic17 » Wed Feb 14, 2018 4:13 pm

Mapantz wrote:It may be something to do with a new map?! The UK rain radar that I have on my site has had it's map updated - it uses Google maps.


google moved to a new version of api so it may affect other maps we use too.
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
saratogaWX
Posts: 896
Joined: Wed May 06, 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows XP SP3
Location: Saratoga, CA, USA
Contact:

Re: Regional network mesonet-map updated V3.08

Postby saratogaWX » Wed Feb 14, 2018 7:21 pm

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:152:456
xz.prototype.f https://maps.google.com/maps-api-v3/api ... p.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 ... 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)

Looks like their V3.32 broke it.. you can do a quick fix by replacing (in mesonet-map.php or wxmesonetmap.php depending on which you use)

Code: Select all

<script src="https://maps.google.com/maps/api/js?key=<?php echo $googleAPI; ?>&amp;language=<?php print $Lang; ?>" type="text/javascript"></script>


with

Code: Select all

<script src="https://maps.google.com/maps/api/js?key=<?php echo $googleAPI; ?>&amp;language=<?php print $Lang; ?>&v=3.31" type="text/javascript"></script>


to force the older version API to work.


Return to “Saratoga Templates”

Who is online

Users browsing this forum: No registered users and 3 guests