Support » Plugin: Gwebpro Store Locator » Get Co-ordinates button returning the wrong location

  • Resolved Corey Salzano

    (@salzano)


    A client of mine contacted me this week to say that he could no longer fetch latitude and longitude for the stores he enters using this plugin. I logged in and saw the Google API key notice in the developer console. There was no Google Maps API key saved in the “Store Settings” any longer. I do not know how that happened because I didn’t remove it.

    I have entered a new Google Maps JavaScript API key. The Get Co-ordinates button retrieves coordinates, but they are not the correct location of the business. It looks like they may be swapped and the latitude is where the longitude should be.

    Also, the labels are typos:

    “Latituide:” should be Latitude
    “longituide:” should be Longitude

    https://wordpress.org/plugins/gwebpro-store-locator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Update:

    This morning I am consistently getting these messages from Google in the developer console…

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

    I get this when I enter an address and click the Get Co-ordinates button:

    This service requires an API key. For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key

    That URL leads to the exact page where I got a new API key last week. I am starting to believe this plugin is broken because I do have an API key entered for the correct API.

    Yep, this plugin was broken. I fixed it, and I don’t need your help anymore.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get Co-ordinates button returning the wrong location’ is closed to new replies.