Skip to content Skip to sidebar Skip to footer

Location Java Script Ceases To Work When Deployed

When I debug my website locally in the login screen I see the map where I am and there are two textfields filled with my longitude and latitude, but when I deploy my website this c

Solution 1:

This is what I get in the console after launching your website:

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 link for more details.

Switching your website to https will help

Post a Comment for "Location Java Script Ceases To Work When Deployed"