diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 714ca6a049..847299c40d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-03-04 Pablo de la Concepción + + * include/functions_gis.php: added missing num_zoom_levels value to + the baselayers hash when printing the Agent Map + 2010-03-03 Raúl Mateos * operation/incidents/*.php: Updated year and headers. diff --git a/pandora_console/include/functions_gis.php b/pandora_console/include/functions_gis.php index 7684d627bb..236503e83d 100644 --- a/pandora_console/include/functions_gis.php +++ b/pandora_console/include/functions_gis.php @@ -1042,6 +1042,7 @@ function getAgentMap($agent_id, $heigth, $width, $show_history = false, $centerI $baselayers[0]['url'] = $conectionData['url']; $baselayers[0]['name'] = $defaultMap['conection_name']; $baselayers[0]['typeBaseLayer'] = $conectionData['type']; + $baselayers[0]['num_zoom_levels'] = $defaultMap['num_zoom_levels']; $controls = array('PanZoom', 'ScaleLine', 'Navigation', 'MousePosition', 'OverviewMap'); printMap($agent_name."_agent_map", $defaultMap['zoom_level'],