File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 146146 "maps-googlemaps3-par-clustergridsize" : " The grid size of a cluster in pixels." ,
147147 "maps-par-clustermaxzoom" : " The maximum zoom level where clusters may exist." ,
148148 "maps-par-clusterzoomonclick" : " Whether the default behaviour of clicking on a cluster is to zoom into it." ,
149+ "maps-par-clusteranimate" : " Whether to enable smooth transitions when zooming and spiderfying." ,
149150 "maps-par-maxclusterradius" : " The maximum radius that a cluster will cover." ,
150151 "maps-googlemaps3-par-clusteraveragecenter" : " Whether the center of each cluster should be the average of all markers in the cluster." ,
151152 "maps-googlemaps3-par-clusterminsize" : " The minimum number of markers to be in a cluster before the markers are hidden and a count is shown." ,
Original file line number Diff line number Diff line change 1010 maxClusterRadius : options . clustermaxradius ,
1111 disableClusteringAtZoom : options . clustermaxzoom + 1 ,
1212 zoomToBoundsOnClick : options . clusterzoomonclick ,
13+ animate : options . clusteranimate ,
1314 spiderfyOnMaxZoom : options . clusterspiderfy ,
1415 iconCreateFunction : function ( cluster ) {
1516 var childCount = cluster . getChildCount ( ) ;
Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ public function getParameterInfo(): array {
112112 'message ' => 'maps-par-clusterzoomonclick ' ,
113113 ];
114114
115+ $ params ['clusteranimate ' ] = [
116+ 'type ' => ParameterTypes::BOOLEAN ,
117+ 'default ' => true ,
118+ 'message ' => 'maps-par-clusteranimate ' ,
119+ ];
120+
115121 $ params ['clustermaxradius ' ] = [
116122 'type ' => ParameterTypes::INTEGER ,
117123 'default ' => 80 ,
You can’t perform that action at this time.
0 commit comments