Module:Location map/data/Kingdom of Hungary
From HandWiki
< Module:Location map
Revision as of 08:36, 3 January 2019 by imported>Frietjes (created from Template:Location map Kingdom of Hungary, earlier edit history will be saved in Module:Location map/data/Kingdom of Hungary/doc)
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 {{Location map}} , the distortion at these latitudes is probably small enough not to matter at this small scale. |
name | Kingdom of Hungary | |||
---|---|---|---|---|
border coordinates | ||||
49.63 | ||||
14.23372306 | ←↕→ | 26.387231 | ||
43.72 | ||||
map center | [ ⚑ ] 46°40′30″N 20°18′38″E / 46.675°N 20.31047703°E | |||
image | Kingdom of Hungary counties-2.svg
| |||
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":
{{Location map|Kingdom of Hungary |...}}
{{Location map many|Kingdom of Hungary |...}}
{{Location map+|Kingdom of Hungary |...}}
{{Location map~|Kingdom of Hungary |...}}
Map definition
name = Kingdom of Hungary
- Name used in the default map caption
image = Kingdom of Hungary counties-2.svg
- The default map image, without "Image:" or "File:"
top = 49.63
- Latitude at top edge of map, in decimal degrees
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
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return { name = 'Kingdom of Hungary', top = 49.63, bottom = 43.72, left = 14.23372306, --! 12 deg E of Paris, +2 deg 20 min 14.03 sec for Greenwich right = 26.387231, --! 24 deg 18 sec E of Paris, + for Greenwich image = 'Kingdom of Hungary counties-2.svg' }