Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- #map {
- height: 400px;
- width: 100%;
- }
- </style>
- </head>
- <body>
- <div id="map"></div>
- <script>
- function initMap() {
- var phayathai_plaza = { lat: 13.7562032, lng: 100.5325212 };
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 17,
- center: phayathai_plaza
- });
- var marker = new google.maps.Marker({
- position: phayathai_plaza,
- map: map
- });
- }
- </script>
- <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAL3uKKsbjPdp4TKhrRDpysbq5BtFiyU9w&callback=initMap">
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement