Difference between revisions of "Module:Location map/data/Indonesia/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Lam-ang
m (+category)
Line 61: Line 61:
 
== Examples using location map templates ==
 
== Examples using location map templates ==
  
=== Location map, using default map (image) ===
+
=== Location map many, using relief map (image) ===
{{Location map | Indonesia
+
{{Location map many | Indonesia
| width  = 300
+
| width   = 300
| lat_deg = -6.2
+
| caption  = Three locations in Indonesia
| lon_deg = 106.8
+
| lat1_deg = -3.36388
| label   = Jakarta
+
| 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
 
}}
 
}}
 
<pre style="width:30em">
 
<pre style="width:30em">
{{Location map | Indonesia
+
{{Location map many | Indonesia
| width  = 300
+
| width   = 300
| lat_deg = -6.2
+
| caption  = Three locations in Indonesia
| lon_deg = 106.8
+
| lat1_deg = -3.36388
| label   = Jakarta
+
| 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
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 05:33, 10 October 2017

Map of Indonesia

Template:Location map 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

Alternative map

The map defined as image1 (Template:Location map/data/Indonesia) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/Indonesia) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map many, using relief map (image)

Location map/data/Indonesia/doc is located in Indonesia
Ogan Komering Ilir
Ogan Komering Ilir
Sarmi
Sarmi
Pulang Pisau
Pulang Pisau
Three locations in Indonesia
{{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
}}

Location map many, using relief map (image1)

Location map/data/Indonesia/doc is located in Indonesia
Jakarta
Jakarta
Jayapura
Jayapura
Tanjung Selor
Tanjung Selor
Banda Aceh
Banda Aceh
Four locations in Indonesia
{{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
}}

Location map+, using AlternativeMap

Location map/data/Indonesia/doc is located in Indonesia
Jakarta
Jakarta
Jayapura
Jayapura
Tanjung Selor
Tanjung Selor
Banda Aceh
Banda Aceh
Four locations in Indonesia
{{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
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List