Example JavaScript code for generating dynamic maps from a Google spreadsheet using Google Maps API.
When testing it, make sure you use your own Google API key in the portion of the code:
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initialiseMap">
</script>
See live example at Codepen.