CartoDB / mobile-sdk

CARTO Mobile SDK core project
https://carto.com/docs/carto-engine/mobile-sdk/
BSD 3-Clause "New" or "Revised" License
179 stars 65 forks source link

Map is not scaling with correctly on UWP #530

Closed l4nk4b3l closed 1 year ago

l4nk4b3l commented 1 year ago

Hi,

I found an issue. The MapView is not working properly when Windows Scaling is enabled. In my case, scaling is set to 150%.

Steps to reproduce:

  1. Download .NET (Xamarin and UWP) sample app: https://github.com/CartoDB/mobile-dotnet-samples
  2. Update NuGet Package from 4.4.5 to 4.4.7 or 4.4.6
  3. Start UWP
  4. Marker is not centered and map is zooming with an offset

Plattform: UWP CartoMobileSDK.UWP: >= 4.4.6

Actual (Windows Scaling 150%)

150

Expected (Windows Scaling 100%)

100
mtehver commented 1 year ago

Thanks for reporting this. I have pushed a fix for this to the master branch.

l4nk4b3l commented 1 year ago

Works fine. Are there any plans on releasing a new version? I am having trouble building my own release.

mtehver commented 1 year ago

@l4nk4b3l Yes, there is a plan for 4.4.8 release, but this UWP bug is the only important one at the moment, so I would wait a bit more before doing the release.

ZakMcGrabben commented 1 year ago

Any updates on this issue?

mtehver commented 1 year ago

Thanks for reminding this. I have pushed a new version (4.4.8-rc.1) that includes fix for the issue.