Module:Location map/data/Indonesia

MyWikiBiz, Author Your Legacy — Monday November 25, 2024
Jump to navigationJump to search

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

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

Map definition

  • name = Indonesia
    Name used in the default map caption
  • bottom = -11.5
    Latitude at bottom edge of map, in decimal degrees
  • left = 94.5
    Longitude at left edge of map, in decimal degrees
  • right = 141.5
    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 47 degrees.

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

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

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

Examples using location map templates

Location map many, using relief map (image)

Template:Location map many

{{Location map many | Indonesia
| width    = 300
| caption  = Three locations in Indonesia
| lat1_deg = -3.36388
| lon1_deg = 104.86881
| label1   = 
Ogan 
Komering 
   Ilir
| lat2_deg = -1.92182
| lon2_deg = 138.77438
| label2   = Sarmi
| lat3_deg = -2.68496
| lon3_deg = 113.95365
| label3   = Pulang Pisau
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | Indonesia
| relief   = yes
| width    = 300
| caption  = Four locations in Indonesia
| lat1_deg = -6.2
| lon1_deg = 106.8
| label1   = Jakarta
| lat2_deg = -2.53
| lon2_deg = 140.72
| label2   = Jayapura
| lat3_deg = 2.85
| lon3_deg = 117.38
| label3   = Tanjung Selor
| lat4_deg = 5.55
| lon4_deg = 95.32
| label4   = Banda Aceh
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{Location map+ | Indonesia
| AlternativeMap = Indonesia relief location map.jpg
| width   = 300
| caption = Four locations in Indonesia
| places  =
  {{Location map~ | Indonesia
  | lat_deg = -6.2
  | lon_deg = 106.8
  | label   = Jakarta
  }}
  {{Location map~ | Indonesia
  | lat_deg = -2.53
  | lon_deg = 140.72
  | label   = Jayapura
  }}
  {{Location map~ | Indonesia
  | lat_deg = 2.85
  | lon_deg = 117.38
  | label   = Tanjung Selor
  }}
  {{Location map~ | Indonesia
  | lat_deg = 5.55
  | lon_deg = 95.32
  | label   = Banda Aceh
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Indonesia',
	top = 6.5,
	bottom = -11.5,
	left = 94.5,
	right = 141.5,
	image = 'Indonesia location map.svg',
	image1 = 'Indonesia relief location map.jpg'
}