Explorar el Código

improve the s3m layer

tags/2.11.0
Caven Chen hace 3 años
padre
commit
23dc5c33da
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4
    1
      modules/s3m/S3MLayer.js

+ 4
- 1
modules/s3m/S3MLayer.js Ver fichero

@@ -6,7 +6,6 @@
import State from '@dc-modules/state/State'
import { Layer } from '@dc-modules/layer'
import S3MTilesLayer from 's3m-lib/S3MTiles/S3MTilesLayer'
import ClusterLayer from '../layer/type/ClusterLayer'

class S3MLayer extends Layer {
constructor(id, url, options = {}) {
@@ -19,6 +18,10 @@ class S3MLayer extends Layer {
return Layer.getLayerType('s3m')
}

get readyPromise() {
return this._delegate.readyPromise
}

_onAdd(viewer) {
this._viewer = viewer
delete this._options['context']

Cargando…
Cancelar
Guardar