Skip to content

Commit

Permalink
refactor: ♻️ update
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed May 6, 2023
1 parent a581478 commit bc90276
Show file tree
Hide file tree
Showing 4 changed files with 3,097 additions and 3,239 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"@turf/circle": "^6.5.0",
"@vue-cesium/components": "workspace:*",
"@vue-cesium/composables": "workspace:*",
"@vue-cesium/directives": "workspace:*",
Expand Down
9 changes: 4 additions & 5 deletions packages/composables/use-drawing/defaultOpts.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-10-18 13:48:30
* @LastEditTime: 2023-02-23 01:36:41
* @LastEditors: zouyaoji
* @LastEditTime: 2023-04-28 00:34:03
* @LastEditors: zouyaoji [email protected]
* @Description:
* @FilePath: \vue-cesium@next\packages\composables\use-drawing\defaultOpts.ts
* @FilePath: \vue-cesium\packages\composables\use-drawing\defaultOpts.ts
*/

import type { VcGeometryPolylineProps } from '@vue-cesium/components/geometries'
Expand Down Expand Up @@ -316,8 +316,7 @@ const rectangleDrawingDefault: VcDrawingOpts = Object.assign({}, polygonDrawingD
scale: 0.8,
horizontalOrigin: 1, // left
verticalOrigin: -1, // top,
pixelOffset: [5, 5],
text: '1dsa'
pixelOffset: [5, 5]
})
})

Expand Down
Loading

0 comments on commit bc90276

Please sign in to comment.