Wunderground Radar layer and Google Maps

  • 3
  • Question
  • Updated 6 years ago
I would like to overlay a Google Maps/Earth image with the transparent radar layer provided by Wunderground.

Anyone have an example of how to do this so that everything aligns?

Regards,
Jim
Photo of Jim

Jim

  • 8 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 3
Photo of cone10

cone10

  • 3 Posts
  • 0 Reply Likes
As long as you ask for the same minlat, minlon, maxlat, and maxlon map extents in both your Google maps and your Wunderground service calls, they should match up. Here's how we do it:

http://api.wunderground.com/api//rada...

Width and height are the size of your PNG image in pixels.

This may only answer half your question though, as I do not know the Google API very well.
Photo of Jim

Jim

  • 8 Posts
  • 0 Reply Likes
cone10,

Sorry but the URL you posted doesn't seem to work. Could you repost?

Regards,
Jim
Photo of cone10

cone10

  • 3 Posts
  • 0 Reply Likes
Did you replace the part with your own API key?

When I do that, the link works for me.

Do you have an API key?
Photo of Jim

Jim

  • 8 Posts
  • 0 Reply Likes
Actually the url in your post was incomplete as far as I could read.

But not to worry, I switched to Wunderground Map fullscreen and have everything I need. I had to modify the html as it came through my code but every thing works fine.

Thanks for your assistance.

Regards,
Jim
Photo of coolisbetter

coolisbetter

  • 2 Posts
  • 0 Reply Likes
Could you post an example? I am trying to do the same thing and I am having a hard time figuring out the synax for the Android code and such...