AnsweredAssumed Answered

Problem: custom LODS makes disappear basemap

Question asked by cadrin on Nov 19, 2012
Latest reply on Nov 19, 2012 by jeff.pace
Hi all,

since i used custom LODS, my basemap won't show.

Why?

I'm using the basemap World_Imagery from ArcGIS Online.

Thank's for your help.

var basemapUrl = "http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"; var lods = [ {  "level": 0,  "resolution": 26.458386250105836,  "scale": 100000 }, {  "level": 1,  "resolution": 13.229193125052918,  "scale": 50000 }, {  "level": 2,  "resolution": 5.291677250021167,  "scale": 20000 }, {  "level": 3,  "resolution": 2.6458386250105836,  "scale": 10000 }, {  "level": 4,  "resolution": 1.3229193125052918,  "scale": 5000 }, {  "level": 5,  "resolution": 0.6614596562526459,  "scale": 2500 }, {  "level": 6,  "resolution": 0.26458386250105836,  "scale": 1000 }, {  "level": 7,  "resolution": 0.19843789687579377,  "scale": 750 }, {  "level": 8,  "resolution": 0.13229193125052918,  "scale": 500 }];  var initialExtent = new esri.geometry.Extent({"xmin":-8034661,"ymin":5652797,"xmax":-8004182,"ymax":5670187,"spatialReference":{"wkid":102100}});            map = new esri.Map("map", {  extent: initialExtent,  logo: true,  lods: lods }); 

Outcomes