"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../mixins/mixins.js"),s=require("../../utils/amap-helpers.js"),r=require("../mixins/props.js"),a=require("../mixins/methods.js"),t=require("./base.js"),i=require("../../utils/safe-get.js"),n=e.default(t.default).extend({name:"AmapCanvasLayer",amapMeta:{slot:!0,async initComponent(e,s){const r=i.default(this,"$slots.default.0.elm");if(!r||"CANVAS"!==r.tagName)throw this.$amapLogger.warn("slot内容必须是canvas"),new Error;return s.canvas=r,new e.CanvasLayer(s)}},props:{bounds:r.defineProp({type:Array,transform:s.makeBounds})},methods:{reFresh:a.defineMethod("reFresh")}});exports.default=n;
