Copied to clipboard

Flag this post as spam?

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


  • Ryan Lewis 8 posts 198 karma points
    Jul 15, 2014 @ 17:29
    Ryan Lewis
    0

    Fails to work when used with Archetype

    Hi there. Great work with the package.

    However, I am having some issues with it working with Archetype. When used with Archetype :-

    • Searching does not work
    • Updating of coordinates does not work
    • Upon saving, the location is not saved
    I don't seem to get any JS errors until I save and reload the page. At this point I get "Uncaught TypeError: Cannot read property 'value' of null".

     

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 16, 2014 @ 10:02
    Jonathan Richards
    0

    Hi Ryan,

    Is this when AngularGoogleMaps is used within an Archetype property, or when it is running along side (eg. An Archetype property is used within the same tab of the same document type as AngularGoogleMaps, but they are seperate data types from each other) ?

     

    Cheers

     

     

     

  • Ryan Lewis 8 posts 198 karma points
    Jul 16, 2014 @ 10:43
    Ryan Lewis
    0

    I've been getting the issue when using AngularGoogleMaps within an Archetype property.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 24, 2014 @ 17:00
    Jeroen Breuer
    0

    Is there already a fix for this?

    Jeroen

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 25, 2014 @ 10:15
    Jonathan Richards
    0

    Sorry no fix yet for this. I do plan to take a look at this bug, but it wont be for at least the next couple of weeks.

     

    Jonathan

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 25, 2014 @ 10:16
    Jeroen Breuer
    0

    No problem :-). Thanks for this awesome package!

    Jeroen

  • James Woodruff 6 posts 27 karma points
    Jul 31, 2014 @ 11:37
    James Woodruff
    1

    Got a fix for this if you need it guys, in the source in controller.js and view.html change referenced to model.id to model.alias

    Tested with and without Archetype and seems to perform correctly.

    Is the source on Github? If so I'll fork it with the fix

    Cheers

     

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 31, 2014 @ 12:38
    Jonathan Richards
    0

    Great stuff James, hopefully this weekend I can get all of the code into GIT so that you can update.

     

    Cheers

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Aug 05, 2014 @ 16:50
    Jeroen Breuer
    0

    Hello,

    Did you have time to add the code to Github?

    Jeroen

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Aug 20, 2014 @ 17:47
    Jeroen Breuer
    0

    Hi James,

    Where did you update the model.id to model.alias in controller.js and view.html? I can't seem to find the controller.js and view.html file in my website, but Google maps is working. Is it embedded in the AngularGoogleMaps.dll?

    Once the project is on GitHub I can also add the PropertyValueConverter that I created.

    Jeroen

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Aug 20, 2014 @ 18:03
    Jeroen Breuer
    0

    Looks like it is embedded in the dll file. After changing the controller.js and view.html file in the souce code and replacing the dll I got it working with Archetype.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft