How Can I Change My Location In BAS ?

  • Hi, i wanna change my location with Devtools sensor but i don't know how to do this. I found i javascript code but I'm not sure it works and i wanna enable location permission always. Can you help me ?

    Javascript code :

    navigator.geolocation.getCurrentPosition = function(success, failure) { 
        success({ coords: { 
            latitude: 30, 
            longitude: 105,
        }, timestamp: }); 

Log in to reply