Copied to clipboard

Flag this post as spam?

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


  • yashasvi 28 posts 106 karma points
    Jan 26, 2018 @ 08:53
    yashasvi
    0

    AngularGoogleMaps

    Hi Team,

    AngularGoogleMaps is not working in umbraco 7.6.13 , google map is not downloaded or display on page . how we can troubleshoot this problem.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jan 26, 2018 @ 08:58
    Jonathan Richards
    0

    Hi,

    AngularGoogleMaps has been deprecated for Terratype, I suggest switching to that instead.

    Though if you are determined to use an out-of-date package, have you checked the console log for errors in the browser (Press F12 in Chrome, select Console).

    Cheers

    Jonathan

  • yashasvi 28 posts 106 karma points
    Jan 26, 2018 @ 09:05
    yashasvi
    0

    Hi Jonathan yes we have checked. It's throw "DeletedApiProjectMapError" exception. which is expiration of key. Please suggest.

    Thank you for quick reply.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jan 26, 2018 @ 09:10
    Jonathan Richards
    100

    You error isn't to do with AngularGoogleMaps but your API key for Google Maps, you need to update your key

    https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

  • yashasvi 28 posts 106 karma points
    Jan 26, 2018 @ 11:34
    yashasvi
    0

    Hi Jonathan,

    At the backoffice of umbraco, problem has solved , but after publishing it on web page it display same error "DeletedApiProjectMapError". Please suggest in this case what we have to do

    Thanks in advance.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jan 26, 2018 @ 11:42
    Jonathan Richards
    0

    If I had to make a guess the domain your front end and backend is using is different, you need to update the Google API key for every domain that you use. This is a requirement as stated by Google.

  • yashasvi 28 posts 106 karma points
    Jan 26, 2018 @ 12:11
    yashasvi
    0

    Hi Jonathan,

    I am using it on umbraco dev environment for testing. both backend and frontend url is same. When i refreshing the page correct map is loaded for a second and than suddenly disappear with this error.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jan 26, 2018 @ 12:25
    Jonathan Richards
    0

    Are they using the same API key ?

    I say this because AngularGoogleMaps has nothing to do with front end code, as it is just a backend content package for creating and editing coordinates.

    We are dangerously straying away from an issue that has anything to do with AngularGoogleMaps or for that matter Umbraco, and are now talking about code written by you in javascript, that is having trouble connecting to Google Maps. You might wish to seek help in a more appropriate setting.

  • yashasvi 28 posts 106 karma points
    Jan 26, 2018 @ 12:48
    yashasvi
    0

    Ok, Thanks Jonathan. :)

  • yashasvi 28 posts 106 karma points
    Jan 26, 2018 @ 10:54
    yashasvi
    0

    Thank you Jonathan Richards, Yes it's working :)

Please Sign in or register to post replies

Write your reply to:

Draft