@maptalks/transform-control
Advanced tools
+3
-2
| { | ||
| "name": "@maptalks/transform-control", | ||
| "version": "0.0.3", | ||
| "version": "0.1.0", | ||
| "description": "a plugin to control model's translate、rotation and scale", | ||
@@ -57,4 +57,5 @@ "license": "UNLICENSED", | ||
| "dependencies": { | ||
| "@maptalks/gl": "<2.0.0" | ||
| "@maptalks/gl": "<2.0.0", | ||
| "@maptalks/gltf-loader": "^0.4.0" | ||
| } | ||
| } |
+0
-11
@@ -71,13 +71,2 @@ # maptalks.TransformControl | ||
| #### Method : setMode(mode) | ||
| _set the mode of control_ | ||
| | Parameter | Type | Default | Description| | ||
| | ------------- |---------- |-------------|--------- | | ||
| | `mode` | String | `translate` | `translate`、`rotation` and `scale` alternative | | ||
| #### Method : getMode() | ||
| _get the mode of control_ | ||
| > returns : <br> | ||
| String: current mode of transform control | ||
| #### Method : transform(target) | ||
@@ -84,0 +73,0 @@ _specify a target to transform_ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
178605
397.3%684
451.61%3
50%94
-10.48%12
Infinity%+ Added
+ Added
+ Added