Usermap user documentation
From Wiki
Contents |
Add yourself to the usermap
There are two ways to add yourself to the usermap.
By using the parser tag
You can define your location parameters, as they are shown in the userMap by including a parser Tag on your user page (User:YourUsername).
The tag has the following syntax:
{{#umSetParam: long|lat|City, Country|Wiki username|Full name}}
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):
{{#umSetParam: 6.92|50.95|Cologne, Germany|Christian|Christian Willmes}}
By using umAdmin
You can include the usermap Admin tool with the '#umAdmin' parser tag on your wiki userpage (User:YourUsername).
The syntax is:
{{#umAdmin: YourUsername}}
When you edited your page accordingly you will see a small menu with three options:
- MyMapViews
- NewMapView
- EditMyUserMap
It looks like this:
By clicking on 'EditMyUserMap' two forms are displayed on the page.
- The first is for entering/editing your userMaps MapView parameters (width, height, zoom, navigationbar and baselayer).
- The second is for entering/editing your Location parameters (Your full name, Location name, latitude and longitude.
It is relatively self explaining. :) By clicking on the submit button of the according form the values are inserted or updated in the database. By clicking again on EditMyUserMap you can see how your Map looks like with the given parameters.
Showing your personal UserMap on a wiki page
To show your usermap on a wiki page iclude the following tag in that page:
{{#umUserMap: YourUsername}}
For example:
{{#umUserMap: Christian}}
Looks like:
Showing User maps
You can show the usermaps in two ways.
By parser tags
By the '#umAllUserMap' parser tag, by providing the view paramters directly in the tag. The syntax is the following:
{{#umAllUserMap: width|height|zoom|centerat}}
This example:
{{#umAllUserMap: 800px|450px|4|7, 51}}
generates this map:
By umMapView
By using the usermap Admin tool (described above), you can define several mapviews.
Creating up a Mapview with umAdmin
By clicking on the option "NewMapView" a form will be shown, where you can enter the parameters of the mapView. it is relativly self explayning, but a short help is also displayed at the bottom of the page.
Showing the created mapView on a wiki page
Every MapView gets a unique ID you can include you mapView wit the '#umMapView' parser tag. The syntax is:
{{#umMapView: ID}}
For example the following mapView
{{#umMapView: 2}}
defines a view of Austrailia:


