1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/map-simple.html Wed Apr 09 12:36:39 2014 +0200
1.3 @@ -0,0 +1,37 @@
1.4 +
1.5 +
1.6 +<!DOCTYPE html>
1.7 +<html>
1.8 + <head>
1.9 + <title>Simple Map</title>
1.10 + <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
1.11 + <meta charset="utf-8">
1.12 + <style>
1.13 + html, body, #map-canvas {
1.14 + margin: 0;
1.15 + padding: 0;
1.16 + height: 100%;
1.17 + }
1.18 + </style>
1.19 + <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
1.20 + <script>
1.21 +var map;
1.22 +function initialize() {
1.23 + var mapOptions = {
1.24 + zoom: 8,
1.25 + center: new google.maps.LatLng(-34.397, 150.644),
1.26 + mapTypeId: google.maps.MapTypeId.ROADMAP
1.27 + };
1.28 + map = new google.maps.Map(document.getElementById('map-canvas'),
1.29 + mapOptions);
1.30 +}
1.31 +
1.32 +google.maps.event.addDomListener(window, 'load', initialize);
1.33 +
1.34 + </script>
1.35 + </head>
1.36 + <body>
1.37 + <div id="map-canvas"></div>
1.38 + </body>
1.39 +</html>
1.40 +