2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>

*  include/functions_gis.php: added missing num_zoom_levels value to 
	the baselayers hash when printing the Agent Map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
pabloconcepcion 2010-03-04 06:01:13 +00:00
parent f8ba7c6d95
commit e13c48c2c1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* 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 <raulofpandora@gmail.com>
* operation/incidents/*.php: Updated year and headers.

View File

@ -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'],