Jump to content

Module:Location map/data/Thailand/doc

From Wikipedia, the free encyclopedia


Location map of Thailand
name Thailand
border
coordinates
20.6
97.1 ←↕→ 106
5.4
map center 13°00′N 101°33′E / 13°N 101.55°E / 13; 101.55
image Thailand adm location map.svg
image1 Thailand location relief map.svg
Map of Thailand

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

Map definition

  • name = Thailand
    Name used in the default map caption
  • bottom = 5.4
    Latitude at bottom edge of map, in decimal degrees
  • left = 97.1
    Longitude at left edge of map, in decimal degrees
  • right = 106
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Bangkok is located in Thailand
Bangkok
Bangkok
Bangkok (Thailand)
{{Location map | Thailand
| width   = 150
| lat_deg = 13.752
| lon_deg = 100.494
| label   = Bangkok
}}

Location map many, using relief map (image1)

Location map/data/Thailand/doc is located in Thailand
Bangkok
Bangkok
Samut Sakhon
Samut Sakhon
Kanchanaburi
Kanchanaburi
Ko Lanta Yai
Ko Lanta Yai
Chiang Mai
Chiang Mai
Phitsanulok
Phitsanulok
Khon Kaen
Khon Kaen
Seven locations in Thailand
=== Location map many, using relief map (image1) ===
{{Location map many | Thailand
| relief   = yes
| width    = 250
| caption  = Seven locations in Thailand
| lat1_deg = 13.752
| lon1_deg = 100.494
| label1   = Bangkok
| lat2_deg = 13.543
| lon2_deg = 100.270
| label2   = Samut Sakhon
| lat3_deg = 14.025
| lon3_deg = 99.530
| label3   = Kanchanaburi
| lat4_deg = 7.495
| lon4_deg = 99.075
| label4   = Ko Lanta Yai
| lat5_deg = 18.780
| lon5_deg = 98.981
| label5   = Chiang Mai
| lat6_deg = 16.838
| lon6_deg = 100.257
| label6   = Phitsanulok
| lat7_deg = 16.438
| lon7_deg = 102.810
| label7   = Khon Kaen
}}

Location map+, using AlternativeMap

Location map/data/Thailand/doc is located in Thailand
Bangkok
Bangkok
Hat Yai
Hat Yai
Two locations in Thailand
{{Location map+ | Thailand
| AlternativeMap = Thailand location map Topographic.png
| width   = 150
| caption = Two locations in Thailand
| places  =
  {{Location map~ | Thailand
  | lat_deg = 13.752
  | lon_deg = 100.494
  | label   = Bangkok
  }}
  {{Location map~ | Thailand
  | lat_deg = 7.017
  | lon_deg = 100.467
  | label   = Hat Yai
  }}
}}

See also

Location map templates

Creating new map definitions