Changeset 3192 for trunk/modules
- Timestamp:
- 07/22/2008 01:44:58 PM (4 months ago)
- Files:
-
- 1 modified
-
trunk/modules/gmaps/controllers/gmaps_demo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/gmaps/controllers/gmaps_demo.php
r3157 r3192 30 30 $map->add_marker(44.9801, -93.2519, '<strong>Minneapolis, MN</strong><p>Hello world!</p>'); 31 31 32 View::factory('gmaps/api_demo')->set(array('api_url' => $map->api_ur i(), 'map' => $map->render()))->render(TRUE);32 View::factory('gmaps/api_demo')->set(array('api_url' => $map->api_url(), 'map' => $map->render()))->render(TRUE); 33 33 } 34 34 … … 129 129 $map->center(0, 35, 16)->controls('large'); 130 130 131 View::factory('gmaps/jquery')->set(array('api_url' => $map->api_ur i(), 'map' => $map->render('gmaps/jquery_javascript')))->render(TRUE);131 View::factory('gmaps/jquery')->set(array('api_url' => $map->api_url(), 'map' => $map->render('gmaps/jquery_javascript')))->render(TRUE); 132 132 } 133 133
