diff options
Diffstat (limited to 'node_modules/montage/ui/map.reel/map.html')
-rw-r--r-- | node_modules/montage/ui/map.reel/map.html | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/node_modules/montage/ui/map.reel/map.html b/node_modules/montage/ui/map.reel/map.html index 5cd3a5b5..b255ac1e 100644 --- a/node_modules/montage/ui/map.reel/map.html +++ b/node_modules/montage/ui/map.reel/map.html | |||
@@ -13,24 +13,13 @@ | |||
13 | 13 | ||
14 | <script type="text/montage-serialization"> | 14 | <script type="text/montage-serialization"> |
15 | { | 15 | { |
16 | "types": { | 16 | |
17 | "prototype": "montage/ui/select-input.reel", | ||
18 | "properties": { | ||
19 | "element": {"#": "types"} | ||
20 | } | ||
21 | }, | ||
22 | "owner": { | 17 | "owner": { |
23 | "prototype": "montage/ui/map.reel", | 18 | "prototype": "montage/ui/map.reel", |
24 | "properties": { | 19 | "properties": { |
25 | "element": {"#": "map-container"}, | 20 | "element": {"#": "map-container"}, |
26 | "mapEl": {"#": "map"} | 21 | "mapEl": {"#": "map"} |
27 | }, | 22 | } |
28 | "bindings": { | ||
29 | "category": { | ||
30 | "boundObject": {"@": "types"}, | ||
31 | "boundObjectPropertyPath": "value" | ||
32 | } | ||
33 | } | ||
34 | } | 23 | } |
35 | } | 24 | } |
36 | </script> | 25 | </script> |
@@ -49,20 +38,8 @@ | |||
49 | </head> | 38 | </head> |
50 | <body> | 39 | <body> |
51 | 40 | ||
52 | <div data-montage-id="map-container"> | 41 | <div data-montage-id="map-container"> |
53 | <div> | 42 | <div data-montage-id="map" id="map" class="montage-google-map">MAP</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> | 43 | </div> |
67 | 44 | ||
68 | </body> | 45 | </body> |