-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
[BUG] Retina mode not working properly when using Bing Maps #1471
Comments
Hi @luka-glusica, |
Thanks, @JaffaKetchup. I'm a bit new to Flutter, so I can't confidently dive in deeply into source code, but there are some Web solutions with conceptually similar implementation, that might give us the clue (e.g Openlayers has a nice implementation of Bing Maps with hidpi parameter for higher pixel density tiles). I'll try to find the solution myself in the meantime and post it here. |
@luka-glusica No problem, always happy to help another Luka ;D (Note that #1475 might change things here.) |
I noticed that as well, but it was late and I wasn't sure if I imagined it :D
Great, I'll check it out. Thanks. |
@luka-glusica in Flutter Maps v6, the Retina implementation has been improved. Do you know if this issue still occurs? and would you provide a screenshot? One quick idea, is that Retina mode is implemented by requesting 4 tiles at one zoom lower than the camera. If you are zoomed in as far as Bing allows, but then FM/Retina fetches one layer further, I suspect incorrect things may happen. You could try and set |
Thanks @bramp, I will check it out and let you know. |
I have tested it @bramp. It seems that issue is still there (see screenshots). As you can see, same markers, same coordinates, but |
I wonder if this is somehow related to the |
Hey @luka-glusica, if you're still experiencing this issue, I think setting |
@JaffaKetchup same issue here, i tried zoomOffset and doesnt work for me :( |
Hey @dev7Aproms, can you post a full MRE please? |
What is the bug?
Hi,
I've been playing around with Bing Maps implementation (see here). Although it works properly in a default setup, when setting
retinaMode: true
inTileLayer
options, markers I used to position on the map somewhere in the UK, get distorted and translated somewhere in between New Zealand and Antractica.I would appreciate some help on the subject.
Thanks.
What is the expected behaviour?
It should work like it works for any other TileLayer implementation. I have tried it with OSM and Azure Maps and it works fine.
How can we reproduce this issue?
Do you have a potential solution?
Not really.
Can you provide any other information?
No response
Platforms Affected
Android
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
Frequency
Consistently: Always occurs at the same time and location
Requirements
flutter doctor
finds no relevant issuesThe text was updated successfully, but these errors were encountered: