npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

plot-ol

v1.0.0

Published

Example using OpenLayers with Rollup

Readme

PlotOL

说明

基于原作者cuifudong 博客地址https://blog.csdn.net/gispace OL3 改版。

基于OpenLayers6 (http://openlayers.org) 实现动态标绘API。

在线体验 http://61.155.169.52:8080/PlotOl/demo/index.html

现在已经支持IE

版本V1.0,实现的功能包括:

  • 标绘符号绘制;
  • 标绘符号编辑;
  • 实现的线状符号:弧线、曲线、折线、自由线;
  • 实现的面状符号:圆、椭圆、弓形、扇形、曲线面、集结地、多边形、自由面;
  • 实现的箭头符号:钳击、直箭头、细直箭头、突击方向、进攻方向、进攻方向(燕尾)、分队战斗行动、分队战斗行动(燕尾);

版本V1.1,实现的功能包括:

  • 全面支持移动端
  • 图元层级编辑
  • 图元样式,属性编辑
  • 实现序列化,可以按照自己的服务器存储格式修改序列化代码,实现保存和加载。

当前版本V1.1.1,实现的功能包括:

  • 增加文档工具,生成API文档(需要重新install才可以使用)npm run docs
  • 标绘图元新增disable,enable方法
  • 新增TrackingLayer类,可以用来绘制轨迹。POL.TrackingLayer

当前版本V1.1.2,实现的功能包括:

  • IE 支持 通过 npm run build-ie 再在应用html中引入 dist/polyfill.js 可以支持ie

演示截图

编译

npm install  安装
npm run start  开发者模式
npm run start-ie  开发者模式(ie)
npm run build  发布普通兼容性浏览器
npm run build-ie  发布兼容性ie版本
npm run docs  编译文档