/ Published in: HTML
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<img src="http://maps.google.com/maps/api/staticmap ?center=Bethlehem+Israel &zoom=5 &size=540x280 &maptype=satellite &markers=color:red|31.4211,35.1144 &sensor=false" width="540" height="280" alt="Map of Bethlehem, Israel" />
URL: http://24ways.org/2010/finding-your-way-with-static-maps