Module:Location map/data/Spain La Palma

MyWikiBiz, Author Your Legacy — Saturday November 30, 2024
< Module:Location map
Revision as of 03:09, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

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

Map definition

  • name = La Palma
    Name used in the default map caption
  • bottom = 28.44
    Latitude at bottom edge of map, in decimal degrees
  • left = -18.02
    Longitude at left edge of map, in decimal degrees
  • right = -17.7
    Longitude at right edge of map, in decimal degrees

Precision

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

  • At an image width of 200 pixels, that is 0.0016 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.43 degrees.

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | Spain La Palma
| width   = 200
| lat_deg = 28.683333
| lon_deg = -17.766667
| label   = [[Santa Cruz de La Palma]]
}}

Template:Clear

Location map many, using default map (image)

Template:Location map many

{{Location map many | Spain La Palma
| width    = 200
| caption  = Two locations in La Palma
| lat1_deg = 28.683333
| lon1_deg = -17.766667
| label1   = [[Santa Cruz de La Palma]]
| lat2_deg = 28.65
| lon2_deg = -17.9
| label2   = [[Los Llanos de Aridane]]
}}

Template:Clear

Location map+, using default map (image)

Template:Location map+

{{Location map+ | Spain La Palma
| width   = 200
| caption = Two locations in La Palma
| places  =
  {{Location map~ | Spain La Palma
  | lat_deg = 28.683333
  | lon_deg = -17.766667
  | label   = Santa Cruz de La Palma
  }}
  {{Location map~ | Spain La Palma
  | lat_deg = 28.65
  | lon_deg = -17.9
  | label   = Los Llanos de Aridane
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


Usage

{{#invoke:Location map/data|function_name}}

return {
	name = 'La Palma',
	top = 28.87,
	bottom = 28.44,
	left = -18.02,
	right =-17.7,
	image = 'La Palma (Canary Islands) OSM map.jpg'
}