2010-03-04 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_gis.php: in function "getAgentMap" change the controls
	delete overview and change PanZoom for PanZoomBar because the overview
	fail with google map, and PanZoomBar now the map view is more tall.
	
	* operation/gis_maps/render_view.php: delete overview because the overview
	fail with google.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-03-04 17:29:52 +00:00
parent 450004431c
commit 6e6f3f5bb8
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "getAgentMap" change the controls
delete overview and change PanZoom for PanZoomBar because the overview
fail with google map, and PanZoomBar now the map view is more tall.
* operation/gis_maps/render_view.php: delete overview because the overview
fail with google.
2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "get_user_groups" add third

View File

@ -1044,7 +1044,7 @@ function getAgentMap($agent_id, $heigth, $width, $show_history = false, $centerI
$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');
$controls = array('PanZoomBar', 'ScaleLine', 'Navigation', 'MousePosition');
printMap($agent_name."_agent_map", $defaultMap['zoom_level'],
$defaultMap['num_zoom_levels'], $defaultMap['initial_latitude'],

View File

@ -71,7 +71,7 @@ if ($gmap_layer === true) {
<?php
}
$controls = array('PanZoomBar', 'ScaleLine', 'Navigation', 'MousePosition', 'OverviewMap');
$controls = array('PanZoomBar', 'ScaleLine', 'Navigation', 'MousePosition');
$layers = getLayers($idMap);