Module:Location map/data/100x100/doc explained

This map definition, Template:Location_map_100x100, is intended for overlaying markers/labels on any specified image, using map coordinates ranging from 0-100.0 for latitude or longitude. See the technical design below, under:

  1. Design issues
.
Some of the related mapping procedures are:

All mapping templates use similar parameters (see Examples):

Some common label background colors are: #CCCC55 for

dim yellow, lime green, #BBBBBB for gray, light aqua, #DDDDDD for light gray (almost white), pale green, PaleTurquoise, DarkOrange, etc.

For small lettering use label_size=80, for tiny words use 55. Note that the words in the label will wrap unless using "nbsp": DO NOT WRAP.

When specifying image "width=270" be sure to OMIT "px" (which causes the image to span the width of the screen) because "px" cannot (yet) be detected by the (new) MediaWiki language which processes those mapping templates.

See each specific mapping template for other parameters to pass.

Examples

{{Location map | 100x100 | caption = Example on blank image | width=250 | label=You are Here | label-size=90 | background = #DDDD44 | position=bottom | lat = 55.00 | long = 22.35 | mark=Green_pog.svg | marksize=10 | float=right }}

{{Location map | 100x100 | AlternativeMap = Gold star on blue.gif | caption = Marker on star | width=110 | label=Dot | label-size=80 | background = #CCCCCC | position=left | lat = 81.00 | long = 42.90 | mark=Red_pog.svg | marksize=8 | float=right }}

Other options

It is possible to place markers/labels outside a map, by specifying latitude or longitude coordinates beyond 0-100.0:

For templates that restrict coordinates, expand the minutes field: lat_deg=100.0 but lat_min=120 yielding a combined 102 degrees (60 minutes = 1 degree).

See also