Skip to content

Commit

Permalink
Update data_gedreven_bier.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kad-weeldj authored Feb 25, 2025
1 parent 8a32dba commit a38c207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions innovatie/datagedrevenbier/data_gedreven_bier.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Onderstaande kaart toont de locaties waar ‘t Perceeltje is gedronken, en de he
const long = position.coords.longitude;

var xhr = new XMLHttpRequest();
xhr.open("POST", 'https://labs.kadaster.nl/bier/insertlocations', true);
xhr.open("POST", 'https://labs.kadaster.nl/demonstrators/datadrivenrecipe/insertlocations', true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.send(JSON.stringify({lat, long}));
}
Expand Down Expand Up @@ -240,7 +240,7 @@ Onderstaande kaart toont de locaties waar ‘t Perceeltje is gedronken, en de he
let clusterGroup;
function getData() {
try {
fetch('https://labs.kadaster.nl/bier/getlocations')
fetch('https://labs.kadaster.nl/demonstrators/datadrivenrecipe/getlocations')
.then(response => response.json())
.then(locations => {
if (clusterGroup) map.removeLayer(clusterGroup);
Expand Down

0 comments on commit a38c207

Please sign in to comment.