Changeset 3192 for trunk/modules

Show
Ignore:
Timestamp:
07/22/2008 01:44:58 PM (4 months ago)
Author:
alexsancho
Message:

small fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/gmaps/controllers/gmaps_demo.php

    r3157 r3192  
    3030                $map->add_marker(44.9801, -93.2519, '<strong>Minneapolis, MN</strong><p>Hello world!</p>'); 
    3131 
    32                 View::factory('gmaps/api_demo')->set(array('api_url' => $map->api_uri(), 'map' => $map->render()))->render(TRUE); 
     32                View::factory('gmaps/api_demo')->set(array('api_url' => $map->api_url(), 'map' => $map->render()))->render(TRUE); 
    3333        } 
    3434         
     
    129129                $map->center(0, 35, 16)->controls('large'); 
    130130 
    131                 View::factory('gmaps/jquery')->set(array('api_url' => $map->api_uri(), '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); 
    132132        } 
    133133