Added some properties in Layer to manage the Max and Min Scale Attributes.
Some Improvements for Scale Example