
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
基于openlayers4的二维地图工具类
本工具采用ES6语法,运用了less技术,使用时需要相应的包支持,在demo中给出了示例
#####安装:
npm install ol-util
#####引入:
import { MapTool, MapTrack } from 'ol-util/index.js'
MapTool: 地图标注、电子围栏、地图切换
MapTrack: 历史轨迹、实时轨迹
#####自定义图标
在libs/ol/base.js中根据实际项目UI设置图标
#####地图切换
在libs/ol/base.js中放开mapStore中已有的地图资源或自行新增地图资源
注:本工具直接从项目中剥离,暂未进行独立封装,使用时若不符合需求(图标、地图)请自行自定义修改
FAQs
基于openlayers4的二维地图工具类
The npm package ol-util receives a total of 6 weekly downloads. As such, ol-util popularity was classified as not popular.
We found that ol-util 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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.