Difference between revisions of "UserMap Documentation"
(→Help) |
(→Help) |
||
Line 42: | Line 42: | ||
== Help == | == Help == | ||
− | * If you have any problems displaying the map, add yourself to the database or find a bug please contact [ | + | * If you have any problems displaying the map, add yourself to the database or find a bug please contact [http://wiki.osgeo.org/wiki/Christian_Willmes Christian Willmes]. |
* [http://wiki.osgeo.org/wiki/Usermap-develop here] you can also request a new feature or report an error. | * [http://wiki.osgeo.org/wiki/Usermap-develop here] you can also request a new feature or report an error. | ||
== See also == | == See also == | ||
* [http://wiki.osgeo.org/wiki/Category:OSGeo_Member OSGeo Member Category] where the member map is displayed | * [http://wiki.osgeo.org/wiki/Category:OSGeo_Member OSGeo Member Category] where the member map is displayed |
Revision as of 01:21, 6 March 2009
The following documentation shows how to display a map of your location or a map of all users in the Osgeo 'user database'.
It also shows how to include yourself in the aforementioned database. Please give feedback here.
Add yourself to the userMap
Every user adds himself to the userMap by placing a parser tag 'umSetParam' on his userpage (User:username). The tag has the following syntax:
{{#umSetParam: long|lat|City, Country|Full name|Wiki username}}
The coordinates are in decimal degrees, x|y format. If the User doesn't exist, or the parameters are changed and the tag is placed on the users userpage, the database will be updated. For example (on the wiki page: User:Christian_Willmes):
{{#umSetParam: 6.92|50.95|Cologne, Germany|Christian Willmes|Christian Willmes}}
Display a map of a users home location
To display a map of the home location of a user include the following tag into a wikipage:
{{#umUserMap: username|width|height|zoom}}
The 'width' and 'height' parameters are optional. If not provided, standard values of 'width=400px', 'height=250px' and 'zoom=4' are applied.
For example:
{{#umUserMap: Christian Willmes}}
{{#umUserMap: Christian Willmes}}
Display a map of all users home locations
To display a map of all wiki users include the following tag:
{{#umAllUserMap: width|height|zoom|centerat}}
By combination of the zoom and centerat parameters you can focus any region of the map.
The parameters are optional. If no parameters are provided, standard ones will be used (width=800px, height=450px, zoom=2, centerat=0, 0).
For example with an focus on Europe:
{{#umAllUserMap: 800px|450px|4|7, 51}}
{{#umAllUserMap: 800px|450px|4|7, 51}}
Help
- If you have any problems displaying the map, add yourself to the database or find a bug please contact Christian Willmes.
- here you can also request a new feature or report an error.
See also
- OSGeo Member Category where the member map is displayed