Jump to content

Module:Location map/data/Spain Gran Canaria/doc

From Wikipedia, the free encyclopedia


Location map of Gran Canaria
name Gran Canaria
border
coordinates
28.2
-15.853 ←↕→ -15.335
27.725
map center 27°57′45″N 15°35′38″W / 27.9625°N 15.594°W / 27.9625; -15.594
image Gran Canaria (Canary Islands) - OSM Mapnik.svg
Map of Gran Canaria

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

Map definition

  • name = Gran Canaria
    Name used in the default map caption
  • bottom = 27.725
    Latitude at bottom edge of map, in decimal degrees
  • left = -15.853
    Longitude at left edge of map, in decimal degrees
  • right = -15.335
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Las Palmas (Gran Canaria)
{{Location map | Spain Gran Canaria
| width   = 200
| lat_deg = 28.15
| lon_deg = -15.416667 
| label   = [[Las Palmas]]
}}

Location map many, using default map (image)

Two locations in Gran Canaria
{{Location map many | Spain Gran Canaria
| width    = 200
| caption  = Two locations in Gran Canaria
| lat1_deg = 28.15
| lon1_deg = -15.416667
| label1   = [[Las Palmas]]
| lat2_deg = 27.766667 
| lon2_deg = -15.583333
| label2   = [[Maspalomas]]
}}

Location map+, using default map (image)

Location map/data/Spain Gran Canaria/doc is located in Gran Canaria
Las Palmas
Las Palmas
Maspalomas
Maspalomas
Two locations in Gran Canaria
{{Location map+ | Spain Gran Canaria
| width   = 200
| caption = Two locations in Gran Canaria
| places  =
  {{Location map~ | Spain Gran Canaria
  | lat_deg = 28.15
  | lon_deg = -15.416667
  | label   = Las Palmas
  }}
  {{Location map~ | Spain Gran Canaria
  | lat_deg = 27.766667 
  | lon_deg = -15.583333
  | label   = Maspalomas
  }}
}}

See also

Location map templates

Creating new map definitions

Usage

{{#invoke:Location map/data/Spain Gran Canaria|function_name}}