You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all: thank you for the awesome plugin!
In the CSS file, the background-position for white marker is off by 2 pixels:
.awesome-marker-icon-white {
background-position: -574px 0;
}
Should be instead:
.awesome-marker-icon-white {
background-position: -576px 0;
}
Interestingly, the background-position for the black marker is also off by 2 pixels compared to the 36 pixels step, but it renders fine. So it is probably misplaced in the sprite image, and the background-position corrects this difference.
The text was updated successfully, but these errors were encountered:
ghybs
added a commit
to ghybs/Leaflet.awesome-markers
that referenced
this issue
Jul 8, 2015
Hi,
First of all: thank you for the awesome plugin!
In the CSS file, the background-position for white marker is off by 2 pixels:
.awesome-marker-icon-white {
background-position: -574px 0;
}
Should be instead:
.awesome-marker-icon-white {
background-position: -576px 0;
}
Interestingly, the background-position for the black marker is also off by 2 pixels compared to the 36 pixels step, but it renders fine. So it is probably misplaced in the sprite image, and the background-position corrects this difference.
The text was updated successfully, but these errors were encountered: