masajid390 / BeautifyMarker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icon Angle

stharvey opened this issue · comments

Hello,

This is a great plugin - thanks a lot for the work that has gone into it.

I am using a custom icon font from icomoon.io however when I do this the icons are all on a 45 degree angle... this is just for iconShape: 'marker'

It isn't the entire marker that is rotated, just the icon within it. The icon appears to be ignoring the CSS:
marker.marker > * { transform: rotate(-45deg); }

Though I can't see why.

I've attached a screenshot.

Any assistance would be appreciated.

Thanks.
screen shot 2018-11-01 at 08 52 48

Hello, I've figured it out.

My custom icons are set as display: block - so can't be rotated... I have changed that to inline-block and all is good.

Thanks