Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@dvgis/cesium-widget
Advanced tools
Cesium-Widget is mainly used to load common map widgets
CDN
<!--Plugins Package-->
<script src="libs/dc-sdk/plugins/dc.plugins.min.js"></script>
NPM / YARN
yarn add @dvgis/cesium-widget
npm install @dvgis/cesium-widget
import CesiumWidget from 'dvgis/cesium-widget'
import 'dvgis/cesium-widget/dist/cesium.widget.min.css'
viewer.extend(CesiumWidget)
viewer.compass.enabled = true
viewer.contextMenu.enabled = true
viewer.contextMenu.addMenu('测试',()=> { alert('测试') } )
viewer.distanceLegend.enabled = true
viewer.hawkeyeMap.enabled = true
viewer.hawkeyeMap.addImagery(new Cesium.BaiduImageryProvider())
viewer.loadingMask.enabled = true
viewer.locationBar.enabled = true
viewer.mapSplit.enabled = true
viewer.mapSplit.addImagery(new Cesium.BaiduImageryProvider(),Cesium.ImagerySplitDirection.RIGHT)
// Popup the enabled is true
viewer.popup.showAt(Cesium.Cartesian3.fromDegrees(120.121,31.121),'test')
viewer.popup.hide()
viewer.tooltip.enabled = true
viewer.tooltip.showAt(new Cesium.Cartesian2(100,20),'test')
viewer.tooltip.hide()
viewer.zoomController.enable= true
Layout using the default layout, according to the project can set their own css style
FAQs
Cesium-Widget is mainly used to load common map widgets
The npm package @dvgis/cesium-widget receives a total of 3 weekly downloads. As such, @dvgis/cesium-widget popularity was classified as not popular.
We found that @dvgis/cesium-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.