Template:Location map SwedenCIAx/doc

Usage
The map definition, Template:Location_map_SwedenCIAx, is intended for overlaying markers and labels on similar maps of Sweden. It is a map locator for the Sweden CIA-extended map, skewing northern longitudes.

Some of the related mapping procedures are:


 * Template:Location_map_skew - puts symbols/labels on an image with converging longitudes.
 * Template:Location_map_polarx - puts symbols/labels on an image with converging polar longitudes & arcing latitudes.
 * Template:Location_map_many_polarx - puts up to 5 symbols/labels on an image, using polar longitudes/latitudes.

This template uses the mapping procedure "Template:Location_map_skew" which must be invoked with parameter "SwedenCIAx" to process the options before it uses this template. Specify each of the individual parameters by using vertical bars:.

Because the map is not equirectangular, the longitude coordinate will need to be adjusted/skewed to match northern-area mapping of rectangular position (if trying "Template:Location map"). Both the latitude and longitude can be skewed by using Template:Location_map_polarx, which processes "lat_skew" to arc latitude coordinates near the map edges.


 * WARNING: Having too much text (over 1.5kb) in Template:Location_map_SwedenCIAx can kill mapping templates that are using it. Tests with 14 interwiki language-links killed the mapping templates; move any interwiki links to the { {doc}} file.


 * See: Location map skew for description of skew/parameters, or see template
 * Location map polarx for polar parameters, or see Examples below.

Examples
Two examples, showing "Stockholm" & "Kiruna" with map position aligned (by using parameters "float=left" and "float=right"). Note that the label for "Kiruna" has been skewed onto the mark, due to narrow longitudes far north (on non-equirectangular map).

Longitude position is calculated from the map center, so center towns would be positioned more accurately. A "skew" factor has been implemented to scale longitude smaller near polar latitudes (relative to map height), and position longitudes from map center, rather than from left-side base longitude.

Example of Gotland on Wrong Map
Example labeling "Gotland" on wrong-scale map:

Prior stretched map
The prior mapping template uses stretched maps of Sweden, which distort the northern distances while stretching longitude lines to become parallel to the top of the map:
 * Stretched/widened map: Template:Location map Sweden.

Such stretched, equirectangular maps are still accurate for southern locations in Sweden, up to around Stockholm; however, northern locations might be exaggerated, stretched over 20% further apart than reality.