setting maxVisibleScale