Open aFrontendDev opened 9 years ago
You're absolutely right, adding a css class would also be much better. Thanks
On Tuesday, 15 September 2015, Sebastian notifications@github.com wrote:
This pull would be obsolete when this https://github.com/googlemaps/js-marker-clusterer/pull/24 pull was merged.
— Reply to this email directly or view it on GitHub https://github.com/googlemaps/js-marker-clusterer/pull/14#issuecomment-140324077 .
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