Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Owain Williams 482 posts 1414 karma points MVP 7x c-trib
    Oct 25, 2018 @ 08:13
    Owain Williams
    0

    Cannot read Property 'Cancel' of undefined

    Hi! I've just installed Terratype on a 7.12 install and when I click on Retry just below the API Key section I get the following error in the console. Now, it could be that I've been supplied the wrong API key but before I go hunting, is there anything else that might be causing the issue?

    I'm running locally just now via VisualStudio, if that makes any difference?

    Thanks.

    TypeError: Cannot read property 'cancel' of undefined
        at Object.destroy (Terratype.GoogleMapsV3.js?cache=1.0.13:1192)
        at Object.reloadMap (Terratype.GoogleMapsV3.js?cache=1.0.13:1212)
        at Object.reload (Terratype.GoogleMapsV3.js?cache=1.0.13:1169)
        at angular.min.js?cdv=192431026:74
        at angular-mobile.js?cdv=192431026:270
        at Object.$eval (angular.min.js?cdv=192431026:92)
        at Object.$apply (angular.min.js?cdv=192431026:92)
        at HTMLButtonElement.<anonymous> (angular-mobile.js?cdv=192431026:269)
        at HTMLButtonElement.dispatch (jquery.min.js?cdv=192431026:3)
        at HTMLButtonElement.r.handle (jquery.min.js?cdv=192431026:3)
    (anonymous) @ angular.min.js?cdv=192431026:63
    (anonymous) @ angular.min.js?cdv=192431026:54
    $apply @ angular.min.js?cdv=192431026:92
    (anonymous) @ angular-mobile.js?cdv=192431026:269
    dispatch @ jquery.min.js?cdv=192431026:3
    r.handle @ jquery.min.js?cdv=192431026:3
    
  • Owain Williams 482 posts 1414 karma points MVP 7x c-trib
    Oct 25, 2018 @ 08:40
    Owain Williams
    102

    So, the issue was due to caching on my browser. As you can see in the error message GoogleMapsV3.js was using a cache version of 1.0.13, however, 1.0.20 was installed.

    After a hard refresh of the browser, the error goes and the maps now work.

    O.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies