updated javadoc for updateDimension in MapView, will be renamed soon
removed unnecessary code