function fetchMarkers(){
    fetch('/markers').then(response => response.json()).then((markers) =>{
        markers.forEach((marker) => {
            createMarkerForDisplay(marker.lat, marker.lng, marker.content);
        });
    });
}
/** Fetches markers from the backend and adds them to the map. */
Fetches markers from the backend and adds them to the map.
Fetches markers from the backend and adds them to the map .
function fetchMarkers(){
    fetch('/markers').then(response => response.json()).then((markers) =>{
        markers.forEach((marker) => {
            createMarkerForDisplay(marker.lat, marker.lng, marker.content);
        });
    });
}
function fetchMarkers ( ) { fetch ( '/markers' ) . then ( response => response . json ( ) ) . then ( ( markers ) => { markers . forEach ( ( marker ) => { createMarkerForDisplay ( marker . lat , marker . lng , marker . content ) ; } ) ; } ) ; }
Fetches markers from the backend and adds them to the map.
Fetches markers from the backend and adds them to the map .