Difference between revisions of "Module:Location map/data/Kingdom of Hungary/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map Kingdom of Hungary to Module:Location map/data/Kingdom of Hungary/doc: preserve history for attribution after merge with the module)
blackwiki>Frietjes
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
| name  = Kingdom of Hungary
+
{{warning|1=The coordinates are measured off a quite good section of what appears to be a [[Mercator projection]] at [[:File:Hungary-ethnic_groups.jpg]]. While this is not an [[equirectangular projection]] as expected by {{tlx|Location map}}, the distortion at these latitudes is probably small enough not to matter at this small scale.}}
| top    = 49.63
+
{{Module:Location map/data/doc
| bottom = 43.72
+
| see also =
| left  = 14.23372306 <!-- 12 deg E of Paris, +2 deg 20 min 14.03 sec for Greenwich -->
+
* [[Module:Location map/data/Hungary]]
| right  = 26.387231 <!-- 24 deg 18 sec E of Paris, + for Greenwich -->
 
| image  = Kingdom of Hungary counties-2.svg
 
}}<noinclude>
 
{{Location map/Info}}
 
{{documentation|content=
 
The coordinates are measured off a quite good section of what appears to be a [[Mercator projection]] at [[:File:Hungary-ethnic_groups.jpg]]. While this is not an [[equirectangular projection]] as expected by {{tlx|Location map}}, the distortion at these latitudes is probably small enough not to matter at this small scale.
 
  
[[Category:Hungary location map templates|Kingdom Of Hungary]]
+
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
}}</noinclude>
+
<!-- Categories below this line; interwikis at Wikidata -->
 +
[[Category:Hungary location map templates|Kingdom]]
 +
}}</includeonly>

Revision as of 14:38, 3 January 2019

Location map of Kingdom of Hungary
name Kingdom of Hungary
border
coordinates
49.63
14.23372306 ←↕→ 26.387231
43.72
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Kingdom of Hungary counties-2.svg
400x400px


Module:Location map/data/Kingdom of Hungary is a location map definition used to overlay markers and labels on an equirectangular projection map of Kingdom of Hungary. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Kingdom of Hungary":

Map definition

  • name = Kingdom of Hungary
    Name used in the default map caption
  • bottom = 43.72
    Latitude at bottom edge of map, in decimal degrees
  • left = 14.23372306
    Longitude at left edge of map, in decimal degrees
  • right = 26.387231
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 12.1535 degrees.

  • At an image width of 200 pixels, that is 0.0608 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0122 degrees per pixel.

Latitude: from North to South this map definition covers 5.91 degrees.

  • At an image height of 200 pixels, that is 0.0296 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0059 degrees per pixel.


See also

Location map templates

Creating new map definitions