Copied to clipboard

Flag this post as spam?

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


  • lele 106 posts 443 karma points
    Jun 13, 2014 @ 12:17
    lele
    1

    Reference Error

    Hello 

    After the installation of your package the browser was reloaded... but the umbraco backend don't coming back. I have found the following error: ReferenceError: google is not defined.

    Do you have any idea where I could add this reference or what is missing?

     

    regards,
    Manuel

  • lele 106 posts 443 karma points
    Jun 13, 2014 @ 12:31
    lele
    100

    I figured out you have to set compilation debug mode on true

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jun 14, 2014 @ 00:38
    Jonathan Richards
    0

    Cool, that you answered this bug yourself, as it looked horrible. No idea why you need debug switched on, and shamefully always had debug on for the instances that I tested, but will check this out as I'm sure people will require this in production.

    Good catch. Cheers.

     

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jun 14, 2014 @ 01:52
    Jonathan Richards
    0

    Ok, have fixed error with release mode for package. Please download AngularGoogleMaps v1.0.1 to fix

     

    (Note: In release mode all/lots of the javascript gets merged into one DependancyHandler.axd request - so instead of loading lots of seperate javascipt files, Umbraco makes one call to this axd handler. The minimized version of the library created by http://angular-google-maps.org/ doesn't work correctly when merged in DependancyHandler.axd. Suspect we are not the only users of this library with this issue. Fixed by using the non-minimized version, when I have more time will try and minimize the non-minimized version using an online tool and see if that works)
     

Please Sign in or register to post replies

Write your reply to:

Draft