diff options
author | Kishore Subramanian | 2012-03-19 10:36:49 -0700 |
---|---|---|
committer | Kishore Subramanian | 2012-03-19 10:39:46 -0700 |
commit | 9d364be255900e9bde02c4b254d145ec41fc78fb (patch) | |
tree | 2b61f27e38b006c8f4d3e33dfa4cc568c4266d4e /node_modules/montage/ui/map.reel/map.html | |
parent | eb5cda3ce03b35c3335b91c34ead0cdf290b243e (diff) | |
download | ninja-9d364be255900e9bde02c4b254d145ec41fc78fb.tar.gz |
Changes to the Demo
- Feed Reader now shows one entry at a time
- Category dropdown removed form the Map. It is included as part of the example code
- Changed the categories that do not return results
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> |