From 88d2943d6b79206ec502a2b847ebfea6d9828e15 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Thu, 19 Apr 2012 18:16:40 +0000 Subject: [PATCH] 2012-04-19 Juan Manuel Ramon * operation/gis_maps/render_view.php: Resize GIS map on normal view. Bugfix merged from branches. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../operation/gis_maps/render_view.php | 18 +++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 82dbb4d004..a82a335488 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-04-19 Juan Manuel Ramon + + * operation/gis_maps/render_view.php: Resize GIS map on normal view. + + Bugfix merged from branches. + 2012-04-19 Juan Manuel Ramon * operation/gis_maps/render_view.php: Resize GIS map on fullscreen. diff --git a/pandora_console/operation/gis_maps/render_view.php b/pandora_console/operation/gis_maps/render_view.php index 7adcf2ed10..a8fbfcc531 100644 --- a/pandora_console/operation/gis_maps/render_view.php +++ b/pandora_console/operation/gis_maps/render_view.php @@ -133,7 +133,7 @@ if ($config["pure"] == 0) { echo "
"; } else { - echo "
"; + echo "
"; } gis_print_map('map', $map['zoom_level'], $map['initial_latitude'], @@ -196,12 +196,24 @@ if ($config["pure"] != 0) { $().ready(function(){ var new_height = $(document).height(); - var new_width = $(document).width(); $("#map").css("height", new_height - 60); - $("#map").css("width", new_width - 25); }); + +