Comments (2)
Thanks for you clear bug report. What you describe seems like a problem with PixelDensity. It may not be a Mac specific problem but a problem that shows if you work with two monitors with a different density. You can request the density in the MainPage of you app with:
var pixelDensity = XamlRoot?.RasterizationScale;
Could you check that? Perhaps you need to start the app in a specific screen to get a correct value.
I am testing on Windows and can not reproduce it there, but that may be because of my monitors.
Looking at our code just now I think it is more likely that this is a bug in SkiaSharp or Uno. We do not store the PixelDensity but request it on every iteration. I don't know what else we could do to fix this.
I also found another problem and that is that the mouse wheel event is not fired on my second monitor unless I have the pointer near the top left (it seems 1/16th of the screen area).
from mapsui.
@pauldendulk. I checked the pixiel density and doesn't seem to change when switching screens, as it does on windows (just tested on both platforms). I'll raise an issue to UNO. Thanks for your help!
from mapsui.
Related Issues (20)
- System.NullReferenceException when replacing TileLayer. HOT 4
- Replace ILayer.Style with a ILayer.Styles like IFeature.Styles HOT 2
- MyLocationLayer with animation results in tiles not loading HOT 8
- Crash after click on "Attribution" label on Linux (Mapsui Avalonia) HOT 2
- EditingWidget redesign HOT 2
- Any way to draw different colors along the normal direction of the line using an offset value? HOT 2
- Scrolling the mouse wheel to zoom sometimes gets stuck going in only one directly HOT 4
- Updating DataSource in Layer has no effect if Layer is wrapped in a RasterizingTileLayer HOT 1
- Transparent Fill on ellipse SymbolStyle becomes white when interacting with map HOT 2
- Breaking changes in changeset Feb 11, 2024, 08:88 e41e3536fd58417dc84099c13038bf0bc8bbc69b ? HOT 5
- Can VectorStyle use both Background and FillStyle(not solid) simultaneously? HOT 2
- Minimum space between features to prevent overlapping HOT 3
- IWidgetExtended: HandleWidgetTouched's and HandleWidgetTouching's args always the same on MAUI (eg.: ClickCount always 1) HOT 2
- CalloutStyle TitleFont Custom FontFamily Didn't work
- [Uno] Using mapsui with .NET 8 causes invalid targets resolution on Windows HOT 2
- UserControl on a pin HOT 3
- Add ZoomToBoxWidget
- Add SliderWidget
- MbTiles not load An error occurred while fetching data. Exception: no such table: tiles HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapsui.