diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e2179769c2..abce19cca2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2010-03-04 Miguel de Dios + + * include/functions_gis.php: in function "printMap2" disable by default + to add the control "layerSwitcher". + + * operation/gis_maps/render_view.php: add the "layerSwitcher" to controls to + show. + 2010-03-04 Miguel de Dios * include/functions_gis.php: in function "getAgentMap" change the controls diff --git a/pandora_console/include/functions_gis.php b/pandora_console/include/functions_gis.php index 4255bfaae0..26f7fd6b36 100644 --- a/pandora_console/include/functions_gis.php +++ b/pandora_console/include/functions_gis.php @@ -59,33 +59,41 @@ function printMap2($idDiv, $iniZoom, $numLevelZooms, $latCenter, $lonCenter, $ba var controlVar = [ - new OpenLayers.Control.LayerSwitcher()]; + ]; var option = { diff --git a/pandora_console/operation/gis_maps/render_view.php b/pandora_console/operation/gis_maps/render_view.php index 622aefd957..a7f215f86c 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) {