Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- #map-canvas {
- width: 500px;
- height: 400px;
- }
- </style>
- <script src="https://maps.googleapis.com/maps/api/js"></script>
- <script>
- function initialize() {
- var mapCanvas = document.getElementById('map-canvas');
- var mapOptions = {
- center: new google.maps.LatLng(21.617497, 87.182694),
- zoom: 8,
- mapTypeId: google.maps.MapTypeId.ROADMAP
- }
- var map = new google.maps.Map(mapCanvas, mapOptions)
- }
- google.maps.event.addDomListener(window, 'load', initialize);
- </script>
- </head>
- <body>
- <div id="map-canvas"></div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment