Skip to content Skip to sidebar Skip to footer

Embeded Google Maps Does Not Show In Chrome

I have a web page where I use a the google maps api, I was working fine a time ago but recently it doesnt shows up un google Chrome, i think it is becouse of some new release, but

Solution 1:

When I load this up in my own local and view the errors I get these ;

getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins for more details. https://csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=26.6&action=apiboot2&e=10_1_0,10_2_0&rt=main.9 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

Which you used getCurrentPosition on line 134. Hope this helps, it seems like you are required to have/use HTTP's / SSL

Taking a look at Gmap documentation located here, it doesn't state this as a requirement, I would submit feedback on that.

To view the other errors take a loot at my direct copy of your code on my dev box here.

Best of luck~!

Post a Comment for "Embeded Google Maps Does Not Show In Chrome"