code: function () {
                      if (thisLayer.activeControl) {
                          if (thisLayer.activeControl === thisLayer.exaggerationUpControl) {
                              thisLayer.wwd.verticalExaggeration += thisLayer.exaggerationIncrement;
                          } else if (thisLayer.activeControl === thisLayer.exaggerationDownControl) {
                              thisLayer.wwd.verticalExaggeration =
                                  Math.max(1, thisLayer.wwd.verticalExaggeration - thisLayer.exaggerationIncrement);
                          }
                          thisLayer.wwd.redraw();
                          setTimeout(setExaggeration, 50);
                      }
                  }
docs: capture 'this' for use in the function