For faster navigation, this Iframe is preloading the Wikiwand page for 模組:Location map/data/Germany.

模組:Location map/data/Germany

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]
德國 位置圖
名稱 德國
邊界經緯
55.1
5.5 ←↕→ 15.5
47.2
地圖中心 51°09′N 10°30′E / 51.15°N 10.5°E / 51.15; 10.5
圖像 Germany adm location map.svg
圖像1 Relief Map of Germany.svg
Map of Germany

Module:Location map/data/Germany是用於在德國等距長方投影英语equirectangular projection地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度經度坐標放置。

使用方法

以下模板均使用名為“Germany”的參數:

地圖定義

  • name = 德國
    用於地圖描述的默認值
  • bottom = 47.2
    地圖最南端的緯度,以十進制度數顯示。
  • left = 5.5
    地圖最西端的經度,以十進制度數顯示。
  • right = 15.5
    地圖最東端的經度,以十進制度數顯示。

替代地圖

((Location map))、((Location map many))和((Location map+))模板可使用參數來指定替代地圖圖像。image1的地圖可以使用reliefAlternativeMap參數顯示出來。 您可以在以下模板中找到更多範例:

精度

經度:這張地圖從西到東為10度。

  • 如果圖像的寬度為200像素,則為每像素0.05度。
  • 如果圖像的寬度為1000像素,則為每像素0.01度。

緯度:這張地圖從北到南為7.9度。

  • 如果圖像的垂直長度為200像素,則為每像素0.0395度。
  • 如果圖像的垂直長度為1000像素,則為每像素0.0079度。

位置圖模板使用範例

Location map, using default map (image)

Berlin在德國的位置
Berlin
Berlin
Berlin (德國)
((Location map | Germany
| width   = 200
| lat_deg = 52.5
| lon_deg = 13.4
| label   = Berlin
))

Location map many, using relief map (image1)

Location map/data/Germany在德國的位置
Berlin
Berlin
Munich
Munich
Two locations in Germany
((Location map many | Germany
| relief   = yes
| width    = 200
| caption  = Two locations in Germany
| lat1_deg = 52.5
| lon1_deg = 13.4
| label1   = Berlin
| lat2_deg = 48.13
| lon2_deg = 11.57
| label2   = Munich
))

Location map+, using AlternativeMap

Location map/data/Germany在德國的位置
Berlin
Berlin
Munich
Munich
Two locations in Germany
((Location map+ | Germany
| AlternativeMap = Relief Map of Germany.png
| width   = 200
| caption = Two locations in Germany
| places  =
  ((Location map~ | Germany
  | lat_deg = 52.5
  | lon_deg = 13.4
  | label  = Berlin
  ))
  ((Location map~ | Germany
  | lat_deg = 48.13
  | lon_deg = 11.57
  | label   = Munich
  ))
))

參見

位置圖模板

創建新的地圖模塊

  • Template:Location map/Creating a new map definition

return {
	name = '德國',
	top = 55.1,
	bottom = 47.2,
	left = 5.5,
	right = 15.5,
	image = 'Germany adm location map.svg',
	image1 = 'Relief Map of Germany.svg'
}
{{bottomLinkPreText}} {{bottomLinkText}}
模組:Location map/data/Germany
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?