Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroundOverlay - Draw White Image on Android 11 #1991

Open
leonardoroese opened this issue Apr 10, 2024 · 0 comments
Open

GroundOverlay - Draw White Image on Android 11 #1991

leonardoroese opened this issue Apr 10, 2024 · 0 comments

Comments

@leonardoroese
Copy link

leonardoroese commented Apr 10, 2024

Issue Type

[ ] Question
[X] Bug
[ ] Improvement
[ ] Build system related
[ ] Performance
[ ] Documentation

Description and/or steps/code to reproduce the problem

Using GroundOverlay results in blank(white) image.

If it's a bug, version(s) of android this affects:

Android 11

Version of osmdroid the issue relates to:

Reproduced on 6.1.x but maybe All.

SOLITION Found

I extended GroundOverlay class overriding draw method passing null parameter on "paint"

public void draw(Canvas pCanvas, Projection pProjection) { if (this.mImage != null) { this.computeMatrix(pProjection); pCanvas.drawBitmap(this.mImage, this.mMatrix, null); } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant