« Leaflet markercluster » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
m (Remplacement de texte — « Maps example » par « Maps examples ») |
||
Ligne 145 : | Ligne 145 : | ||
[[Category:Leaflet examples]] | [[Category:Leaflet examples]] | ||
[[Category:Maps | [[Category:Maps examples]] |
Version du 8 octobre 2017 à 20:50
{{#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 | service = leaflet | markercluster = on | zoom = 2 }}
<display_map service=leaflet 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 turned on.
{{#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 | service = leaflet | markercluster = on | zoom = 2 | clustermaxradius = 60 }}
Map with greater clustermaxradius.
{{#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 | service = leaflet | markercluster = on | zoom = 2 | clustermaxzoom = 3 }}
Map with clustermaxzoom of 3.
{{#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 | service = leaflet | markercluster = on | zoom=2 | clusterzoomonclick = false }}
Map without clusterzoomonclick.
{{#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 | service = leaflet | markercluster = on | zoom=2 | clusterspiderfy = false }}
Map without clusterspiderfy.