Posted By

ichnoweb on 12/02/10


Tagged

google maps


Versions (?)

HTML Fallback Google Maps


 / Published in: HTML
 

URL: http://24ways.org/2010/finding-your-way-with-static-maps

How to determine a static map image for google Maps as fallback for visitors without JS. The image can later be replaced via JS with the google Maps IFrame.

  1. <img src="http://maps.google.com/maps/api/staticmap
  2. ?center=Bethlehem+Israel
  3. &amp;zoom=5
  4. &amp;size=540x280
  5. &amp;maptype=satellite
  6. &amp;markers=color:red|31.4211,35.1144
  7. &amp;sensor=false"
  8. width="540" height="280" alt="Map of Bethlehem, Israel" />

Report this snippet  

You need to login to post a comment.