« Google Maps marker clustering » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 88 : | Ligne 88 : | ||
| markercluster=on | | markercluster=on | ||
| zoom=2 | | zoom=2 | ||
| clustermaxzoom = | | clustermaxzoom = 5 | ||
}} | }} | ||
</pre> | </pre> | ||
Ligne 96 : | Ligne 96 : | ||
| markercluster=on | | markercluster=on | ||
| zoom=2 | | zoom=2 | ||
| clustermaxzoom = | | clustermaxzoom = 5 | ||
}} | }} | ||
Map with | Map with clustermaxzoom of 5. | ||
<pre> | <pre> |
Version du 24 mai 2016 à 15:00
{{#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 = 5 }}
Map with clustermaxzoom of 5.
{{#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.