Developing map using Leaflet - troubles with passing data

Hi all,

I am developing a map using Leaflet using the basic dev environment. I can get a map to display in the size I want, but I can’t seem to pass data from FileMaker into the map.


Ultimately, the goal is to take the data from FileMaker and use for-each to create markers for multiple locations.


My index.js reads: window.LoadMarkers = function (json) { console.log("Data", json); const map = L.map("map").setView([41.6801396, -70.2994737], 13); L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", { attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', }).addTo(map); L.marker([41.6801396, -70.2994737]) .addTo(map) .bindPopup("A pretty CSS popup.<br> Easily customizable.") .openPopup(); }; LoadMarkers();

I've