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

adding margin top option #13

Closed aFrontendDev closed 9 years ago

aFrontendDev commented 9 years ago

I'd like to be able to set a margin top in the style options, small change but one which I've now used on two different projects.

Example usage: var clusterGroup = new MarkerClusterer($googleMap, markers, { gridSize: 40, styles: [{ url: '/images/_temp/map-pin-a.png', height: 59, width: 30, textColor: '#000', textSize: 16, marginTop: -15 }] });

Thanks

googlebot commented 9 years ago

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

aFrontendDev commented 9 years ago

CLA signed

googlebot commented 9 years ago

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

ablackledge commented 9 years ago

It's OK with me!