I’m happy to announce the immediate availability of Maps 3.6. This feature release brings marker clustering enhancements and a number of fixes.
These parameters where added to the display_map parser function, to allow for greater control over marker clustering. They are only supported together with Google Maps.
clustergridsize: The grid size of a cluster in pixels
clustermaxzoom: The maximum zoom level that a marker can be part of a cluster
clusterzoomonclick: If the default behavior of clicking on a cluster is to zoom in on it
clusteraveragecenter: If the cluster location should be the average of all its markers
clusterminsize: The minimum number of markers required to form a cluster
- Fixed missing marker cluster images for Google Maps
- Fixed duplicate markers in OpenLayers maps
- Fixed URL support in the icon parameter
Many thanks to Peter Grassberger, who made the listed fixes and added the new clustering parameters. Thanks also go to Karsten Hoffmeyer for miscellaneous support and to TranslateWiki for providing translations.
Since this is a feature release, there are no breaking changes, and you can simply run
composer update, or replace the old files with the new ones.
There are, however, compatibility changes to keep in mind. As of this version, Maps requires PHP 5.5 or later and MediaWiki 1.23 or later.
composer update will not give you a version of Maps incompatible with your version of PHP, though it is presently not checking your MediaWiki version. Fun fact: this is the first bump in minimum requirements since the release of Maps 2.0, way back in 2012.