PATRIK27 / osmdroid

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

OverlayItem Drawable Hotspot incorrectly placed. #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Use an OverlayItem that is not square.
2.  The Hotspot will not be placed correctly if y (non 0) is involved.

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

The hotspot is at the right spot.

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

Can't remember.

Please provide any additional information below.

The problem is evident in the source code.

OverlayItem.java line 211

maybe it should read: 

this.getWidth(), this.getHeight()  

instead of 2 calls to getWidth().

Original issue reported on code.google.com by ignacio....@gmail.com on 14 Mar 2011 at 10:09

GoogleCodeExporter commented 8 years ago
This was fixed in r802. Please update to the latest build.

Original comment by kurtzm...@gmail.com on 15 Mar 2011 at 3:02