Why Bing map shows only 19 level of details only ?

629
1
05-10-2013 04:46 AM
VinayBansal
Occasional Contributor II
Hi All,

Why Bing map when added through ArcGIS Javascript API shows only 19 levels of details, whereas in this link http://msdn.microsoft.com/en-us/library/bb259689.aspx it shows that there are 23 level of details in Bing map tile system.

Is there any specific reason for this?

Regards,
Vinay Bansal
0 Kudos
1 Reply
JohnGravois
Frequent Contributor
in my testing at bing.com/maps i've never been able to identify more than 20 levels of detail, and only in specific areas where data is available (for example at the corner of E79th St and 5th Ave in NYC).

in order to push this additional level of detail to a Bing layer in the Esri JS API, you have to do something like this...
dojo.connect(veTileLayer, "onLoad", function() {
    console.log("ve: ", veTileLayer);
    veTileLayer.tileInfo.lods.push(new esri.layers.LOD({
      level":20,"resolution":0.149291071,"scale":564.248588,"startTileRow":0,
      "startTileCol":0,"endTileRow":1048575,"endTileCol":1048575
    }));
         
    veTileLayer.scales.push(564.248588);
    map.addLayer(veTileLayer);

  });
}
0 Kudos