Tiled Layer: Cannot read property 'remove' of null

2275
1
02-25-2016 11:46 PM
AndrisSkudra
New Contributor

This is a possible bug. When I zoom Map with mousewheel, fast and multiple levels, ArcGIS JS API throws an error, continiously:

Cannot read property 'remove' of null

I happen to have a lot of Tiled layers in my map, like 20 or so. And all of them

class: "esri/layers/TiledMapServiceLayer"

function:  _popTile()

this line: this._loadingList.remove(a.id);

this._loadingList is null, so it thats why it throws. I think it could be some timing issue, possibly related to performance (multiple level zoom + lots of layers).

I was wondering if this is a bug or maybe I am doing something wrong? Is there a workaround?

0 Kudos
1 Reply
AndrisSkudra
New Contributor

This is repeatable on any map with decent amount of tiled layers.

For example this - http://www.arcgis.com/home/webmap/viewer.html?webmap=1f61f0c4ddcf4b7d8b7586d6cd85574d

More tiled layers = easier to repeat this bug!

0 Kudos