I am trying to display Multiple Map Markers by referencing my Database of project locations (longitude and latitude as numbers) on my Google Map. Is this possible?
I have written the code (s seen below) which retrieves and displays only the first entry of my Database. How can I get it to display all entries? Thanks.
$w("#dataset1").onReady( () => {
let currentItem = $w("#dataset1").getCurrentItem();
$w("#googleMaps1").location = {
"latitude": currentItem.latitude,
"longitude": currentItem.longitude,
"description": currentItem.location,
};
});