diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3ff511187e..e2179769c2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2010-03-04 Miguel de Dios + + * 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 * include/functions_db.php: in function "get_user_groups" add third diff --git a/pandora_console/include/functions_gis.php b/pandora_console/include/functions_gis.php index 98c8bbcc80..4255bfaae0 100644 --- a/pandora_console/include/functions_gis.php +++ b/pandora_console/include/functions_gis.php @@ -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'], diff --git a/pandora_console/operation/gis_maps/render_view.php b/pandora_console/operation/gis_maps/render_view.php index 6869e05796..622aefd957 100644 --- a/pandora_console/operation/gis_maps/render_view.php +++ b/pandora_console/operation/gis_maps/render_view.php @@ -71,7 +71,7 @@ if ($gmap_layer === true) {