-
Notifications
You must be signed in to change notification settings - Fork 94
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
Unable to get markers to display #86
Comments
I've found the cause and fixed this problem in 2.5.2 in issue #80. Thanks for reporting it! |
Ok great. I would like to test but presently getting an issue adding the android platform back to my Nativescript application (error: sed: invalid replacement string). Once I get it back up and running I'll test it and let you know. |
OK, I'll publish 2.5.2 to npm shortly. |
Ok will try to update the package in a couple hours and see if you've pushed it to npm. By the way do I still need to add to the AndroidManifest.xml or can I use the previous service? Thanks. |
The plugin will handle that for you, no need to add it yourself. |
Ok great. Thanks! Sorry for being a pain. |
You're not 👍 |
Hey @EddyVerbruggen. I tested the 2.5.2 so my map displays with markers but when I zoom in on an area the app crashes :(. This is only affecting the Android version. iOS is fine. |
@EddyVerbruggen
I am running "nativescript-mapbox @ 2.5.1". I was able to get the map to show on the Android version but the markers are not appearing and I get the following in my console log:
JS: Unhandled Promise rejection: iconFactory.fromDrawable is not a function ; Zone: ; Task: Promise.then ; Value: TypeError: iconFactory.fromDrawable is not a function TypeError: iconFactory.fromDrawable is not a function
JS: at file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-mapbox/mapbox.js:510:47
JS: at ZoneDelegate.invoke (file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:190:28)
JS: at Zone.run (file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:83:43)
JS: at file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:449:57
JS: at ZoneDelegate.invokeTask (file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:223:37)
JS: at Zone.runTask (file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:123:47)
JS: at drainMicroTaskQueue (file:///data/data/org.ngccng.cngApp/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:355:35)
JS: Error: Uncaught (in promise): TypeError: iconFactory.fromDrawable is not a function
Any assistance on what is causing this issue is appreciated.
The text was updated successfully, but these errors were encountered: