tangram-es icon indicating copy to clipboard operation
tangram-es copied to clipboard

Erronously floating text

Open westnordost opened this issue 3 years ago • 4 comments

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:

image

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

westnordost avatar Jan 08 '21 15:01 westnordost

No interest? I still have the videos on my desktop

westnordost avatar Jan 24 '21 00:01 westnordost

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?

matteblair avatar Jan 25 '21 01:01 matteblair

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

  1. locking the map position to the GPS position (button on the lower right)
  2. 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.

westnordost avatar Jan 25 '21 14:01 westnordost

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.

tallytalwar avatar Jan 28 '21 06:01 tallytalwar