Jump to content

Module:Location map/data/Spain La Palma/doc

From Wikipedia, the free encyclopedia


Location map of La Palma
name La Palma
border
coordinates
28.87
-18.02 ←↕→ -17.7
28.44
map center 28°39′18″N 17°51′36″W / 28.655°N 17.86°W / 28.655; -17.86
image La Palma (Canary Islands) OSM map.jpg
Map of La Palma

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)

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

Location map many, using default map (image)

{{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]]
}}

Location map+, using default map (image)

Location map/data/Spain La Palma/doc is located in La Palma
Santa Cruz de La Palma
Santa Cruz de La Palma
Los Llanos de Aridane
Los Llanos de Aridane
Two locations in La Palma
{{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
  }}
}}

See also

Location map templates

Creating new map definitions


Usage

{{#invoke:Location map/data/Spain La Palma|function_name}}