diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4ba3918969..ac30902c9f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,16 @@ +2010-03-03 Miguel de Dios + + * include/functions_gis.php: add in the last time a function "printMap2" + that it is a clean function. Change the function "printMap" to call + "printMap2". + + * include/javascript/openlayers.pandora.js: in function "js_printMap" set + the spherical Mercator for google maps. + + * operation/gis_maps/render_view.php: add to list of $baselayers the name + of baselayer. Change order of div for map because now the script don't + call when document ready. + 2010-03-03 Ramon Novoa * include/functions_db.php: Use mysql_fetch_assoc instead of diff --git a/pandora_console/include/functions_gis.php b/pandora_console/include/functions_gis.php index 4356b4da70..7684d627bb 100644 --- a/pandora_console/include/functions_gis.php +++ b/pandora_console/include/functions_gis.php @@ -52,10 +52,165 @@ function getDataLastPositionAgent($idAgent, $returnEmptyArrayInFail = false) { return $returnVar; } +function printMap2($idDiv, $iniZoom, $numLevelZooms, $latCenter, $lonCenter, $baselayers, $controls = null) { + ?> + +