"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../loadPlugins.js"),t=require("../mixins/mixins.js"),r=require("../mixins/props.js"),s=require("./base.js"),i=t.default(s.default).extend({name:"AmapDistrictLayerProvince",amapMeta:{prepare:()=>e.default("AMap.DistrictLayer"),initComponent:async(e,t)=>("soc"in t&&(t.SOC=t.soc,delete t.soc),new e.DistrictLayer.Province(t))},props:{styles:r.defineProp({type:Object,setter:"setStyles"}),depth:{type:Number},adcode:r.defineProp({type:Array,deep:!0,setter:"setDistricts"})},methods:{getDistrictByContainerPos(e){return Array.isArray(e)&&(e=new AMap.Pixel(e[0],e[1])),this.component.getDistrictByContainerPos(e)}}});exports.default=i;
