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

This is the documentation page for Module:Location map/data/Spain Gran Canaria

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

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)

Template:Location map

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

Template:Clear

Location map many, using default map (image)

Template:Location map many

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

Template:Clear

Location map+, using default map (image)

Template:Location map+

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

Template:Clear

See also

Location map templates

Creating new map definitions

Usage

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