Putting your location onto your website

Posted on April 27th, 2008 by vinny.

Hi All,

Before this, if you wanted to add your map onto your website, you could put the following iframe code into your website, for example for useamap.com/ourplace it would be

iframe width="500" scrolling="no" height="300" frameborder="0" xsrc="http://useamap.com/frame/500/300/ourplace

But a lot of users complained that this took too long to load, so now you can put into just the basic image using very similar code. This loads 100 times faster, and just shows the location of your event. Example code would be

iframe width="400" scrolling="no" height="300" frameborder="0" xsrc="http://useamap.com/static/400/300/ourplacewhich shows as this on your page

All you are doing is replacing the word frame with static. All anyone who does not have Javascript enabled,and you are using the non static Google maps, they will now be showed the static image instead!

To get the code for this, go your saved map location or create a new map if you have not done so already. Then click the button which says Embed Map, and follow from there.

Keep your feedback rolling in,

Best Regards,

Vinny Glennon

1 comment.

Google Maps Developer Video & Links Roundup | geo2web.com

Pingback on June 23rd, 2008.

[…] Useamap adds static maps for faster loading Developer Links: […]

Leave a comment

Comments can contain some xhtml. Names and emails are required (emails aren't displayed), url's are optional.