set_geo
set_geo($latitude="",$longitude="",$accuracy="",$altitude="",$altitudeAccuracy="",$heading="",$speed="") - set geo location data in the JS engine. Changes how the navigator function works.geolocation.getCurrentPosition (Available from version 7.0.37)
The function accepts parameters as input:br>
$latitude – latitude - when passed an empty string - uses the default value$longitude – longitude - when passed an empty string - uses the default value$accuracy – the accuracy of the latitude and longitude when passed an empty string - uses the default value$altitude – height - when passed an empty string - the default value is used$altitudeAccuracy – height accuracy - when passing an empty string - the default value is used$heading – direction of movement (in radians) - when transmitting an empty string - the default value is used$speed – speed of movement - when transmitting an empty string - the default value is used
After testing, the function returns the result of its work to the script :
true – successfully setfalse – failed to set