aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/map.reel/map.html
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/map.reel/map.html')
-rw-r--r--node_modules/montage/ui/map.reel/map.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/node_modules/montage/ui/map.reel/map.html b/node_modules/montage/ui/map.reel/map.html
new file mode 100644
index 00000000..5cd3a5b5
--- /dev/null
+++ b/node_modules/montage/ui/map.reel/map.html
@@ -0,0 +1,69 @@
1<!DOCTYPE html>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7<html>
8<head>
9 <title></title>
10 <link rel="stylesheet" type="text/css" href="map.css">
11 <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&callback=initialize&libraries=places"></script>
12
13
14 <script type="text/montage-serialization">
15 {
16 "types": {
17 "prototype": "montage/ui/select-input.reel",
18 "properties": {
19 "element": {"#": "types"}
20 }
21 },
22 "owner": {
23 "prototype": "montage/ui/map.reel",
24 "properties": {
25 "element": {"#": "map-container"},
26 "mapEl": {"#": "map"}
27 },
28 "bindings": {
29 "category": {
30 "boundObject": {"@": "types"},
31 "boundObjectPropertyPath": "value"
32 }
33 }
34 }
35 }
36 </script>
37
38 <style>
39
40 .montage-google-map {
41 margin: 0;
42 padding: 0;
43 width: 600px;
44 height: 700px;
45 }
46
47 </style>
48
49</head>
50<body>
51
52 <div data-montage-id="map-container">
53 <div>
54 Show:
55 <select data-montage-id="types">
56 <option value=''>Select a Category</option>
57 <option value='cafe'>Coffee</option>
58 <option value='hospital'>Hospitals</option>
59 <option value='museum'>Museums</option>
60 <option value='restaurant'>Restaurants</option>
61
62 </select>
63 </div>
64 <div data-montage-id="map" id="map" class="montage-google-map">MAP</div>
65
66 </div>
67
68</body>
69</html>