“Testmap”的版本间的差异

来自汉服百科
跳转至: 导航搜索
第12行: 第12行:
 
{{#display_map: 55.7557860, 37.6176330}}
 
{{#display_map: 55.7557860, 37.6176330}}
  
 +
 +
 +
Usage of the "searchmarkers" parameter added in Maps 2.0. It accepts these values:
 +
 +
* title
 +
* all
 +
* ''empty string''
 +
 +
=== All ===
 +
 +
Try searching on "capital of" or "city".
 +
 +
<pre>
 
<display_map searchmarkers="all">
 
<display_map searchmarkers="all">
 
New York City|New York City|Home of the great Yaron Koren
 
New York City|New York City|Home of the great Yaron Koren
第19行: 第32行:
 
Norway|Norway|Meanwhile in Norway
 
Norway|Norway|Meanwhile in Norway
 
</display_map>
 
</display_map>
 +
</pre>
 +
 +
<display_map searchmarkers="all">
 +
New York City|New York City|Home of the great Yaron Koren
 +
Brussels|Brussels|Capital of Belgium
 +
Berlin|Berlin (city)|Capital of Germany
 +
London|London|Capital of the United Kingdom
 +
Norway|Norway|Meanwhile in Norway
 +
</display_map>
 +
 +
=== Title ===
 +
 +
<pre>
 +
<display_map searchmarkers="title">
 +
New York City|New York City|Home of the great Yaron Koren
 +
Brussels|Brussels|Capital of Belgium
 +
Berlin|Berlin (city)|Capital of Germany
 +
London|London|Capital of the United Kingdom
 +
Norway|Norway|Meanwhile in Norway
 +
</display_map>
 +
</pre>
 +
 +
<display_map searchmarkers="title">
 +
New York City|New York City|Home of the great Yaron Koren
 +
Brussels|Brussels|Capital of Belgium
 +
Berlin|Berlin (city)|Capital of Germany
 +
London|London|Capital of the United Kingdom
 +
Norway|Norway|Meanwhile in Norway
 +
</display_map>
 +
 +
[[Category:Google Maps examples]]
 +
[[Category:Maps examples]]

2013年4月13日 (六) 05:23的版本

Test geographic coordinate:: 32°42′54″ N, 117°9′45″ W Test geographic coordinate:: 32.715° N, 117.163° W Test geographic coordinate:: -32.715°, -77.03201°


Displaying a single point with float coordinate notation.

{{#display_map: 55.7557860, 37.6176330}}

{{#display_map: 55.7557860, 37.6176330}}


Usage of the "searchmarkers" parameter added in Maps 2.0. It accepts these values:

  • title
  • all
  • empty string

All

Try searching on "capital of" or "city".

<display_map searchmarkers="all">
New York City|New York City|Home of the great Yaron Koren
Brussels|Brussels|Capital of Belgium
Berlin|Berlin (city)|Capital of Germany
London|London|Capital of the United Kingdom
Norway|Norway|Meanwhile in Norway
</display_map>

<display_map searchmarkers="all"> New York City|New York City|Home of the great Yaron Koren Brussels|Brussels|Capital of Belgium Berlin|Berlin (city)|Capital of Germany London|London|Capital of the United Kingdom Norway|Norway|Meanwhile in Norway </display_map>

Title

<display_map searchmarkers="title">
New York City|New York City|Home of the great Yaron Koren
Brussels|Brussels|Capital of Belgium
Berlin|Berlin (city)|Capital of Germany
London|London|Capital of the United Kingdom
Norway|Norway|Meanwhile in Norway
</display_map>

<display_map searchmarkers="title"> New York City|New York City|Home of the great Yaron Koren Brussels|Brussels|Capital of Belgium Berlin|Berlin (city)|Capital of Germany London|London|Capital of the United Kingdom Norway|Norway|Meanwhile in Norway </display_map>