Copied to clipboard

Flag this post as spam?

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


  • Technical Support 1 post 71 karma points
    Jul 04, 2016 @ 15:50
    Technical Support
    0

    Google Maps Plug In Stopped Working

    We have an issue with the Google Maps data type. We use version 4.7 of umbraco, and our Google Maps plug in stopped working recently, this initially seemed to be down to our HTTPS site trying to connect to a HTTP site, we replaced our package (which was version 2.0) with version 2.1 which resolved that initial issue.

    However we are now getting an issue with the API key, we signed up for an browser API key and inserted that into our website templates code, but we are still getting an error "MissingKeyMapError":

    <script async defer src="https://maps.googleapis.com/maps/api/js?key=APIKEYREMOVED"
    

    type="text/javascript">

    enter image description here

  • cmm 20 posts 122 karma points
    Jul 13, 2016 @ 09:17
    cmm
    0

    Having the same problem here, when I try to search for a location, I get this error message:

    "Your search didn't return any results"

    I tried creating an API Key and putting it the header, but no luck

  • Matteo Di Mauro 20 posts 73 karma points
    Jul 21, 2016 @ 09:58
    Matteo Di Mauro
    0

    Same here. Any ideas?

  • cmm 20 posts 122 karma points
    Jul 21, 2016 @ 10:08
    cmm
    100

    I was able to fix this. I downloaded the package source, and there's a .JS file where he loads the google maps javascript api, you can add the key there.

  • Matteo Di Mauro 20 posts 73 karma points
    Jul 21, 2016 @ 10:23
    Matteo Di Mauro
    0

    Thanks - found it as well.

  • J 447 posts 864 karma points
    Sep 15, 2016 @ 15:59
    J
    0

    Where do i find this js file to update? I downloaded the zip file which has no js file. I've searched my site which has a lot of js files?

  • Ernst Utvik 123 posts 235 karma points
    Sep 26, 2016 @ 09:39
    Ernst Utvik
    0

    Any chance that the plugin will get updated? A config setting or similar would be nice.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Apr 03, 2017 @ 09:01
    Kim Andersen
    0

    We started getting this error with the 2.1 version of this package which is using v3 of the Google API. Don't know if Google changed some stuff, but it seems that the API key is now needwed to use the API :( We do have an API key that we use on the frontend of the site, but I can't see where I can add it in the back office for this package. Anyone knows how this can be solved?

    /Kim

  • Ansar 181 posts 291 karma points
    Jul 05, 2019 @ 10:57
    Ansar
    1

    Had to solve it for one of the old Umbraco 4.11 website. Follow the steps below if anyone else is looking for solution

    1. Generate Google API Key from https://console.developers.google.com/
    2. Download the Google maps for Umbraco source code - https://github.com/leekelleher/umbraco-google-maps
    3. Open in Visual Studio and locate the file - \DataTypes\SingleLocation\SingleLocation.js
    4. Update Line#311 -
      key: UmbracoGoogleMap.apiKey,
      to
      key: "YOUR_APIKEY_GENERATED_FROM_GOOGLE" ,
    5. Compile the project and upload the DLL Our.Umbraco.GoogleMaps.dll to your website Bin
  • Nijaz Hameed 38 posts 173 karma points
    Dec 09, 2019 @ 04:49
    Nijaz Hameed
    1

    @Ansar Thank you, its worked!

Please Sign in or register to post replies

Write your reply to:

Draft