Free Directory, Listing & Classifieds WordPress Plugin Support Extensions Geolocation how to fix Google Maps JavaScript API warning: NoApiKeys

how to fix Google Maps JavaScript API warning: NoApiKeys

  • Author
    Posts
  • vdrive6

    I face problem with Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    vdrive6

    I’ve created 2-5 times API key, disable-enabled Maps & Places API but it still no API.

    ihordeveloper

    Maybe your site is cached and it still loads the script without an API key? If possible send a link to your site and I’ll check this issue.

    zulazai

    I had this problem due to lack of billing address and wp speed cache. Fix that and should work.

    vdrive6

    @ihor: https://maucariapa.com. Now the attribute can’t filled out (it’s still empty)

    ihordeveloper

    Please try disabling third-party plugins, it seems that there’re some restrictions or server-level settings that block scripts and styles, for example:

    Refused to apply style from 'https://maucariapa.com/core/assets/css/fontawesome/fontawesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

    vdrive6

    I was disable 3rd party and there’s no blocked MIME, but the maps still not loading

    ihordeveloper

    I’m sure that there’s an issue with the API settings or server/plugins environment. Please try to create a new API key step by step, enable 3 APIs (Geocoding, Places, Maps JavaScript API) and make sure that you enabled billing for this Google account.

    Geolocation seems to work on the demo site and all similar issues previously reported on the forum were resolved via the Google API Console settings.

    vdrive6

    I was able to display map on listing, maybe i will reinstall hivepress while move to new server and begin adding place.

    How to make address is accurate/same with Google Maps location?

    I was faced inaccurate location pinning (e.g. i’m pinning X place with address, but while the address clicked, it redirect to Y address)

    ihordeveloper

    I checked your site and it seems to work now, both Google maps and locations drop-down is displayed. When you select an address Google returns latitude/longitude for it and HivePress just sets these details for a listing, please make sure that you select the correct address.

    vdrive6

    Yep, thanks ihor.
    I will reinstall hivepress & add listings while migrate to new server next week

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.