• Resolved adambra

    (@adambra)


    I just installed the plugin, inserted the API and trying to create my first map but I can’t go on as I can see the map for less than 1 second and after there is an error message that doesn’t allow me to select the place.
    how could this be fixed? thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi there

    Thank you for getting in touch with us.

    This is likely caused by an error returned from the Google Maps API itself.

    Please open the map editor, right click on the page, click ‘Inspect’ and then on the ‘Console’ tab. Please send through the error you’re getting so that I can assist you further?

    Thread Starter adambra

    (@adambra)

    load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:9 JQMIGRATE: Migrate is installed, version 1.4.1
    util.js:210 Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
    iB.j @ util.js:210
    js?v=3.25&key=AIzaSyDJ0MTJj_NycVomOnKxqvzcGgMHhSr2XlE&language=it&libraries=places:34 Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
    Your site URL to be authorized: https://lnx.mapandfork.com/wp-admin/admin.php?page=wp-google-maps-menu&action=edit&map_id=1
    _.kb @ js?v=3.25&key=AIzaSyDJ0MTJj_NycVomOnKxqvzcGgMHhSr2XlE&language=it&libraries=places:34

    Hi there

    The Google Maps API appears to be returning the error ‘RefererNotAllowedMapError’ in the console.

    To fix this, please login to your Google Developer Console, navigate to ‘Credentials’ and edit your API key.

    Please remove the current ‘Allowed Referrer’ entries and add in the following, where ‘mysite.com’ should be replaced with your own website URL. Each entry needs to be on a new line.

    *.mysite.com/*
    *mysite.com/*

    I hope this helps?

    Hi there

    The Google Maps API appears to be returning the error ‘RefererNotAllowedMapError’ in the console.

    To fix this, please login to your Google Developer Console, navigate to ‘Credentials’ and edit your API key.

    Please remove the current ‘Allowed Referrer’ entries and add in the following, where ‘mysite.com’ should be replaced with your own website URL. Each entry needs to be on a new line.

    *.mysite.com/*
    *mysite.com/*

    I hope this helps?

    Thread Starter adambra

    (@adambra)

    I did deleted the API and created a new one, without restrictions but the problems still remain ??

    Thread Starter adambra

    (@adambra)

    JQMIGRATE: Migrate is installed, version 1.4.1
    js?v=3.25&key=AIzaSyDL_quSydXnJB1jyN0dQFakebTD2yX_9Co&language=it&libraries=places:34 Google Maps API error: ExpiredKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#expired-key-map-error
    _.kb @ js?v=3.25&key=AIzaSyDL_quSydXnJB1jyN0dQFakebTD2yX_9Co&language=it&libraries=places:34
    util.js:210 Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
    iB.j @ util.js:210

    Hi there

    The Google Maps API now appears to return the error ‘ExpiredKeyMapError’. As per the Google Maps API documentation, you may need to delete this API key and create a new one again.

    My apologies for the inconvenience caused by this.

    Same problem. I have toe correct referrers in place.
    My error is this:

    Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
    Google Maps API error: DeletedApiProjectMapError https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-error
    SCRIPT5007: Unable to get property 'fromLatLngToPoint' of undefined or null reference
    marker.js (15,342)
    

    Looks like you have some outdated stuff in the plugin:

    https://developers.google.com/maps/documentation/javascript/error-messages#retired-version

    RetiredVersion Warning
    You may have supplied a retired version in your script element. The versions 3.0 – 3.26 have been retired, and you might be receiving 3.27 instead. Please update your application to use one of the available versions.

    See Versioning | Google Maps JavaScript API.

    Hi @robotor

    Thank you for getting in touch with us.

    The Google Maps API is returning ‘DeletedApiProjectMapError’ in your case, which indicates that the project your API key was associated with has been deleted.

    To fix this, you’d need to login to your Google Developers Console, create a new project as well as API key and update it in our plugin.

    The ‘RetiredVersion’ warning can be fixed by logging into your WordPress dashboard, navigating to ‘Maps’ -> ‘Settings’ -> ‘General’ and changing the ‘Google Maps API Version’ to ‘3.exp’.

    I hope this helps?

    I just created the “project” and received the API key today. I’d think it would not be out of date?

    Dashboard > Maps > Map Settings > Use Google Maps API: 3.exp
    Google Project and API created today.

    I was still getting the error. So I poked around and saw that in the Google API manager, you have to “enable” the API on another page. It was not enabled even though they allowed me to create one! It says “Some APIs are enabled automatically” but it doesn’t look like the javascript one is.

    So, I got it working!

    Hi @robotor

    So glad to hear you came right with this. My apologies for any inconvenience caused by the API’s not being enabled.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘error (can’t start using the map)’ is closed to new replies.