So I have a pretty simple bit of JS using the navigator.geolocation.getCurrentPosition jammy.
$(document).ready(function(){ $(\"#business-locate, #people-l
It might be a good idea to use an IP address geo location service as a fallback method when getCurrentPosition fails. For example with our api https://ip-api.io
getCurrentPosition
$.getJSON("http://ip-api.io/json/", function(result) { console.log(result); });