googlearchive / js-marker-clusterer

A marker clustering library for the Google Maps JavaScript API v3.
https://googlemaps.github.io/js-marker-clusterer/docs/reference.html
Apache License 2.0
1.28k stars 775 forks source link

Add new svg attribute to options styles json #105

Open MR-0 opened 7 years ago

MR-0 commented 7 years ago

The new attribute ('svg') accept a string whit a svg elements or a function that returns svg elements literally. The accessor function provide a object with level, index, count, text and total. This object is referred to internal 'sums' variable, passed to setSums in Cluster.clusterIcon_

googlebot commented 7 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


MR-0 commented 7 years ago

im in, i signed

googlebot commented 7 years ago

CLAs look good, thanks!