getScale function

Get minimum and maximum scale value used in grid.