code: function(_this) {
  		if (this == window) {
  			_this.wait_create(_this);
  			return;
  		}
  
  		if (document.getElementById(this.el.id)) {
  			this.apid.create(this);
  		} else {
  			window.setTimeout(this.wait_create, 0.1, this);
  		}
  	}
docs: This will wait until the DOM element appears before completion of map rendering