diff --git a/vis/floormap.in b/vis/floormap.in index 67144cdf479fd39942392382e0779b9cc93b4a04..e6d0c87d0bd3539da433bf9643715aba81f4235a 100755 --- a/vis/floormap.in +++ b/vis/floormap.in @@ -73,8 +73,10 @@ $building = $ARGV[0]; # Hardwire the imagemaps for now. # my %baseimages = (); -$baseimages{"MEB"}{"4-East"} = "$TB/www/meb-4east.png"; -$baseimages{"MEB"}{"4-West"} = "$TB/www/meb-4east.png"; +$baseimages{"MEB"}{"4"} = "$TB/www/meb4fl.png"; +$baseimages{"MEB"}{"3"} = "$TB/www/meb3fl.png"; +#$baseimages{"MEB"}{"2"} = "$TB/www/meb2fl.png"; +#$baseimages{"MEB"}{"1"} = "$TB/www/meb1fl.png"; if (!exists($baseimages{$building})) { die("No such building: $building\n"); @@ -146,7 +148,7 @@ else { # # Create a new image using the aggregate size. # - $image = new GD::Image($max_x, $total_y); + $image = new GD::Image($max_x, $total_y, 1); # # Now copy the floor images into the superimage.