Minor fix

This commit is contained in:
Alejandro Gallardo Escobar 2014-10-13 17:49:22 +02:00
parent 8348c9f5fc
commit ba40202ae5
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,8 @@ class Visualmap {
case 'render_map': case 'render_map':
$map_id = $system->getRequest('map_id', '0'); $map_id = $system->getRequest('map_id', '0');
$width = $system->getRequest('width', '400'); $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; exit;
} }
} }
@ -123,6 +124,7 @@ class Visualmap {
postvars[\"parameter2\"] = \"render_map\"; postvars[\"parameter2\"] = \"render_map\";
postvars[\"map_id\"] = \"" . $this->id . "\"; postvars[\"map_id\"] = \"" . $this->id . "\";
postvars[\"width\"] = map_width; postvars[\"width\"] = map_width;
postvars[\"height\"] = map_height;
$.post(\"index.php\", $.post(\"index.php\",
postvars, postvars,