Enabling details mode dynamically.

Adjusting the max zoom level of the esri basemap