"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../loadPlugins.js"),t=require("../mixins/mixins.js"),i=require("../mixins/editable.js"),a=require("../mixins/circle.js"),r=t.default(a.default,i.default).extend({name:"AmapCircle",amapMeta:{initComponent:async(e,t)=>new e.Circle(t),editable:{events:["end","move","adjust"],async loadEditor(){await e.default("AMap.CircleEditor")},async initEditor(e,t,i){return new e.CircleEditor(t,i,this.draggable)},onEdit(e){const{target:t}=e,i=t.getCenter();this.$emit("update:center",[i.lng,i.lat]),this.$emit("update:radius",t.getRadius())}}}});exports.default=r;
