Google Maps shows me the following error:
getCurrentPosition () and watchPosition () are deprecated 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.
What can I do to make it work in an http url?