diff options
author | Nivesh Rajbhandari | 2012-03-19 14:19:48 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-19 14:20:10 -0700 |
commit | ea439c4471948cb7e1dbb98bfa9c2ddc374d48e7 (patch) | |
tree | d9113bee7667fc6a65c36bcdf8f92d174917f0b1 /node_modules/montage/ui | |
parent | ec58642a7b31165890eb5bef7d95ce59dd0c34a0 (diff) | |
download | ninja-ea439c4471948cb7e1dbb98bfa9c2ddc374d48e7.tar.gz |
Maps - Apply default width and height styles to components if specified. Change default location to Sunnyvale.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'node_modules/montage/ui')
-rw-r--r-- | node_modules/montage/ui/map.reel/map.html | 4 | ||||
-rw-r--r-- | node_modules/montage/ui/map.reel/map.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/node_modules/montage/ui/map.reel/map.html b/node_modules/montage/ui/map.reel/map.html index b255ac1e..b39a11a9 100644 --- a/node_modules/montage/ui/map.reel/map.html +++ b/node_modules/montage/ui/map.reel/map.html | |||
@@ -29,8 +29,8 @@ | |||
29 | .montage-google-map { | 29 | .montage-google-map { |
30 | margin: 0; | 30 | margin: 0; |
31 | padding: 0; | 31 | padding: 0; |
32 | width: 600px; | 32 | width: 280px; |
33 | height: 700px; | 33 | height: 280px; |
34 | } | 34 | } |
35 | 35 | ||
36 | </style> | 36 | </style> |
diff --git a/node_modules/montage/ui/map.reel/map.js b/node_modules/montage/ui/map.reel/map.js index 42af218e..cba08a42 100644 --- a/node_modules/montage/ui/map.reel/map.js +++ b/node_modules/montage/ui/map.reel/map.js | |||
@@ -43,9 +43,9 @@ var Map = exports.Map = Montage.create(Component, /** @lends module:"montage/ui/ | |||
43 | value: false | 43 | value: false |
44 | }, | 44 | }, |
45 | 45 | ||
46 | 46 | // Sunnyvale, CA | |
47 | defaultLatLng: { | 47 | defaultLatLng: { |
48 | value: {lat: -34.397, lng: 150.644} | 48 | value: {lat: 37.37, lng: -122.03} |
49 | }, | 49 | }, |
50 | 50 | ||
51 | _latLng: { | 51 | _latLng: { |