
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ido-team/map-engine
Advanced tools
```javascript @param divId const instance = new window.IdoMapInstance("map") ```
##地图渲染层API
@param divId
const instance = new window.IdoMapInstance("map")
@param settings 完整数据集或者地图code
renderMap(settings)
@param tileName 瓦片组名称
switchTileLayer(tileName)
@param layers 图层id数组或者对象数组 [id] | [{id: '', request?: {params?: {}, data?: {}}]
参数示例:
[
123,
{
id: '123',
request: {
data: {
enterprise_id: '456'
}
}
},
{
id: '123',
request: {
params: {
enterprise_id: '456'
}
}
}
]
@param replaceAll 可选参数 默认true 为替换渲染 false为追加渲染
renderMapLayer(layers, replaceAll)
@param layers 同4方法
renderStaticMapLayer(layers)
@param layerIds 图层id数组
@param remove 可选参数 默认false 是否从数据集中删除
removeMapLayers(layerIds, remove)
@param layers 参数同4方法
addMapLayer(layers)
@param zoom 层级
setZoom(zoom)
@param latlng 经纬度对象
@param zoom 可选参数 层级
flyTo(latlng, zoom?)
getMapInstance()
destroyed()
##地图渲染层图层数据格式
过滤器最后返回数据格式
@params config 可选参数 热力图配置 以下为默认配置
@params data 接口返回坐标集
return {
config: {
radius: 0.001,
maxOpacity: 0.8,
scaleRadius: true,
latField: "lat",
lngField: "lng",
valueField: "count",
useLocalExtrema: true,
gradient: {
0.99: "rgb(255, 167, 7)",
0.85: "#ffcd04",
0.5: "#2dc01d",
0: "#00b4ff",
},
max: 100
},
data: [
{
lat: '123',
lng: '456',
count: 100
}
]
}
FAQs
```javascript @param divId const instance = new window.IdoMapInstance("map") ```
The npm package @ido-team/map-engine receives a total of 23 weekly downloads. As such, @ido-team/map-engine popularity was classified as not popular.
We found that @ido-team/map-engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 open source maintainers 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.