pcdrgf
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Some locations are not workingHi Tijmen,
Thanks for the update – still receiving the error.
Have tried enabling/disabling “When a user clicks on Directions, open a new window” and “Show the route on google.com/maps?”
Have tried this with both the current state plugin and with the new minified code as suggested in the previous post.
Will email you with my contact details in case it would be helpful to work together live on this.
Thanks!
PatrickForum: Plugins
In reply to: [WP Store Locator] Some locations are not workingGreat, sounds like we’ve found the root cause – Google’s API service itself has a problem.
To make sure I’m understanding correctly:
– When someone enters a search query on the store locator page, the plugin makes a call to Google’s Maps JavaScript API to get the Latitude and Longitude with the “Address” parameter set to the value in the search box.
– Next, the plugin makes a call to Google’s Reverse Geocoder API to [get a plain-language location?].
– When fed “Los Angeles, CA, USA,” the Maps JavaScript API is returning coordinates for Los Angeles, but when those same coordinates are fed through the Reverse Geocoder, it’s not returning Los Angeles. This is the root cause of the error.If the above is accurate, then we need to raise this with Google, correct?
Thanks!
PatrickForum: Plugins
In reply to: [WP Store Locator] Some locations are not workingHi Tijmen,
Thanks for the quick response. Tried the suggestions & some of my own troubleshooting.
I think item 3 below might be useful for solving this.Observations:
1. Tried to view Los Angeles, CA stores with “Restrict the geocoding results to the selected map region?” checked and unchecked – same error – “No Results Found”
2. Same thing with “Enable Autocomplete” – Error experienced both checked and unchecked
3. We have our default “Start Point” set to “Los Angeles, CA, United States”. I loaded the page under the default start point, and the locations showed up just fine. I then searched for “San Diego, CA” and the locations showed up as well. When I tried manually typing in the search box “Los Angeles, CA, United States,” the locations did not show up. This likely indicates the Google Maps API is recognizing Los Angeles, and that the plugin is making the API call on initial load differently from when it is manually searched, with the manual search script having some sort of error.
Interested to hear your thoughts. Thanks!!
Best Regards,
PatrickForum: Plugins
In reply to: [WP Store Locator] Some locations are not workingHi Tijmen!
Seeing the same thing with our store locator —
https://www.realgoodfoods.com/store-locator/Specifically, when searching for Los Angeles, CA, which has 48 stores in the area, we receive an error message stating “No Results Found.” Same situation in Bakersfield, CA.
However, when searching for San Francisco, CA, or Miami, FL, the results show just fine.
Would appreciate your help to figure out what’s going on. Love your product & thank you for all the hard work.
Patrick