Difference between revisions of "Module:Location map/data/Australia Greater Adelaide"

From blackwiki
Jump to navigation Jump to search
blackwiki>ScottDavis
(first attempt at a map module)
 
blackwiki>LL221W
(Changing Mark to File:Locator_Dot.svg)
Line 5: Line 5:
 
left = 138.45,
 
left = 138.45,
 
right = 138.75,
 
right = 138.75,
 +
mark  =  'Locator_Dot.svg',
 
image = 'Australia Greater Adelaide location map.svg',
 
image = 'Australia Greater Adelaide location map.svg',
 
-- image1 = 'Australia Greater Adelaide location map.jpg',
 
-- image1 = 'Australia Greater Adelaide location map.jpg',

Revision as of 07:45, 4 April 2016


Location map of Greater Adelaide
name Greater Adelaide
border
coordinates
-34.55
138.45 ←↕→ 138.75
-35.2
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Australia Greater Adelaide location map.svg
400x400px
mark Locator_Dot.svg


Module:Location map/data/Australia Greater Adelaide is a location map definition used to overlay markers and labels on an equirectangular projection map of Greater Adelaide. 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 "Australia Greater Adelaide":

Map definition

  • name = Greater Adelaide
    Name used in the default map caption
  • bottom = -35.2
    Latitude at bottom edge of map, in decimal degrees
  • left = 138.45
    Longitude at left edge of map, in decimal degrees
  • right = 138.75
    Longitude at right edge of map, in decimal degrees
  • mark = Locator_Dot.svg (8px)
    The default mark image to display with this map. This can be overridden by the mark parameter in Template:Location map, which would otherwise default to Red pog.svg (8px).

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions



return {
	name = 'Greater Adelaide',
	top = -34.55,
	bottom = -35.20,
	left = 138.45,
	right = 138.75,
	mark  =  'Locator_Dot.svg',
	image = 'Australia Greater Adelaide location map.svg',
--	image1 = 'Australia Greater Adelaide location map.jpg',
--	image2 = 'Australia Greater Adelaide location map blank.svg',
--	image3 = 'Australia Greater Adelaide relief location map blank.png'
}