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
I have noticed that when a user's PC has Windows display set to medium 125% i.e. they have changed the DPI settings the shape icons in the toolbar are not displayed.
Reverting back to default display of 100% will resolve the issue.
I have been given this application to work on and it appear that it's using an old version of leaflet draw, 0.2.3-dev.
The text was updated successfully, but these errors were encountered:
Has this specific issue been resolved? I am having a similar issue, where at least the polyline draw and edit buttons are wrong in 125% mode. Strangely the other icons seem fine. See snip from the demo.
I've been playing with the idea of moving these icons to a font instead. This is fodder for the fire. It may be missing few css declarations for those specific icons. I'll take a look, thanks!
Oh, good question. It seems to be an issue on Opera only (though I didn't check Safari). An easy fix is to just stick with the 2x pngs in the css (i.e., comment out or delete the svg). Still, strange that its only the first icon in each of draw & edit.
I looked (not too hard) for other toolbars that use svg icons, but couldn't find any, so don't know if it's Draw-specific or Leaflet-wide.
I have noticed that when a user's PC has Windows display set to medium 125% i.e. they have changed the DPI settings the shape icons in the toolbar are not displayed.
Reverting back to default display of 100% will resolve the issue.
I have been given this application to work on and it appear that it's using an old version of leaflet draw, 0.2.3-dev.
The text was updated successfully, but these errors were encountered: