From 0c12c06081b23518241c144a265990130163766e Mon Sep 17 00:00:00 2001 From: SanjayPrabhakaran Date: Fri, 17 May 2024 10:45:54 +0530 Subject: [PATCH] setbrowser location long -ve --- SJPv6/www/sjp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SJPv6/www/sjp.js b/SJPv6/www/sjp.js index 050ef29..56292c2 100644 --- a/SJPv6/www/sjp.js +++ b/SJPv6/www/sjp.js @@ -625,7 +625,7 @@ function getLocation() {//Check for Geolocation and get it. } } function showPosition(position) { // Event capture for GetLocation. - document.getElementById("longitude").value = -1 * position.coords.longitude; + document.getElementById("longitude").value = position.coords.longitude; document.getElementById("latitude").value = position.coords.latitude; document.getElementById("timezone").value = -1* (new Date().getTimezoneOffset()/60);//"UnKnown"; document.getElementById("placename").value="BrowserLocation"