Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool control icons not display when Windows display (DPI) is set to medium 125% #429

Open
codePitcher opened this issue Aug 11, 2015 · 3 comments
Assignees
Milestone

Comments

@codePitcher
Copy link

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.

missing icons

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.

@ddproxy ddproxy added this to the 0.4.0 milestone Mar 8, 2016
@ddproxy ddproxy self-assigned this Mar 8, 2016
@drheinheimer
Copy link

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.
capture

@ddproxy
Copy link
Member

ddproxy commented Oct 16, 2016

Oo, chrome, ie, edge?

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!

Get Outlook for Androidhttps://aka.ms/ghei36

@drheinheimer
Copy link

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.

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

No branches or pull requests

3 participants