setting map width/height on initialization