Closed andrrsin closed 1 year ago
We have to load the markers for the moment to retrieve the user's markers the code existing is:
async function fetchLandmarks() { let landmks: Landmark[] = []; makeRequest.post("/landmarks/friend", { webId: session.info.webId?.split("#")[0] }).then((res1) => { for (let i = 0; i < res1.data.length; i++) { let landmark = new Landmark( res1.data[i].name, res1.data[i].latitude, res1.data[i].longitude, res1.data[i].category); landmks.push(landmark); } setLandmarks(loadLandmarks(landmks)); }); }
We have to
See #130 for the fix. Also, duplicated issue with #110.
We have to load the markers for the moment to retrieve the user's markers the code existing is:
We have to