Skip to content
This repository was archived by the owner on Jun 16, 2019. It is now read-only.

adding margin top option#14

Open
aFrontendDev wants to merge 1 commit into
googlearchive:gh-pagesfrom
aFrontendDev:gh-pages
Open

adding margin top option#14
aFrontendDev wants to merge 1 commit into
googlearchive:gh-pagesfrom
aFrontendDev:gh-pages

Conversation

@aFrontendDev

Copy link
Copy Markdown

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

@XmlmXmlmX

Copy link
Copy Markdown

This pull would be obsolete when this pull was merged.

@aFrontendDev

Copy link
Copy Markdown
Author

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
#24 pull was
merged.


Reply to this email directly or view it on GitHub
#14 (comment)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants