Module:Location map/data/Thailand Bangkok Metropolitan Region

< Module:Location map
Revision as of 03:22, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

File:Bangkok Metropolitan Region.svg
Bangkok Metropolitan Region.svg

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

Map definition

  • name = Bangkok Metropolitan Region
    Name used in the default map caption
  • bottom = 13.423
    Latitude at bottom edge of map, in decimal degrees
  • left = 99.826
    Longitude at left edge of map, in decimal degrees
  • right = 100.967
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | Thailand Bangkok Metropolitan Region
| width   = 350
| lat_deg = 13.731
| lon_deg = 100.542
| label   = Lumphini Park
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | Thailand Bangkok Metropolitan Region
| relief   = yes
| width    = 350
| caption  = Two locations in Bangkok Metropolitan Region
| lat1_deg = 13.912
| lon1_deg = 100.6
| label1   = Don Mueang International Airport
| lat2_deg = 13.687
| lon2_deg = 100.750
| label2   = Suvarnabhumi Airport
}}

Template:Clear

See also

Location map templates

Creating new map definitions



return {
	name = 'Bangkok Metropolitan Region',
	top = 14.293,
	bottom = 13.423,
	left = 99.826,
	right = 100.967,
	image = 'Bangkok_Metropolitan_Region.svg',
}