Copied to clipboard

Flag this post as spam?

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


  • mostafa 17 posts 90 karma points
    Jul 27, 2016 @ 13:20
    mostafa
    0

    Angularjsgooglemap module

    Hello all ,

    I have created a website back-end using umbraco 7.4.3 and I have installed the AngularJsGooglemap , then I have added a datatype to use it in my templates , but after I have created it I get an error with the map like the attached imageenter image description here

    , and when I tried to see the js error with the browser console I get the below errors messages:

    Failed to load resource: the server responded with a status of 404 (Not Found) https://www.gravatar.com/avatar/a3175a452c7a8fea80c62a198a40f6c9.jpg?s=64&d=404 Failed to load resource: the server responded with a status of 404 (Not Found)

    util.js:222 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys js?v=3&sensor=true&libraries=places&callback=AGM4bf1a78…Callback:35 Google Maps API error: MissingKeyMapError

    https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.bb @ js?v=3&sensor=true&libraries=places&callback=AGM4bf1a78…Callback:35

    http://localhost/localsite/umbraco/%7B%7Bmodel.value.image%7D%7D Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/localsite/umbraco/%7B%7Bmodel.value.shadowImage%7D%7D Failed to load resource: the server responded with a status of 404 (Not Found) js?v=3&sensor=true&libraries=places&callback=AGM4bf1a78…Callback:96 Uncaught TypeError: Cannot read property 'addEventListener' of undefined http://localhost/localsite/umbraco/backoffice/UmbracoApi/Authentication/PostLogin Failed to load resource: the server responded with a status of 400 (Bad Request) https://www.gravatar.com/avatar/a3175a452c7a8fea80c62a198a40f6c9.jpg?s=64&d=404 Failed to load resource: the server responded with a status of 404 (Not Found)

    any help please to fix it please

    regards

    Mostafa

  • Nik 1625 posts 7295 karma points MVP 7x c-trib
    Jul 27, 2016 @ 13:30
    Nik
    0

    Hi Mostafa,

    The issue is caused by an update that Google made to their API. It now requires an authorised key to be provided.

    I don't know if this plugin has been updated to use the new API and have a key configured I'm affraid, but you might be able to look through the javascript side of the plugin and identify where the API calls are made and add your key there.

    Nik

  • mostafa 17 posts 90 karma points
    Jul 27, 2016 @ 14:10
    mostafa
    0

    Hi Nik ,

    many thanks about your reply , may you clarify exact where I have to set the google map key please ? I mean in which file ?

    regards

  • mostafa 17 posts 90 karma points
    Jul 27, 2016 @ 14:18
    mostafa
    0

    Hi again Nik ,

    I'm sorry I have got a key from goolge maps and set it in the file controller.js file in the which exist in that path: App_Plugins\AngularGoogleMaps\1.0.8

    but the problem still exist any other help please?

    regards

  • Nik 1625 posts 7295 karma points MVP 7x c-trib
    Jul 27, 2016 @ 15:25
    Nik
    0

    Hi Mostafa,

    I advise you upgrade from version 1.0.8 to the latest and follow the instructions found here:

    https://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps/

    The plugin has been updated to work with the new Google API looking at the instructions so that should solve your issue.

    However, if for some reason you can't upgrade it, you'll probably need to speak to Jonathan Richards, the project owner about what you might be able to do to resolve the issue.

    Thanks,

    Nik

  • 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