diff --git a/pandora_console/mobile/operation/visualmap.php b/pandora_console/mobile/operation/visualmap.php index 75c510c4fe..a07b9e6005 100644 --- a/pandora_console/mobile/operation/visualmap.php +++ b/pandora_console/mobile/operation/visualmap.php @@ -70,7 +70,8 @@ class Visualmap { case 'render_map': $map_id = $system->getRequest('map_id', '0'); $width = $system->getRequest('width', '400'); - visual_map_print_visual_map($map_id, false, true, $width); + $height = $system->getRequest('height', '400'); + visual_map_print_visual_map($map_id, false, true, $width, $height); exit; } } @@ -123,6 +124,7 @@ class Visualmap { postvars[\"parameter2\"] = \"render_map\"; postvars[\"map_id\"] = \"" . $this->id . "\"; postvars[\"width\"] = map_width; + postvars[\"height\"] = map_height; $.post(\"index.php\", postvars,