Skip to content

Fix font-styling issue and potentially accepting custom styling class - #6

Open
y0n4 wants to merge 2 commits into
ilyankou:masterfrom
y0n4:master
Open

Fix font-styling issue and potentially accepting custom styling class#6
y0n4 wants to merge 2 commits into
ilyankou:masterfrom
y0n4:master

Conversation

@y0n4

@y0n4 y0n4 commented May 26, 2021

Copy link
Copy Markdown

Hi, thank you so much for creating this library!! I love how easy to implement and visually pleasing the material-ui icon markers looks on the map.

I confirmed on 3 different environments that the icon font is too big that it gets tipped over the marker. I noticed that this might be because of the svg not having read access to the styling classes.

Before

After

I would like to propose an idea of having a custom class to be accepted as an option like how it's currently accepting markerColor, outlineColor, outlineWidth, etc as an option. In my case I wanted to add custom css animations to the marker of it blinking and just pass it as a className.

Feel free to correct me if I am catching incorrectly or mistaken something.
Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant