PATRIK27 / osmdroid

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

Position of Person's icon #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Person icon position is defined in source as:
protected final android.graphics.Point PERSON_HOTSPOT = new 
android.graphics.Point(24, 39);

For devices with different resolution than 320x480 this icon won't be placed 
right.

What version of the product are you using? On what operating system?
osmdroid 1.9
We've tested it on HTC Tattoo and HTC Desire HD

Original issue reported on code.google.com by ame...@gmx.net on 20 Jan 2011 at 1:42

GoogleCodeExporter commented 8 years ago
The icon's pixel values must be scaled to the screen density as described in:

http://developer.android.com/guide/practices/screens_support.html#density-indepe
ndence

Original comment by kurtzm...@gmail.com on 24 Jan 2011 at 4:07

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r757.

Original comment by kurtzm...@gmail.com on 24 Jan 2011 at 4:09