12-4
This commit is contained in:
@ -16,17 +16,13 @@ class Layer extends BaseLayer {
|
||||
super(sdk, options)
|
||||
this.object = {}
|
||||
this.options.host = this.options.host || getHost()
|
||||
this.on()
|
||||
this.loadLayer(this.options)
|
||||
}
|
||||
|
||||
get type() {
|
||||
return "layer"
|
||||
}
|
||||
|
||||
on() {
|
||||
return this.loadLayer(this.options)
|
||||
}
|
||||
|
||||
async loadLayer(data) {
|
||||
this.object = { ...data }
|
||||
let url = ""
|
||||
|
||||
Reference in New Issue
Block a user