![]() | This is a documentation subpage for Module:Location map/data/China. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | This is a documentation subpage for Module:Location map/data/China. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Location map China is a location map definition used to overlay markers and labels on an equidistant conic projection map of China. 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 "China":
{{Location map|China |...}}
{{Location map many|China |...}}
{{Location map+|China |...}}
{{Location map~|China |...}}
Map definition
- name
- used in default map caption (Template:Location map/data/China)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/China|Template:Location map/data/China]])
- image1
- an alternative map image, usually a relief map ([[:File:Template:Location map/data/China|Template:Location map/data/China]])
- x
- an expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
- y
- an expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
Alternative map
The map shown above as image1 (Template:Location map/data/China) can be displayed by using the AlternativeMap or relief parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. Further instructions can be found at Template:Location map#Using Alternative Map and Template:Location map#Relief, or see the examples below.
Examples
Location map, using default map (image)
{{Location map | China | width = 250 | lat = 37 | long = 100 | label = Qinghai Lake | marksize = 6 }}
Location map, using relief map (image1)
{{Location map | China | relief = yes | width = 250 | lat = 37 | long = 100 | label = Qinghai Lake | marksize = 6 }}
Location map many, using default map
People's Republic of China
{{Location map many | China | caption = People's Republic of China | width = 250 | lat = 39.91 | long = 116.39 | label = Beijing | lat2 = 31.2 | long2 = 121.5 | label2 = Shanghai }}
Location map+, using AlternativeMap
People's Republic of China
{{Location map+ | China | AlternativeMap = China edcp relief location map.jpg | caption = People's Republic of China | width = 250 | places = {{Location map~ | China | lat = 39.91 | long = 116.39 | label = Beijing }} {{Location map~ | China | lat = 31.2 | long = 121.5 | label = Shanghai }} }}