API keys with referer restrictions cannot be used

API keys with referer restrictions

You’ve tried typing in addresses into your WordPress Store Locator Plus® map page but always get “location not found”. Being a tech savvy person you took a look at your browser developer console and notice an “API keys with referer restrictions cannot be used with this API.” in the JavaScript console.

Thankfully our MySLP users don’t have to deal with this sort of thing; but if you are using the self-managed WordPress plugins, read on.

Stop the Google API key madness with MySLP

MySLP drops the Google API key madness once-and-for-all. If you are tired of the API key game, it may be time to switch.

Where Is Toronto, Ontario?

If you are in North America you may be asking where is Toronto, Ontario. Depending whom you ask, the answer can be slightly different. It turns out that asking Google Maps Canada yields a different answer than if you pose the same question via Google Maps API.

We’ve touched on this disparity in a prior post about Google Maps returning inaccurate results. Today we’ll discuss a specific example for Toronto, Ontario.

And if you are wondering — our vote is that Toronto, Ontario is at

43.65320000 , -79.38320000

Where Is Toronto, Ontario? 43.65320000 , -79.38320000

Google Maps API Returning Inaccurate Results

Google does not openly advertise the fact that they have different location data for different users. However there is good anecdotal evidence an hearsay that Google Maps API returning inaccurate results may be by design.

The evidence is most prevalent in the geocoding of locations. The latitude and longitude Google assigns to different addresses is not “set in stone”. It is an interesting anomaly given the fact that places on earth should not move with regard to their latitude & longitude outside of plate tectonics.

The team at Store Locator Plus® has long held a theory that Google intentionally subverts accurate location data; quite likely to gain competitive advantage for their own products and services.