Help:Embed Google maps

Van RetailWiki

Ga naar: navigatie, zoek

← Back to Help:Inhoud
← Back to Help:Linking other software

Inhoud


Misschien is het ergens nuttig om op een pagina Google maps te embedden, vandaar deze pagina.

Embedding of a Google Map goes as follows.

Google account, prepare and create map

You have to have a Google account, and prepared & saved your map in your account including all landmarks, paths and correct zoomlevel. Best is using Internet Explorer instead of Firefox.


Embed code

In Google Maps, click "Link" in the top right corner of the map you created. Copy the code under "HTML to use on website". This code is probably as follows:


<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&hl=nl&msa=0&msid=113777574629300401936.00046acfe0b08bf989e2d&t=h&ll=18.789419,98.984296&spn=0.007354,0.004399&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps/ms?ie=UTF8&hl=nl&msa=0&msid=113777574629300401936.00046acfe0b08bf989e2d&t=h&ll=18.789419,98.984296&spn=0.007354,0.004399&source=embed" style="color:#0000FF;text-align:left">Chiang Mai</a> weergeven op een grotere kaart</small>

And in wiki...

Now in wiki (to embed your map) paste the code above and use ONLY use the code in RED, and put this code between the tags <embedurl>xxxxxxxxx</embedurl>

So this will look like:

<embedurl>http://maps.google.com/maps/ms?ie=UTF8&hl=nl&msa=0&msid=113777574629300401936.00046acfe0b08bf989e2d&t=h&ll=18.789419,98.984296&spn=0.007354,0.004399&output=embed</embedurl>


Resulting map:

Change zoom level

If you think the zoomlevel of the map is not correct; add the following code AFTER the existing code: &z=15


Note: zoomlevel can change between z=1 and z=17.


Resulting code (change in red):
<embedurl>http://maps.google.com/maps/ms?ie=UTF8&hl=nl&msa=0&msid=113777574629300401936.00046acfe0b08bf989e2d&t=h&ll=18.789419,98.984296&spn=0.007354,0.004399&output=embed&z=15</embedurl>


Resulting map:


Flickr photo in a Google Map

You can only embed a Flickr photo in a Google Maps placemark. To do so choose HTML-format in the Google Maps placemark and type:
<IMG SRC="http://farm1.static.flickr.com/119/257178671_77a89bc655_m.jpg">
; of course choose the right URL of the photo.

Spaces in URL's, names etc.

If you embed a photo or something else, it is strongly advisable NOT to have blanks (spaces) in the names of URL's, files etc., for instance on Youtube, Flickr, Maps or Skydrive. Instead of spaces use underscores (_) or the minus sign (-). <no wiki> Do NOT use ' or * and & either </no wiki>. This will cause problems in the Wiki and provide you with links not working.


Persoonlijke instellingen
huurwoningen