Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Issue with Google Maps API after upgrade
- This topic has 9 replies, 3 voices, and was last updated 5 years, 5 months ago by
WCFM Forum.
- AuthorPosts
- July 25, 2019 at 4:02 pm #73931
CommunityCorals
ParticipantHi,
after upgrade to latest release I got attached message from the google maps API. The geo search is not working anymore.
https://stackoverflow.com/questions/34063439/invalidvalueerror-not-an-instance-of-htmlinputelement
https://stackoverflow.com/questions/35283887/what-does-this-mean-google-maps-apiLooks like an autocomplete error. Also maybe it would make sense to load the google maps script just on pages with a script. On my site its causing delays in speed.
Attachments:
You must be logged in to view attached files. - July 29, 2019 at 12:11 pm #74357
WCFM Forum
MemberHi,
Well, this is because of API key.
Please talk to Google support for this.
Please do not follow those threads, very old. Google Map API now totally changed!
Thank You
- July 29, 2019 at 12:13 pm #74358
CommunityCorals
ParticipantYes, thanks I am working on this. Which API is required for geolocation search? Is it the geolocation API or is the standard free java API good enough?
Thanks & BR
Dominique - August 3, 2019 at 5:03 am #74913
WCFM Forum
MemberFree Java API is good enough. But do not apply any restriction when you are creating API.
- August 3, 2019 at 6:59 am #74956
CommunityCorals
ParticipantAre you sure? I just once again created a fresh Javascript API key without restrictions. But when I go to filter store listing I get attached message.
Thanks
DominiqueAttachments:
You must be logged in to view attached files. - August 4, 2019 at 9:12 am #75151
WCFM Forum
MemberYeah, we have created such API for many of our users.
Can you please talk to Google support once for this!
Thank You
- August 23, 2019 at 8:01 pm #78059
Mitchell Gould
ParticipantI’m having the same problem. Did you ever solve it?
Attachments:
You must be logged in to view attached files. - August 28, 2019 at 5:18 pm #78805
WCFM Forum
MemberWell, it’s due to your Google Map API key, we have nothing to fix for this.
I have already told you to contact Google support, they will correct your API key for your site.
Thank You
- August 28, 2019 at 6:09 pm #78812
Mitchell Gould
ParticipantActually, in my case, I found out that the error comes from the URL for my dev server not being on a URL I own. This works fine on my domain.
- August 30, 2019 at 7:23 am #79164
WCFM Forum
MemberOK, that’s very obvious.
Google Map API key works for specific domains only.
If I create a key for wclovers.com then it will not work for you domain.
Thank You
- AuthorPosts
- You must be logged in to reply to this topic.