At http://www.srh.noaa.gov/ridge2/alpha/ , if you click on the
national map, you zoom into the individual radars. I'm having a
problem with the overlays. We do overlays of gifs on the map using
world files. For example, here is the gif and world file for the most
recent radar image from El Paso, TX's radar:

http://www.srh.noaa.gov/ridge/RadarImg/NCR/EPZ_NCR_0.gfw

http://www.srh.noaa.gov/ridge/RadarImg/NCR/EPZ_NCR_0.gif

In our alpha example, the further north one goes, the further off - to
the north - the radar data is skewed. I've tested the gis/gfw combo in
Google Earth, ArcMap, and using a simple GGroundOverlay, and it does
great.

In an example that works, I use a simple GGroundOverlay (http://
code.google.com/apis/maps/documentation/reference.html#GGroundOverla
y) to put the gif on the map. The code that's skewing images north is
using GOverlay
(http://code.google.com/apis/maps/documentation/
reference.html#GOverlay)
to
overlay a div that's georeferenced to the map via the dimensions of
the div.
It's doing this, because a gif can only be made transparent by
changing the alpha values on a div.

I'm suspecting the error is in this file: radar.js (which Bratliff was
kind enough to let us use) in the
FrameAnimationOverlay.prototype.redraw=function(repair) function.

I think the trouble is relating div pixels to lat/lon - but I can't be
sure.

Do any of you have any experience with this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to