
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@dvgis/cesium-map
Advanced tools
Cesium 地图插件,用于添加国内各大地图厂商的地图
使用前引入 Cesium 框架
NPM / YARN
npm install @dvgis/cesium-map
-----------------------------
yarn add @dvgis/cesium-map
require('@dvgis/cesium-map')
CDN
<script src="cesium-map/cesium.map.min.js"></script>
百度地图
var options = {
style: 'normal', // style: img、vec、normal、dark
crs: 'WGS84' // 使用84坐标系,默认为:BD09
}
viewer.imageryLayers.addImageryProvider(
new Cesium.BaiduImageryProvider(options)
)
腾讯地图
var options = {
style: 1 //style: img、1:经典
}
viewer.imageryLayers.addImageryProvider(
new Cesium.TencentImageryProvider(options)
)
天地图
var options = {
style: 'vec', //style: img、vec、vca、ter
key: ''
}
viewer.imageryLayers.addImageryProvider(new Cesium.TdtImageryProvider(options))
高德地图
var options = {
style: 'img', // style: img、elec、vca
crs: 'WGS84' // 使用84坐标系,默认为:GCJ02
}
viewer.imageryLayers.addImageryProvider(new Cesium.AmapImageryProvider(options))
谷歌地图
var options = {
style: 'img' //style: img、elec、ter
}
viewer.imageryLayers.addImageryProvider(
new Cesium.GoogleImageryProvider(options)
)
FAQs
<img
The npm package @dvgis/cesium-map receives a total of 21 weekly downloads. As such, @dvgis/cesium-map popularity was classified as not popular.
We found that @dvgis/cesium-map demonstrated a healthy version release cadence and project activity because the last version was released less than 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.