« Google Maps marker clustering » : différence entre les versions
De Semantic MediaWiki - Sandbox
(add cluster properties) |
Aucun résumé des modifications |
||
Ligne 72 : | Ligne 72 : | ||
| zoom=2 | | zoom=2 | ||
| clustergridsize = 120 | | clustergridsize = 120 | ||
}} | }} | ||
</pre> | </pre> | ||
Ligne 84 : | Ligne 80 : | ||
| zoom=2 | | zoom=2 | ||
| clustergridsize = 120 | | clustergridsize = 120 | ||
}} | }} | ||
Map with greater clustergridsize. | |||
<pre> | |||
{{#display_map: | |||
0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | |||
| markercluster=on | |||
| zoom=2 | |||
| clustermaxzoom = 10 | |||
}} | |||
</pre> | |||
{{#display_map: | |||
0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | |||
| markercluster=on | |||
| zoom=2 | |||
| clustermaxzoom = 10 | |||
}} | |||
Map with lower clustermaxzoom. | |||
<pre> | |||
{{#display_map: | |||
0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | |||
| markercluster=on | |||
| zoom=2 | |||
| clusterzoomonclick = false | |||
| clusteraveragecenter = false | |||
}} | |||
</pre> | |||
{{#display_map: | |||
0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | |||
| markercluster=on | |||
| zoom=2 | |||
| clusterzoomonclick = false | |||
| clusteraveragecenter = false | |||
}} | |||
Map without clusterzoomonclick and clusteraveragecenter. | |||
<pre> | |||
{{#display_map: | |||
0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | |||
| markercluster=on | |||
| zoom=2 | |||
| clusterminsize = 5 | |||
}} | |||
</pre> | |||
{{#display_map: | |||
0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | |||
| markercluster=on | |||
| zoom=2 | |||
| clusterminsize = 5 | |||
}} | |||
Map with clusterminsize of 5. | |||
[[Category:Maps example]] | [[Category:Maps example]] |
Version du 24 mai 2016 à 14:59
{{#display_map: 0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 |markercluster=on |zoom=2 }}
<display_map searchmarkers="all" markercluster=on showtitle=on pagelabel=yes> New York City~New York City~Home of the great Yaron Koren New York City~New York City~Site of SMWCon Spring 2013 New York City~New York City~Financial capital of New York State New York City~New York City~concrete jungle where dreams are made of Montreal, Canada~Montreal~Site of SMWCon Spring 2014 Albany, NY~Albany~Capital of New York State Berlin~Berlin (city)~Capital of Germany Berlin~Berlin (city)~where WikiData is built Berlin~Berlin (city)~Site of SMWCon Fall 2013 Berlin~Berlin (city)~Site of SMWCon Fall 2011 Cologne~Cologne~SMWCon Fall 2012 Carlsbad~Carlsbad~SMWCon Spring 2012 London~London~Capital of the United Kingdom London~London~Where the Open Data Institute is headquartered London~London~Where Sir Tim Berners-Lee is based Norway~Norway~Meanwhile in Norway Washington DC~Washington DC~Site of SMWCon Spring 2011 Amsterdam~Amsterdam~Site of SMWCon Fall 2010 Stanford CA~Stanford~Site of SMW Meetup Spring 2009 Boston MA~Boston~Site of SMW users' meeting Nov 2008 Boston MA~Boston~Site fo SMWCon Spring 2010 Karlsruhe DE~Karlsruhe~Site of SMW Camp Fall 2009 </display_map>
Map with markerclustering and searchmarkers turned on (try toggling clustering and searching markers)
{{#display_map: 0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | markercluster=on | zoom=2 | clustergridsize = 120 }}
Map with greater clustergridsize.
{{#display_map: 0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | markercluster=on | zoom=2 | clustermaxzoom = 10 }}
Map with lower clustermaxzoom.
{{#display_map: 0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | markercluster=on | zoom=2 | clusterzoomonclick = false | clusteraveragecenter = false }}
Map without clusterzoomonclick and clusteraveragecenter.
{{#display_map: 0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52 | markercluster=on | zoom=2 | clusterminsize = 5 }}
Map with clusterminsize of 5.