
<h3 class="page-title"><?php echo $reports['name'] ?></h3>

<?php 

echo pivot_map_reports::render_legend($reports); 

switch(pivot_map_reports::get_map_type($reports['id']))
{
    case 'google':
        require(component_path('ext/pivot_map_reports/view_google'));
        break;
    case 'mapbbcode':
        require(component_path('ext/pivot_map_reports/view'));
        break;
}
