import{__decorate as e}from"tslib";import{serializable as r}from"../support/Serializable.js";import{isWebTileLayer as t}from"../utilities/_layers.js";import{LayerExtension as a,LayerExtensionSchema as i}from"./_LayerExtension.js";let s=class extends a{get layer(){return super.layer}_getSerializableProperties(){const e=super._getSerializableProperties();return{...e,layer:{...this._toPropertyDef(e.layer),default:{layerType:"WebTiledLayer"}}}}_isSupportedLayer(e){return t(e)}_createSchema(){return new l(this)}};s=e([r],s);export{s as WebTileLayerExtension};let l=class extends i{_getPropertyBindings(){return{spatialReference:{property:"spatialReference",readonly:!0}}}};l=e([r],l);