Help:Google maps

From Wikimini
Jump to: navigation, search

It is possible to insert interactive geocraphical maps in an article. This may be useful to locate a country, for example.

These maps come from Google Maps.

Example

Here is an interactive map showing Italy :

<display_map zoom="5" lon="12.480469" lat="41.902277" version="0.9"> </display_map>

The wikitext code to insert this map is the following one :

<display_map zoom="5" lon="12.480469"
lat="41.902277" version="0.9">
</display_map> 

To generate the wikitext code with the right settings (coordinates and zoom), you can use the map editor.

Map editor

To access the map editor, edit this section.

In the toolbar, you will see this icon : Google Maps map editor

Manual

  1. Click on the "Map" icon
  2. Position the map on the wanted place
  3. Set the zoom to the wanted scale
  4. Copy the code displayed at the bottom of the map
  5. Leave the page by clicking on "cancel"

Now, you just need to "paste" the wikitext code into the article that needs the generated map.


Recommendations

  • To avoid overloading pages, you should not insert more than one map per article.
  • In principle, you only add an interactive map in articles about countries.
  • In principle, you insert it at the bottom of the article.
  • In principle, you precede the map with a level 2 title entitled "Interactive map".
    Example in wikitext (with also an image) :
    == [[Image:Wikiboo14 128x128.jpg|36px|Interactive map]]Interactive map ==

    Result :

Interactive mapInteractive map

<googlemap zoom="5" lon="12.480469" lat="41.902277" version="0.9"> </googlemap>


Wikiboo Personal tools