npm

ol

OpenLayers mapping library

版本 1已同步 1文件 160 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

推荐接入
安全分
88
等待安全扫描
扫描覆盖
0%
0 / 160 文件
高危文件
0
0 条 critical
待复核
0
外联、混淆、敏感行为
推荐入口
暂无浏览器入口
SRI 待确认
SRI 缺失 0
当前版本 10.9.0
160 文件
159 JS / 1 CSS / 0 WASM
未发现阻断级风险
可在下方文件列表中查看原始构建产物
当前版本 160 个文件,1 个入口候选。未发现可疑外联域名。
使用路径
01确认版本

固定到 10.9.0,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

暂无可直接接入的浏览器入口文件,可在文件列表中查看原始构建产物。
1版本
160文件
10.9.0最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
1.2 KB
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/ol/10.9.0/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/ol/10.9.0/index.js" integrity="sha256-KW6a/k0zMOuF/Lk2M82dI0CVacARGvA4eLluWyADpD4=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/ol/10.9.0/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 10.9.0,展示 160 / 160 个文件。
ol/10.9.0/index.js
JS
1.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/array.js
JS
6.4 KB
SRI ready
未分级
0 请求
ol/10.9.0/asserts.js
JS
257 B
SRI ready
未分级
0 请求
ol/10.9.0/centerconstraint.js
JS
2.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/Collection.js
JS
7.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/CollectionEventType.js
JS
392 B
SRI ready
未分级
0 请求
ol/10.9.0/color.js
JS
8.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/colorlike.js
JS
3.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/console.js
JS
1.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/control.js
JS
694 B
SRI ready
未分级
0 请求
ol/10.9.0/control/Attribution.js
JS
10.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/control/Control.js
JS
4.4 KB
SRI ready
未分级
0 请求
ol/10.9.0/control/defaults.js
JS
2.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/control/FullScreen.js
JS
10.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/coordinate.js
JS
13.4 KB
SRI ready
未分级
0 请求
ol/10.9.0/css.js
JS
3.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/DataTile.js
JS
4.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/Disposable.js
JS
540 B
SRI ready
未分级
0 请求
ol/10.9.0/dom.js
JS
6.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/easing.js
JS
1.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/events.js
JS
3.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/events/condition.js
JS
10.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/events/Event.js
JS
1.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/events/EventType.js
JS
734 B
SRI ready
未分级
0 请求
ol/10.9.0/expr/cpu.js
JS
18.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/expr/expression.js
JS
34.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/expr/gpu.js
JS
17.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/extent.js
JS
23.9 KB
SRI ready
未分级
0 请求
ol/10.9.0/Feature.js
JS
10.4 KB
SRI ready
未分级
0 请求
ol/10.9.0/featureloader.js
JS
5.9 KB
SRI ready
未分级
0 请求
ol/10.9.0/format.js
JS
972 B
SRI ready
未分级
0 请求
ol/10.9.0/format/EsriJSON.js
JS
17.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/Feature.js
JS
13.9 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/filter.js
JS
9.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/And.js
JS
429 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/Bbox.js
JS
984 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/Comparison.js
JS
631 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/ComparisonBinary.js
JS
906 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/Contains.js
JS
660 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/Disjoint.js
JS
666 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/During.js
JS
639 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/DWithin.js
JS
922 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/EqualTo.js
JS
584 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/Filter.js
JS
571 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/GreaterThan.js
JS
523 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/GreaterThanOrEqualTo.js
JS
568 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/Intersects.js
JS
672 B
SRI ready
未分级
0 请求
ol/10.9.0/format/filter/IsBetween.js
JS
734 B
SRI ready
未分级
0 请求
ol/10.9.0/format/GeoJSON.js
JS
18.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/GML.js
JS
954 B
SRI ready
未分级
0 请求
ol/10.9.0/format/GML2.js
JS
23.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/GML3.js
JS
36.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/GML32.js
JS
10.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/GMLBase.js
JS
19.9 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/GPX.js
JS
31.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/IGC.js
JS
6.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/format/IIIFInfo.js
JS
14.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/functions.js
JS
1.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/Geolocation.js
JS
11.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom.js
JS
698 B
SRI ready
未分级
0 请求
ol/10.9.0/geom/Circle.js
JS
8.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/area.js
JS
1.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/center.js
JS
814 B
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/closest.js
JS
8.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/contains.js
JS
3.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/deflate.js
JS
2.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/flip.js
JS
873 B
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/geodesic.js
JS
5.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/inflate.js
JS
2.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/interiorpoint.js
JS
3.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/interpolate.js
JS
5.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/flat/intersectsextent.js
JS
4.9 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/Geometry.js
JS
10.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/geom/GeometryCollection.js
JS
9.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/has.js
JS
2.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/Image.js
JS
9.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/ImageCanvas.js
JS
2.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/ImageState.js
JS
142 B
SRI ready
未分级
0 请求
ol/10.9.0/ImageTile.js
JS
6.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction.js
JS
1.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DblClickDragZoom.js
JS
7.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/defaults.js
JS
5.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DoubleClickZoom.js
JS
1.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DragAndDrop.js
JS
8.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DragBox.js
JS
8.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DragPan.js
JS
5.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DragRotate.js
JS
3.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DragRotateAndZoom.js
JS
3.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/DragZoom.js
JS
2.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/Draw.js
JS
50.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/Extent.js
JS
18.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/interaction/Interaction.js
JS
4.9 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/Base.js
JS
12.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/BaseImage.js
JS
2.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/BaseTile.js
JS
6.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/BaseVector.js
JS
12.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/Flow.js
JS
14.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/Graticule.js
JS
36.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/Group.js
JS
11.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/Heatmap.js
JS
14.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/layer/Image.js
JS
1.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/ol.css
CSS
6.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/pointer/EventType.js
JS
359 B
SRI ready
未分级
0 请求
ol/10.9.0/proj/epsg3857.js
JS
3.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/proj/epsg4326.js
JS
1.7 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/Box.js
JS
3.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas.js
JS
14.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/Builder.js
JS
20.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/BuilderGroup.js
JS
2.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/Executor.js
JS
43.4 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/ExecutorGroup.js
JS
16.3 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/hitdetect.js
JS
7.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/ImageBuilder.js
JS
8.1 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/Immediate.js
JS
35.0 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/canvas/Instruction.js
JS
742 B
SRI ready
未分级
0 请求
ol/10.9.0/render/Event.js
JS
1.5 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/EventType.js
JS
1.6 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/Feature.js
JS
13.8 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/webgl/bufferUtil.js
JS
9.2 KB
SRI ready
未分级
0 请求
ol/10.9.0/render/webgl/compileUtil.js
JS
7.4 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。