Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
bradl Posted October 17, 2022 Posted October 17, 2022 I'm not sure if this is one Google maps integration problem with two manifestations, or two different problems. I clearly have something misconfigured with the maps integration. All troubleshooting pointers welcome. Symptom 1 autocomplete— autosuggest not working when adding venue locations. Symptom 2 event map— while event detail pages are showing the location map just fine, if I look at the world overview map that comes up after a search, the markers are there but no underlying image. Steps to recreate are: click the "Use my location" button on the Events page click Search Reload the page to display map. This appears on mobile, different browsers, etc. and after flushing the cache from ACP. I went back to step one and created a new project in Google, enabled the APIs listed in the instructions, added both public and secret API keys with the restrictions listed. The integration shows as enabled. I'm stumped as to how to best proceed troubleshooting.
bradl Posted October 17, 2022 Author Posted October 17, 2022 Google's 'enabled API' shows 100% error rate for Places, but frustratingly the Details "Errors by Response Code" shows literally nothing — an empty graph.
Jim M Posted October 17, 2022 Posted October 17, 2022 Would recommend trying this on an unmodified theme to confirm that there aren't any outdated template changes causing you issues here. Next, are there any errors in your browser console? Generally, this integration will output various errors messages there about the account with helpful documentation.
bradl Posted October 17, 2022 Author Posted October 17, 2022 Whoa ... js console chock full of Mapbox errors. Guess I'll try enabling that integration. Tried a default theme (I only use custom.css so no third-party themes); no change.
bradl Posted October 17, 2022 Author Posted October 17, 2022 Enabling mapbox gives me the large map under the global markers. Yay! Strangely, while autosuggest still does not work when entering locations, neither does it provoke a Google error.
Solution Jim M Posted October 17, 2022 Solution Posted October 17, 2022 1 minute ago, bradl said: Enabling mapbox gives me the large map under the global markers. Yay! Strangely, while autosuggest still does not work when entering locations, neither does it provoke a Google error. You would only use one or the other. Mapbox does not have address prediction.
Recommended Posts