Module:Location map/data/Spain La Palma/doc
Appearance
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 | |||
image | La Palma (Canary Islands) OSM map.jpg
| |||
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":
{{Location map|Spain La Palma |...}}
{{Location map many|Spain La Palma |...}}
{{Location map+|Spain La Palma |...}}
{{Location map~|Spain La Palma |...}}
Map definition
name = La Palma
- Name used in the default map caption
image = La Palma (Canary Islands) OSM map.jpg
- The default map image, without "Image:" or "File:"
top = 28.87
- Latitude at top edge of map, in decimal degrees
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)
Santa Cruz de La Palma (La Palma)
{{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+ | 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
- 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
Usage
{{#invoke:Location map/data/Spain La Palma|function_name}}