-
Notifications
You must be signed in to change notification settings - Fork 94
Nativescript Angular 2 issue while using MapBox inside the HTML #56
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
Comments
Can you try without the |
After removing the |
You can wrap it in a Note that at the moment on iOS you can only use the XML properties listed in the readme. |
Hi @EddyVerbruggen, |
Thanks for that demo project! Testing and debugging it now. Seems like the timing in an Angular context is a bit different and the plugin needs to be adapted for that. Will report back.. |
Hi @EddyVerbruggen, I have just tested the plugin on Android and the same behavior has been reproduced. I upgrade the sample project and add following line Regards, |
Hmm, I assumed this issue was about iOS which was fixed in 2.2.4, have you tried that as well? I can imagine Android still has the same issue indeed. |
I tried it with the new version 2.2.4 in Android and the same problem appears |
Please see my previous comment. |
Now on iOS it works as expected, however on Android it always give me the warning that I should add |
Thanks for testing iOS, that's what has been fixed so far. Like I said: I didn't test nor fix Android yet. |
I've now applied a similar fix for Android - can you try the latest version from GitHub? Seems to work great with your demo app. |
Thanks, I will try it and will write you back. |
I tested the plugin latest version from GitHub and now it seems to work as expected for both Android and iOS. |
That's great news, thanks for confirming it so quickly! I'll push 2.3.0 to npm later today so everyone can easily get this fix. |
The case is the following.
I have registered new Element inside the main.ts file using
registerElement
method.main.ts
fileThen I have try to use this element inside my HTML file as follow.
app.component.html
However on the screen will be show black box even, when the accessToken has been insert. The only way to use this component inside the NS Angular 2 project is to do from code behind, but the Component will be displayed above the other components.
The text was updated successfully, but these errors were encountered: