Added width and height parameters to map viewer