diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 76d7656fbd..2e17ee541f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,16 @@ +2010-02-17 Miguel de Dios + + * include/functions_gis.php: add the parameter id layer in the function + "makeLayer" for add the id layer (id of db) in the layer. Fill in the + sourcecode in the function "activateAjaxRefresh" that now show new + agents in the map in real time and add make changes in this function. + + * operation/gis_maps/render_view.php: use the new parameter in the call + of function "makeLayer". + + * operation/gis_maps/ajax.php: add code to return new positions (and name + and icon) when the ask the positions in "activateAjaxRefresh". + 2010-02-16 Raúl Mateos * extensions/module_groups.php: Better description text. Changed font diff --git a/pandora_console/include/functions_gis.php b/pandora_console/include/functions_gis.php index c5d98f07f0..9a87ba803d 100644 --- a/pandora_console/include/functions_gis.php +++ b/pandora_console/include/functions_gis.php @@ -90,7 +90,7 @@ function printMap($idDiv, $iniZoom, $numLevelZooms, $latCenter, $lonCenter, $bas ', {styleMap: style} ); + layer.data = {}; + layer.data.id = ''; + layer.setVisibility(); map.addLayer(layer); @@ -192,7 +195,7 @@ function activateAjaxRefresh($layers = null, $lastTimeOfData = null) { ?>