anhtuanmai / osmdroid

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

Offset on PathOverlay drawing #421

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a sample am with a map on android 4.2.2
2. add an pathoverlay
3. run the app

What is the expected output? What do you see instead?

It was expected to see a map with a path overlay of a route over the road. But 
the pathOverlay has an offset. While I do "pinch" to zoom the map the route is 
correctly places (see Screenshot_2013-04-05-13-05-55.png image) but when the 
map is loadded or realoaded in the desired zoom level then pathOverlay is 
placed with an offset (see Screenshot_2013-04-05-13-06-02.png image)

What version of the product are you using? On what operating system?

I am using osmdroid-android-3.0.9.jar and slf4j-android-1.5.8.jar over android 
4.2.2

Please provide any additional information below.

Original issue reported on code.google.com by txup...@gmail.com on 5 Apr 2013 at 11:19

GoogleCodeExporter commented 8 years ago
I have tested with osmdroid-android-3.0.8.jar and works properly so may be a 
bug of new 3.0.9 versión.

Original comment by txup...@gmail.com on 5 Apr 2013 at 11:35

GoogleCodeExporter commented 8 years ago
Do you have hardware acceleration turned off?

Original comment by kurtzm...@gmail.com on 5 Apr 2013 at 1:04

GoogleCodeExporter commented 8 years ago
no, but i have attached project if you want to test it. I am running it on 
Galaxy Nexus device.

Original comment by txup...@gmail.com on 5 Apr 2013 at 1:25

GoogleCodeExporter commented 8 years ago
Try turning hardware acceleration to "false" in the manifest.

Original comment by kurtzm...@gmail.com on 5 Apr 2013 at 2:00

GoogleCodeExporter commented 8 years ago
Issue 397 is also solved when I disable hardware acceleration!

Original comment by tfreudi...@googlemail.com on 11 Apr 2013 at 10:47

GoogleCodeExporter commented 8 years ago
Please try this issue with 3.0.10 and report back if you still experience it.

Original comment by kurtzm...@gmail.com on 3 May 2013 at 12:47

GoogleCodeExporter commented 8 years ago

Original comment by kurtzm...@gmail.com on 11 Jun 2013 at 2:03