To display them on the map and respond to clicks on those particular street lights, we could loop through your stored locations and add markers to the map for all of your lights with a click event listener added to those markers.
Here's an example that has an array of two latlon objects to show how to loop through your locations and attach the event handler to all of the markers.
<div id="map" style="height:200px;"></div>
<script>
var map;
var lightLocations = [
{lat: -34.397, lng: 150.644},
{lat: -34.350, lng: 150.704}
];
function initMap() {
map = new google.maps.Map(document.getElementById('map'), {
center: {lat: -34.397, lng: 150.644},
zoom: 10
});
var markerClicked = function(event) {
// here's where you do what you need to do with the info
alert(this.position);
}
lightLocations.forEach( function(element) {
var marker = new google.maps.Marker({
position: element,
map: map
});
marker.addListener( 'click', markerClicked );
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?callback=initMap"
async defer></script>