docs: function() {
          // erase any drawn features
          this.erase();
  
          this.map = null;
  
          this.events.destroy();
          this.events = null;
  
          if (this.icon != null) {
              this.icon.destroy();
              this.icon = null;
          }
      }