« Google Maps marker clustering » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(add cluster properties) |
||
Ligne 65 : | Ligne 65 : | ||
</display_map> | </display_map> | ||
Map with markerclustering and searchmarkers turned on (try toggling clustering and searching markers) | Map with markerclustering and searchmarkers turned on (try toggling clustering and searching markers) | ||
<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 | |||
| clustergridsize = 120 | |||
| clustermaxzoom = 20 | |||
| clusterzoomonclick = true | |||
| clusteraveragecenter = true | |||
| clusterminimumclustersize = 2 | |||
}} | |||
</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 | |||
| clustergridsize = 120 | |||
| clustermaxzoom = 20 | |||
| clusterzoomonclick = true | |||
| clusteraveragecenter = true | |||
| clusterminimumclustersize = 2 | |||
}} | |||
[[Category:Maps example]] | [[Category:Maps example]] |
Version du 24 mai 2016 à 14:55
{{#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 | clustermaxzoom = 20 | clusterzoomonclick = true | clusteraveragecenter = true | clusterminimumclustersize = 2 }}