Maps examples/Google Maps marker clustering

From semantic-mediawiki.org
Maps examplesMaps examples/Google Maps marker clustering
Map with markerclustering
{{#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
 |service=googlemaps3
}}
Loading map...


Map with markerclustering and searchmarkers turned on (try toggling clustering and searching markers)
<display_map service="googlemaps3" 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>
Loading map...


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
 |clustergridsize=120
 |service=googlemaps3
}}
Loading map...


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
 |markercluster=on
 |zoom=2
 |clustermaxzoom=3
 |service=googlemaps3
}}
Loading map...


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
 |clusterzoomonclick=false
 |clusteraveragecenter=false
 |service=googlemaps3
}}
Loading map...


Map with clusterminsize 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
 |clusterminsize=5
 |service=googlemaps3
}}
Loading map...


Starting June 11, 2018 the free usage of the Google Maps APIs is limited to 28,000 calls a month for dynamic maps. As soon as this monthly limit is reached no more maps will be served that month for this wiki by Google.