costales / unav

GPS Navigator for Ubuntu Touch
GNU General Public License v3.0
25 stars 8 forks source link

2.5D street view #19

Closed suoko closed 4 years ago

suoko commented 4 years ago

Did you already try to make the view 3d ? I guess a fake 2.5D view are usually enough for turn by turn nav apps. Maybe with Scene2D of Qt 3D ?

costales commented 4 years ago

Hi, Not possible currently now, the map are image tiles. But thanks for the idea!! Best regards.

suoko commented 4 years ago

Image tiles are just square images right ? Really, I don't know exactly how tiles work, but if that's the case, we can partially flip them https://gofile.io/d/NqtPTF

costales commented 4 years ago

Hi, Yes, they are square images. I need a vectorial map for allow that. It's not as easy as it sounds - besides the rotation itself, you need to extend all the projection logic for all events to work with rotated maps correctly, extend touch logic to allow rotation with fingers, change the tile loading algorithm (it will become more complex in rotated case than just a requesting rectangle of tiles), and many other nuances. A hug!

Costales.

suoko commented 4 years ago

I even found this, but I bet you know that: https://gofile.io/d/ERFB2K I don't get why logic should change, I'm talking only about the map display ... Can I load you project in qtcreator ?

costales commented 4 years ago

Hi, When you touch on the map, it's a point in 2D, if you moved the image the touch doesn't correspond with the real point touched. I don't know about qtcreator, I think you have to use clickable https://clickable-ut.dev/en/latest/ Any way, the way is to migrate that map to a vector map :) Best regards.

Costales.

suoko commented 4 years ago

Vector tiles are available too https://openmaptiles.org/

Il mer 6 mag 2020, 23:17 Costales notifications@github.com ha scritto:

Hi, When you touch on the map, it's a point in 2D, if you moved the image the touch doesn't correspond with the real point touched. I don't know about qtcreator, I think you have to use clickable https://clickable-ut.dev/en/latest/ Any way, the way is to migrate that map to a vector map :) Best regards.

Costales.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/costales/unav/issues/19#issuecomment-624895786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA35RTFFBJW3O7XSTEGSDEDRQHHU5ANCNFSM4MYISHKQ .