zeta243 / osmdroid

Automatically exported from code.google.com/p/osmdroid
1 stars 0 forks source link

each pinch zoom image transition is out of line #342

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. mapview image is rendered
2. I pinched the screen in order to zoom 
3. after the zoom new image appears but unlike google maps , the transition is 
not set properly

What is the expected output? What do you see instead?
 the expected output is a pinch zoom transition as smooth a google maps, ie when I zoom into a town the result is the town is at the same place and with a more precise render
instead I see the town move to the right, or left (it depends of how I pinch), 
but the town is not in the same place anymore in the screen

What version of the product are you using? On what operating system?
osmdroid 3.0.8 in android 2.3.4

Please provide any additional information below.
screenshot example included

Original issue reported on code.google.com by borei....@gmail.com on 7 May 2012 at 9:39

Attachments:

GoogleCodeExporter commented 8 years ago
Are you trying to say that you'd like the new tiles to be downloaded and 
rendered instantly after releasing the zoom? Unfortunately the internet is 
slow, especially on a mobile device. Google Maps uses vector rendering which is 
a completely different process to tile rendering that osmdroid uses. If you 
wait a little bit then osmdroid will also show the same place with a more 
precise render.

Original comment by neilboyd on 8 May 2012 at 5:31

GoogleCodeExporter commented 8 years ago
hi, no not instantly, but the new image must fit the old one like google maps 
ok, 
currently the process is 
1 - before pinch image is small
2 - before releasing pinch image is bigger
3 - after releasing ping new image zoom is shown but bigger than the old one

it will better if
1 - before pinch image is small
2 - before releasing pinch image is bigger
3 - after releasing ping new image zoom is shown and it will fit 2 with more 
precise render

the solution here is find a way to show the new image in 3- that with precise 
zoom that will fit 2- like google maps. its really weird that releasing the 
pinch we've got more zoom. I think this is not correct. it's like we've got 2 
level of zoom when we pinch instead of one .

please tell me what you think? :)

Original comment by borei....@gmail.com on 8 May 2012 at 2:06

GoogleCodeExporter commented 8 years ago
Again, vector maps are completely different to tile maps. Vector maps can have 
an arbitrary zoom.  Tile maps have a finite number of zoom levels.

Original comment by neilboyd on 8 May 2012 at 3:19

GoogleCodeExporter commented 8 years ago
thanks for your quick answer. I understand now

Original comment by borei....@gmail.com on 10 May 2012 at 1:05