You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently noticed some crashes using the TiMap module, that I can't explain and I am also unable to reproduce on any of my devices or simulators.
The JavaScript exception is CallbackObject is not a function (near '...Map.createAnnotation...') and here is the code that causes it:
try{// create map annotationvarmapAnnotation=Map.createAnnotation({latitude : 52.51496980,longitude : 13.39258080,title : "my title",subtitle : "my subtitle",pincolor : Map.ANNOTATION_RED,draggable : false,});// create the map view// and add the annotationvarmapView=Map.createView({mapType : Map.NORMAL_TYPE,region : {latitude : 52.51496980,longitude : 13.39258080,latitudeDelta : 0.1,longitudeDelta : 0.1,},annotations : [mapAnnotation],});// add the map view to the google maps wrapper view$.vGoogleMaps.add(mapView);}catch(ex){console.error(ex);}
As you can see, the code is not very complex and very similar to the one defined in the documentation. However, I didn't touch this code ever and the only thing I did, was updating my dependencies (updated the TiMap plugin from v3.0.1 to v3.1.0). Since then, for some of our users the app crashes sometimes with the error message mentioned above. Again, I am unable to reproduce it and the error message doesn't make much sense to me.
Best,
Tom
The text was updated successfully, but these errors were encountered:
Hi there,
I've recently noticed some crashes using the TiMap module, that I can't explain and I am also unable to reproduce on any of my devices or simulators.
The JavaScript exception is
CallbackObject is not a function (near '...Map.createAnnotation...')
and here is the code that causes it:As you can see, the code is not very complex and very similar to the one defined in the documentation. However, I didn't touch this code ever and the only thing I did, was updating my dependencies (updated the TiMap plugin from
v3.0.1
tov3.1.0
). Since then, for some of our users the app crashes sometimes with the error message mentioned above. Again, I am unable to reproduce it and the error message doesn't make much sense to me.Best,
Tom
The text was updated successfully, but these errors were encountered: