-
Notifications
You must be signed in to change notification settings - Fork 3
/
mapNokia.html
53 lines (51 loc) · 2.22 KB
/
mapNokia.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=7; IE=EmulateIE9" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<script type="text/javascript" src="http://api.maps.nokia.com/2.2.3/jsl.js?with=all"></script>
<script type="text/javascript" src="lib/base.js"></script>
<script type="text/javascript" src="lib/event.js"></script>
<script type="text/javascript" src="lib/LatLng.js"></script>
<script type="text/javascript" src="lib/LatLngBounds.js"></script>
<script type="text/javascript" src="lib/Point.js"></script>
<script type="text/javascript" src="lib/Size.js"></script>
<script type="text/javascript" src="lib/MapTypeId.js"></script>
<script type="text/javascript" src="lib/MVCObject.js"></script>
<script type="text/javascript" src="lib/MVCArray.js"></script>
<script type="text/javascript" src="lib/Marker.js"></script>
<script type="text/javascript" src="lib/Polyline.js"></script>
<script type="text/javascript" src="lib/Geocoder.js"></script>
<script type="text/javascript" src="lib/Map.js"></script>
<script type="text/javascript">
// Set up is the credentials to use the API:
nokia.Settings.set("appId", "_peU-uCkp-j8ovkzFGNU");
nokia.Settings.set("authenticationToken", "gBoUkAMoxoqIWfxWA5DuMQ");
</script>
<script type="text/javascript">
var map;
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(-34.397, 150.644),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP,
overviewMapControl: true
};
map = new google.maps.Map(document.getElementById("map_canvas"),
mapOptions);
var marker = new google.maps.Marker({position: map.getCenter(), icon: "http://jeffreybennett.net/images/av.png"});
marker.setMap(map);
marker.setDraggable(true);
}
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>