bing aerial - levels of detail

Discussion created by dbecker88 on Apr 4, 2012
Latest reply on Apr 5, 2012 by DSwingley-esristaff
I set custom lods in my map, so the user cannot zoom in beyond the extent of the tiled map service. Basically, so they never see the 'imagery cannot be displayed at this scale' message.

I can get lods from the arcgisonline World_imagery service by visiting:

However, upon changing to a bing maps aerial, the above lods no longer apply for oblivious reasons, and the map zoom slider only works on every few tics.

So, on basemap change, I'd like to re-apply the lods specific to the basemap the user selects, thus, changing the map zoom tics on the slider.

I can listen for a basemap change
    var bm = basemapGallery.getSelected();
    if (bm.title == "bing"){
        //somehow re-apply lods specific to the user-selected basemap;

My questions:

1. where do I get the lods info for the bing aerial? I cannot simply append f=pjson to the service like I can for the arcgis World_IMagery service.
2. how would I re-apply lods, changing the basemap tics after the user selects a different basemap?