🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@maptalks/transform-control

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maptalks/transform-control - npm Package Compare versions

Comparing version
0.0.3
to
0.1.0
+3
-2
package.json
{
"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"
}
}

@@ -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