-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.txt
36 lines (25 loc) · 906 Bytes
/
checkout.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
var latitudeMerchant = {{$alamatMerchant->latitude}};
var longitudeMerchant = {{$alamatMerchant->longitude}};
var jumlah = {{$total->jumlah}};
var berat = {{$total->berat}};
var origin = {{$alamatMerchant->kabupatenkota_idkabupatenkota}};
var berat = {{$total->berat}};
Koordinat perumnas ke wolowona
<script>
var x = document.getElementById("demo");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.watchPosition(
function (position) {
alert(position.coords.latitude +"x"+ position.coords.longitude);
//Geo.lng = position.coords.longitude;
},
function () {
alert("Geocoder failed");
},{ enableHighAccuracy: true });
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
</script>
254220002857320 resi jne