Trying to connect Google Maps to dynamic page

You will need latitude and longitude for each location to do so, pulled from a collection, something like this:

let myLocation = $w("#googleMaps1").location;

 let txtGoogleMapsName = $w('#someDataSetName').getCurrentItem().title;
 let txtGoogleMapsLat = $w('#someDataSetName').getCurrentItem().latitude;
 let txtGoogleMapsLong = $w('#someDataSetName').getCurrentItem().longitude;

        $w("#googleMaps1").location = {
 "longitude": txtGoogleMapsLong,
 "latitude": txtGoogleMapsLat,
 "description": txtGoogleMapsName

This will put a tear drop on the lat/long coords with a name. Does that make sense?