Hi
In Settings-Location I configured Google Maps API key, Location field provider and Location map provider.
When I try to type in the Location field, the small window requesting permission to access the location doesn't appear.
Thanks.
I think if you want to use Google you can't have OpenStreetMap set up there.. Try another option.
Hi @PavelS
I have the same settings on another website and it works. Which alternative should I use with Google? Or instead of Google?
Regards
Hello @Claudio Acosta !
Could you please specify - may be you have the Javascript error on the page with the Location field? It can be detected in the browser Developer tool (F12 in Chrome)->Console tab.
Hi @LeonidS
Thank you for your response.
I've attached a screenshot.
Could this be the problem?
Regards.
I tried it on several browsers and computers and in all cases the same problem appears.
UPDATE: the deal was in the following line from the template/location_field_google.html file:
if ('undefined' === typeof(google.maps))
It needs to change to:
if ('undefined' === typeof(google))
like we already did in UNA 15.
Hi Leonid
Great!, it works now.
Screenshot attached. Are the errors or warnings on the right (console) something I need to fix, or should I not worry about them?
I await your response to mark this issue as resolved.
Thank you very much.
If the Location works now (as it does from my side) then you may pass it. I don't have such errors in my Win-10 Chrome.
I think if you want to use Google you can't have OpenStreetMap set up there.. Try another option.
Hi @PavelS
I have the same settings on another website and it works. Which alternative should I use with Google? Or instead of Google?
Regards
Hello @Claudio Acosta !
Could you please specify - may be you have the Javascript error on the page with the Location field? It can be detected in the browser Developer tool (F12 in Chrome)->Console tab.
Hi @LeonidS
Thank you for your response.
I've attached a screenshot.
Could this be the problem?
Regards.
Hi @LeonidS
I tried it on several browsers and computers and in all cases the same problem appears.
UPDATE: the deal was in the following line from the template/location_field_google.html file:
if ('undefined' === typeof(google.maps))
It needs to change to:
if ('undefined' === typeof(google))
like we already did in UNA 15.
Hi Leonid
Great!, it works now.
Screenshot attached. Are the errors or warnings on the right (console) something I need to fix, or should I not worry about them?
I await your response to mark this issue as resolved.
Thank you very much.
If the Location works now (as it does from my side) then you may pass it. I don't have such errors in my Win-10 Chrome.