Mapbox with Vue


#1

Tutorial with android please !


#2

My error

An uncaught Exception occurred on “main” thread.
com.tns.NativeScriptException:
Calling js method run failed

TypeError: Cannot read property ‘getInstance’ of undefined
File: "file:///data/data/cd.fabiyo.geodata/files/app/app.js, line: 13705, column: 40

StackTrace:
Frame: function:‘MapboxView.initMap’, file:‘file:///data/data/cd.fabiyo.geodata/files/app/app.js’, line: 13705, column: 41
Frame: function:’’, file:‘file:///data/data/cd.fabiyo.geodata/files/app/app.js’, line: 13690, column: 19
Frame: function:‘invoke’, file:‘file:///data/data/cd.fabiyo.geodata/files/app/tns_modules/tns-core-modules/timer/timer.js’, line: 19, column: 48
Frame: function:‘run’, file:‘file:///data/data/cd.fabiyo.geodata/files/app/tns_modules/tns-core-modules/timer/timer.js’, line: 23, column: 13

at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
at com.tns.Runtime.callJSMethod(Runtime.java:983)
at com.tns.Runtime.callJSMethod(Runtime.java:967)
at com.tns.Runtime.callJSMethod(Runtime.java:959)
at com.tns.gen.java.lang.Runnable.run(Runnable.java:15)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5763)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)