| } | } | ||||
| off(type, callback, context) { | off(type, callback, context) { | ||||
| this._tileset.then((model) => { | |||||
| this._model.then((model) => { | |||||
| switch (type) { | switch (type) { | ||||
| case ModelEventType.READY: | case ModelEventType.READY: | ||||
| model.readyEvent.removeEventListener(callback, context || this) | model.readyEvent.removeEventListener(callback, context || this) |