Module:Location map/data/Tuvalu
MyWikiBiz, Author Your Legacy — Sunday November 24, 2024
Jump to navigationJump to searchLua error: expandTemplate: template "coord" does not exist.
Module:Location map/data/Tuvalu is a location map definition used to overlay markers and labels on an equirectangular projection map of Tuvalu. 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 "Tuvalu":
Map definition
name = Tuvalu
- Name used in the default map caption
image = Tuvalu location map.svg
- The default map image, without "Image:" or "File:"
top = -5.3
- Latitude at top edge of map, in decimal degrees
bottom = -11
- Latitude at bottom edge of map, in decimal degrees
left = 175.7
- Longitude at left edge of map, in decimal degrees
right = -179.8
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 4.5 degrees.
- At an image width of 200 pixels, that is 0.0225 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0045 degrees per pixel.
Latitude: from North to South this map definition covers 5.7 degrees.
- At an image height of 200 pixels, that is 0.0285 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0057 degrees per pixel.
Examples using location map templates
Location map: Eastern hemisphere, Deg/Min/Sec coordinates
{{Location map | Tuvalu | width = 150 | caption = [[Nanumea]] in Tuvalu | label = Nanumea | lat_deg= 05 | lat_min=41 | lat_sec= | lat_dir=S | lon_deg=176 | lon_min=12 | lon_sec= | lon_dir=E | background = lightblue | position = right }}
Location map: Eastern hemisphere, Decimal coordinates
{{Location map | Tuvalu | width = 150 | caption = [[Nanumea]] in Tuvalu | lat = -5.683 | long = 176.2 | label = Nanumea | background = lightblue | position = right }}
Location map: Western hemisphere, Deg/Min/Sec coordinates
{{Location map | Tuvalu | width = 150 | caption = Coordinates on Tuvalu map | lat_deg= 10 | lat_min=15 | lat_sec= | lat_dir=S | lon_deg=179 | lon_min=59 | lon_sec= | lon_dir=W | label = 10°15′S 179°59′W | background = lightgreen | position = left }}
Location map: Western hemisphere, Decimal coordinates
{{Location map | Tuvalu | width = 150 | caption = Coordinates on Tuvalu map | lat = -10.25 | long = -179.983333 | label = -10.25, -179.983333 | background = lightgreen | position = left }}
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 = 'Tuvalu', top = -5.3, bottom = -11.0, left = 175.7, right = -179.8, image = 'Tuvalu location map.svg' }