AnsweredAssumed Answered

Remove LayerInfo from TiledMapServiceLayer at run time

Question asked by aconnolly on Oct 29, 2012
Latest reply on Oct 30, 2012 by aconnolly
Hello,

I'm having an interesting issue with the World Satellite Imagery and Transportation services:

http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer
http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Transportation/MapServer

When I overlay the transportation layer over the imagery I get a zoom slider that has 20 levels of detail. The transportation service layer seems to have images for some cities when zoomed all the way in, when the imagery service layer does not. Specifically Lincoln, NE has no imagery at the 1st zoom level (or is it 20th?) but there are street transportation images.

Is it possible to remove a LayerInfo object from a TiledMapServiceLayer object in javascript and thus have the zoom slider work properly and restrict the user from zooming in completely in these areas?

Thanks,
- Aaron

Outcomes