Map Testing

{source}

<style>

 

/* Always set the map height explicitly to define the size of the div * element that contains the map. */ 

#map { height: 100%; } 

html, body { height: 100%; margin: 0; padding: 0; }

</style>

<div id=”map”></div>

 

 

<script>

function initMap() { var myLatLng = {lat: 43.4248376, lng: -83.9353072}; var another = {lat: 43.8041077, lng: -83.014777}; var map = new google.maps.Map(document.getElementById(‘map’), { zoom: 7, center: myLatLng }); var marker = new google.maps.Marker({ position: myLatLng, map: map, title: ‘Heiden Technology Solutions’ }); var marker = new google.maps.Marker({position: another, map: map, title: ‘Huron Medical center’});}

  </script>

<script async defer src=”https://maps.googleapis.com/maps/api/js?key=AIzaSyA0xqARk5H9lBczcvXtkjEP8ahFxDiUKEo&callback=initMap”> </script>

{/source}

Leave a Comment

Your email address will not be published. Required fields are marked *