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

KML stop working in Andriod 10 #2904

Open
gautamsinh opened this issue Apr 12, 2022 · 5 comments
Open

KML stop working in Andriod 10 #2904

gautamsinh opened this issue Apr 12, 2022 · 5 comments

Comments

@gautamsinh
Copy link

Hello There

I have upgrade my IONIC application from cordova android 9 to cordova android 10.1.1 .
In Version 9 the KML load properly in google map from my local device,but After upgrade to 10.1.1 KML stop working from my local devices

can anyone help me please

@rodrigosoareschaves
Copy link

I'm facing this issue now.
I noticed if I open the KML manually and delete all the <Style> and with all tags inside the KML is displayed on Android (without style).
Still checking for a solution to this.

@gautamsinh
Copy link
Author

Hello @rodrigosoareschaves have you found any solution for this?

@rodrigosoareschaves
Copy link

HI @gautamsinh
No, I didn't!
I also did a change on a KML this weekend...
Removing all <Style>, and from the KML it appears on any version of my app (any android version), at least the users could use it.

@gautamsinh
Copy link
Author

@rodrigosoareschaves have you load it from online url or from assets?

@rodrigosoareschaves
Copy link

I'm loading it from URL and before apply the addKMLOverlay the app is downloading the KML to load it locally (that allows offline usage).

I tried inspect this part of the plugin in Java code. I think the error is related to some permission on Android, because testing on old Android versions it works fine, even with styles.

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

2 participants