Problem embedding API radar in a web page

  • 1
  • Problem
  • Updated 9 months ago
My apologies if this has already been addressed.  Couldn't find an answer in the first four pages of conversations.

I am attempting to embed a radar map in a web page. I have built the API call that I want, and it works, if I plug it directly into a browser.

http://api.wunderground.com/api/4d5a59e628be5834/radar/image.png?maxlat=68.343820&maxlon=-166.45...

However, when I put this link in as an iframe src value, I get nothing in the web page.

<iframe width=98% height=800 src="http://api.wunderground.com/api/4d5a59e628be5834/radar/image.png?maxlat=68.343820&maxlon=-166.45...;></iframe>

I'm fairly certain that I am just missing something here, but I haven't seen anything that looks related.  Any assistance will be appreciated.
Photo of James Fornango

James Fornango

  • 1 Post
  • 0 Reply Likes
  • confuzled

Posted 10 months ago

  • 1
Photo of Koni Kodes

Koni Kodes

  • 6 Posts
  • 0 Reply Likes
Hi Have you tried to replace the end ; with an end " inside the tag? Because it is an image it may need to be self-closing with a " /> at the end.