AnsweredAssumed Answered

Labels minScale crashing map in IE

Question asked by matt.thery on Oct 19, 2018
Latest reply on Oct 19, 2018 by rscheitlin

Hello,

Another day another question, anyway:

 

I am using a LabelClass on my FeatureLayer. 

Both the FeatureLayer and the LabelClass have a minScale (let's say 10000). Everything works fine in modern browsers.

Now on IE11 (which some people are still using) when I zoom out past the minScale, the map freezes and I get the following error:

"handled promise rejection TypeError: Unable to get property 'getTile' of undefined or null reference"

 

I tried to remove the minScale on the LabelClass, watch the scale property and set the labelClass to empty when it's over 10000, nothing works. When I don't set a labelClass it works ok. (using 4.9)

Outcomes