Determining if a tiled service is available

Discussion created by KG22 on Jun 14, 2010
Latest reply on Jun 14, 2010 by jgrayson-esristaff
I have a map that has the esri street map service within it. I also have additional lods outside of where the street map data is available (zoomed in further). When a user zooms past the lod where street data is available I would like to disable the button in my ui that shows/hides the street map. Is there a way to do this?
I basically need to compare the current zoom level and see if that is outside of the range of the street data and act accordingly.
Any suggestions?