Google broke my Weather

Posted in Web Build with tags , on August 5, 2015 by locksmith

Well, it took me long enough to find out, but the changes to Google Maps have completely trashed my Weather Radar overlay.  Maybe at some point in the future I’ll look at hosting a version on my own domain, but that would require some serious delving into the JS and Google Maps.

Can’t say that I’m looking forwards to it.

I’m going to kill the links in the old posts, but for now I will continue to generate the overlay for those who use it with Google Earth.

Ta.

Advertisements

Finally! Updates!

Posted in Web Build on April 11, 2011 by locksmith

Wow, this has been a rather notable oops.  Three years since the last post?  Ok, time to actually post some of the stuff I’ve been working on.

Weather Radar:  I have an update prepared that will run Canada wide.  Still a few bugs in it, and I’m trying to reduce the load on your copy of Google Earth.  Should be launching by the end of April. (Who knew that Google Earth didn’t like 35 odd overlay images in the megapixel range?)

Continue reading

More Mashup Fun…

Posted in Web Build with tags , , , on April 11, 2008 by locksmith

I wasn’t completely happy with the my last Google Maps/Weather Radar mashup. Two things I discovered; that Google Maps doesn’t update a KML loaded from the search function, and that the radar locations weren’t clear enough.

The later, radar visibility, was fairly east to correct. I added the transmitter points to the KML, and added a 10% magenta overprint to show the 200km range of the radar.

The first, I discovered that the Google Maps API is not completely in line with the KML reference, as that it doesn’t update images or dynamic content except with very specific controls. Google Earth KML’s have a <refreshMode> tag that allows users to declare expiration of data base on user behavior, a time delay, or expiration date and time. As far as I can tell, only the latter, onExpire, is supported by Google Maps. The options for using onExpire are based on either HTTP header settings, or setting an expiry time in the kml. The HTTP header settings are beyond my control with the hosting I use, and this left me with calculating a date/time stamp to be embedded in the KML.

Continue reading

Google Maps/Ontario Weather Radar Mash Up…

Posted in Web Build with tags , , , on April 8, 2008 by locksmith

Note – Links have been removed because of updates…

So after much humming and hawing, I’ve finally sat down to complete my first Google Maps mashup. I had the idea a while back to drop the Environment Canada weather radar on top of Google maps to give my weather viewing some context. And a while back I cranked up a script to grab the radar image for my local transmitter (near Exeter, ON) and put it into ForecastFox Enhanced.

As it turned out, getting access to the Google Maps API and setting up a base map page was incredibly easy. A quick look into the Google Maps documentation and they even provided me with sample code to set up my first page. Then into the specifics of setting up overlays on Google Maps, and I’d be all set. Or so I thought.

Continue reading