"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./mixins.js"),r=require("../../utils/amap-helpers.js"),t=require("./props.js"),s=require("./geometry.js"),a=e.default(s.plane).extend({props:{center:t.defineProp({type:Array,clone:!0,deep:!0,equals:r.theSamePair,setter(e,t){if(!t)return;const s=e;if(this.$props.draggable||this.$props.editable){const e=r.lngLat2Array(s.getCenter());if(r.nearPair(t,e))return}s.setCenter(new window.AMap.LngLat(t[0],t[1]))},getter(e){const t=e.getCenter();return r.lngLat2Array(t)},events:["dragging","dragend"]}),radius:t.defineProp({type:Number,setter:"setRadius"})}});exports.default=a;
