tangram-es
tangram-es copied to clipboard
Erronously floating text
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
- Tilt the map (tested with tilt = 36°)
- Rotate the map veeery slowly
RESULT:
At very narrow angles, floating text (a label for a street) flies through the screen.
EXPECTED RESULT:
No floating text flies through the screen.
ENVIRONMENT:
Android 10, tangram-es 0.13.0
OTHER:
Please note: I do have a screencast of this phenomen. I can send it to you privately (email, ...) but wouldn't like to post it on a public platform because it contains my current location and I have no idea how to censor videos
No interest? I still have the videos on my desktop
Hey, sorry for the wait. You can upload the videos using this Dropbox request: https://www.dropbox.com/request/gP4Oe9TbkUOF4fU7q1JG
Have you observed this issue under other conditions, or is it specific to this one view?
Uploaded, thanks!
Well in my app, there is only one view that uses tangram-es. The style used is https://github.com/streetcomplete/streetcomplete-mapstyle with jawg tiles.
It will be very hard or impossible to reproduce this issue with the fingers-rotate gesture. It can be reproduced in my app by
- locking the map position to the GPS position (button on the lower right)
- making the map rotation follow the compass rotation (button on the upper right)
Since the compass sensor data is smoothened very much, by softly rotating the phone, you will be able to reproduce this because the rotation moves so slowly.
Sorry not having my machine with me, but if you can build a local copy of tangram, then you can enable debug flags for labels to see what's happening with the bounding box/collisions. This should get some more information on what's happening without revealing the location.
I can get you the debug options to enable later tomorrow.