Closed GoogleCodeExporter closed 9 years ago
In ItemizedOverlay line 128, change the call to onDrawItem() to be:
canvas.getUnsafeCanvas(new UnsafeCanvasHandler() {
@Override
public void onUnsafeCanvas(Canvas canvas) {
onDrawItem(canvas, item, mCurScreenCoords);
}
});
And let me know if that works!
Original comment by kurtzm...@gmail.com
on 13 May 2013 at 1:33
Thanks, worked like a charm! Is this change something that will be included in
the next release?
Original comment by matej.di...@gmail.com
on 13 May 2013 at 5:15
This narrows down what the issue is, but as a real solution we should probably
be passing ISafeCanvas to onDrawItem() rather than passing the regular canvas.
It's a little more "breaking", but otherwise you will get icon drawing issues
at high zoom levels.
Original comment by kurtzm...@gmail.com
on 15 May 2013 at 1:13
This issue was updated by revision r1246.
Pass an ISafeCanvas into onDrawItem so custom drawing can take place in that
method by subclasses.
Original comment by kurtzm...@gmail.com
on 14 Jun 2013 at 7:37
Original comment by kurtzm...@gmail.com
on 14 Jun 2013 at 7:47
This has been released in 4.0.
Original comment by kurtzm...@gmail.com
on 25 Oct 2013 at 1:47
Original issue reported on code.google.com by
matej.di...@gmail.com
on 13 May 2013 at 11:00