KapoorVashisht / osmdroid

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

tap happens on geopoint, not on marker drawable #495

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create MyItemizedOverlay
2. put marker hotspot to CENTER_BOTTOM
3. run app

What is the expected output? What do you see instead?
You'd expect the click to work when you tap the marker. Instead, the tap only 
works when you click the bottom of the marker, or underneath the marker. This 
means the tap is working on the geopoint, not on the marker drawable.

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

Please provide any additional information below.

Original issue reported on code.google.com by christin...@gmail.com on 14 Nov 2013 at 9:37

GoogleCodeExporter commented 8 years ago
It seems that in ItemizedOverlay, "boundToHotspot" is called, but the resulting 
mRect is never used. I fixed that for my app, I'll think about a proper fix for 
osmdroid.

Original comment by christin...@gmail.com on 14 Nov 2013 at 10:05