New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wework/floormap.gl

Package Overview
Dependencies
Maintainers
21
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wework/floormap.gl - npm Package Compare versions

Comparing version 0.8.5-rc1 to 0.8.5-rc2

4

package.json
{
"name": "@wework/floormap.gl",
"version": "0.8.5-rc1",
"version": "0.8.5-rc2",
"module": "dist/index.es.js",

@@ -71,4 +71,4 @@ "main": "dist/index.js",

"three-line-2d": "^1.1.6",
"three.textsprite": "18.10.24"
"three.texttexture": "19.0.0"
}
}

@@ -286,7 +286,7 @@ # floormap.gl

| Name | Type | Description |
| ------------- | ------- | ------------------------------------------------------------------------ |
| zoomLevel | number | zoom level of the camera view, default is `1` |
| enableRotate | boolean | to enable to control and rotate the camera view angle, default is `true` |
| maxPolarAngle | number | max horizontal rotation of the camera in degree, default is `90` |
| Name | Type | Description |
| ------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| zoomLevel | number | zoom level of the camera view, default is `1` |
| enableRotate | boolean | to enable to control and rotate the camera view angle, default is `true` |
| maxPolarAngle | number | max horizontal rotation of the camera in degree, default is `90`. If you set it to `0` it will disable the camera to rotate in 3D view |

@@ -304,2 +304,3 @@ # List of APIs in floormap.gl

- [setCameraViewAngle](#setCameraViewAngle)
- [setMaxCameraViewAngle](#setMaxCameraViewAngle)
- [createInstancedMesh](#createInstancedMesh)

@@ -431,2 +432,7 @@ - [addToInstancedMesh](#addToInstancedMesh)

| Parameters | Type | Description |
| --------------- | ------ | ---------------------------------------------------------- |
| polarAngle | number | rotation angle in 3d view, default is `0` degree |
| azimuthAngle | number | rotation angle in 2d view, default is `0` degree |
###### Example:

@@ -440,2 +446,22 @@

### setMaxCameraViewAngle
Set the maximum camera rotation view angle
`.setMaxCameraViewAngle({ maxPolarAngle: Number, maxAzimuthAngle: Number })`
| Parameters | Type | Description |
| --------------- | ------ | ---------------------------------------------------------- |
| maxPolarAngle | number | how far you can rotate in 3d view, default is `90` degree |
| maxAzimuthAngle | number | how far you can rotate in 2d view, default is `360` degree |
###### Example:
```javascript
renderer.setMaxCameraViewAngle({ maxPolarAngle: 90, maxAzimuthAngle: 360 })
renderer.setMaxCameraViewAngle({ maxPolarAngle: 0 }) // Here is one way to disable 3D view
```
---
### getIdsByTags

@@ -442,0 +468,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc