2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/gis_maps/render_view.php: Resize GIS map on fullscreen.
	
	Bugfix merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-04-19 17:26:15 +00:00
parent fbf1c84533
commit a2c1df3f57
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/gis_maps/render_view.php: Resize GIS map on fullscreen.
Bugfix merged from branches.
2012-04-19 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql

View File

@ -188,4 +188,20 @@ if ($layers != false) {
gis_activate_select_control();
gis_activate_ajax_refresh($layers, $timestampLastOperation);
}
// Resize GIS map on fullscreen
if ($config["pure"] != 0) {
?>
<script type="text/javascript">
$().ready(function(){
var new_height = $(document).height();
var new_width = $(document).width();
$("#map").css("height", new_height - 60);
$("#map").css("width", new_width - 25);
});
</script>
<?php
}
?>