-
Notifications
You must be signed in to change notification settings - Fork 0
/
aerial-simple.htm
27 lines (24 loc) · 903 Bytes
/
aerial-simple.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Google Maps JavaScript API Example: Simple Aerials</title>
<script src="//maps.google.com?file=api&v=2.x&key=AIzaSyD4iE2xVSpkLLOXoyqT-RuPwURN3ddScAI" type="text/javascript"></script>
<script type="text/javascript">
function initialize() {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.339085, -121.8914807), 18);
// Select a map type which supports obliques
map.setMapType(G_HYBRID_MAP);
//map.setMapType(G_NORMAL_MAP);
map.setUIToDefault();
// Enable the additional map types within
//the map type collection
map.enableRotation();
}
</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map_canvas" style="width: 640px; height: 480px"></div>
</body>
</html>