Closed GoogleCodeExporter closed 9 years ago
Patch attached - note that it depends on the safe canvas drawing patch in 221
(but that could easily be reversed if necessary).
Original comment by kurtzm...@gmail.com
on 2 Nov 2012 at 3:52
Attachments:
I was going to do something similar in issue 284 but didn't get round to doing
anything
Original comment by neilboyd
on 3 Nov 2012 at 11:26
[deleted comment]
I just realized I never included the CompassOverlay. Here is the updated patch.
Apply in the overlay package folder.
Original comment by kurtzm...@gmail.com
on 14 Nov 2012 at 3:34
Attachments:
This issue was closed by revision r1138.
Original comment by kurtzm...@gmail.com
on 3 Jan 2013 at 7:43
Hi,
By the chance of my location / compass changes it would be convenient to have
them more extendable.
One example: we cannot change the my location bitmaps from extending classes -
we have to change the osmdroid code. Right now the mPersonBitmap and
mDirectionArrowBitmap are protected but also final.
Thanks.
Original comment by devemu...@gmail.com
on 4 Jan 2013 at 12:20
Write your own ResourceProxy and you can supply your own Drawables for person
and direction_arrow. That is what the ResourceProxy is (sort-of) for.
Original comment by kurtzm...@gmail.com
on 4 Jan 2013 at 2:08
I know and already use the ResourceProxy in other cases, but the mPersonHotspot
is final and calculate position of icon's feet. In case I want the
mPersonHotspot to be at icon's center?
Original comment by devemu...@gmail.com
on 4 Jan 2013 at 2:25
[deleted comment]
You can still change the mPersonHotspot. Just use its .set() methods to change
the values.
Original comment by kurtzm...@gmail.com
on 7 Jan 2013 at 6:55
To what .set method are you referring to? I don't see any .set method for
mPersonHotspot at MyLocationNewOverlay class.
Original comment by devemu...@gmail.com
on 8 Jan 2013 at 9:12
Sorry, I assumed you were extending the existing overlay class in which case
you would have access to the mPersonHotspot. I added a setPersonHotspot()
method to change the person hotspot.
Original comment by kurtzm...@gmail.com
on 8 Jan 2013 at 5:44
I just wanted to add the compass in place of mPerson and compass should move if
you are standing still at some place and redirecting the device, could it be
possible?
Original comment by min2bhan...@gmail.com
on 21 May 2013 at 5:28
Original issue reported on code.google.com by
kurtzm...@gmail.com
on 1 Nov 2012 at 6:25