Difference between revisions of "Help:How to add maps to articles"
Jump to navigation
Jump to search
m |
m |
||
Line 9: | Line 9: | ||
* <code>float='right'</code> to put in on the right of the page. | * <code>float='right'</code> to put in on the right of the page. | ||
* <code>width='200'</code> or <code>height='300'</code> to change the size. | * <code>width='200'</code> or <code>height='300'</code> to change the size. | ||
− | * <code>view='3'</code> defines the source of map: "0" sets the standard Google Maps view | + | * <code>view='3'</code> defines the source of map: |
+ | ** "0" sets the standard Google Maps view | ||
+ | ** "1" the satellite view | ||
+ | ** "2" the satellite view including the map material | ||
+ | ** "3" sets the [http://www.openstreetmap.org OpenStreetMap] material on first place. | ||
If something doesn't work for you or you have questions, please contact [[User:MrTweek|MrTweek]]. | If something doesn't work for you or you have questions, please contact [[User:MrTweek|MrTweek]]. |
Revision as of 16:53, 9 January 2009
You can now embed parts of maps.hitchwiki.org into articles on hitchwiki. It's quite simple:
- Go to maps.hitchwiki.org, zoom to the place you want to embed and if you want, add some markers.
- Click on link here in the box to the left.
- A tag for hitchwiki will show up ("To include in hitchwiki.org:"). Just copy&paste this string (
<map lat='xx.xxxxxxxxxx' lng='x.xxx' zoom='xx' view='x' />
) to your article.
- Note that this feature works only for users with javascript enabled browsers.
There are some more parameters, that you can add:
float='right'
to put in on the right of the page.width='200'
orheight='300'
to change the size.view='3'
defines the source of map:- "0" sets the standard Google Maps view
- "1" the satellite view
- "2" the satellite view including the map material
- "3" sets the OpenStreetMap material on first place.
If something doesn't work for you or you have questions, please contact MrTweek.
For some examples, see these articles:
More
For going deeper into this topic, visit How to create new articles or How to create a navigation box.