OpenLayers

分支8Tags269
文件最后提交记录最后更新时间
chore(deps): bump the actions group with 2 updates Bumps the actions group with 2 updates: [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) and [github/codeql-action](https://github.com/github/codeql-action). Updates `dawidd6/action-download-artifact` from 20 to 21 - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/v20...v21) Updates `github/codeql-action` from 4.35.2 to 4.35.3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v4.35.2...v4.35.3) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-version: '21' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: github/codeql-action dependency-version: 4.35.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>14 天前
Updates for the 10.9.0 release 1 个月前
Generate API docs for symbols with `@override` 26 天前
Merge pull request #17418 from zcernigoj/sentinelhub-support-webp Add support for setting response format in Sentinelhub17 天前
Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>16 天前
Update sponsors 2 年前
Merge pull request #17418 from zcernigoj/sentinelhub-support-webp Add support for setting response format in Sentinelhub17 天前
Remove lint and type problems 1 个月前
Merge pull request #17469 from ahocevar/tilegrid-implicit-minzoom Handle OGC tileMatrixSetLimits with minzoom19 天前
fix git using auto-crlf on windows causing prettier to error "remove CR" on every line 10 个月前
Scripts for generating the package and legacy build 7 年前
Move code of conduct to the root 5 年前
Details on conforming with the style guidelines 2 年前
Update test docs 1 年前
Add title to license to clarify that it is BSD 2-Clause The BSD 2-Clause License is a simplified version of the BSD 3-Clause License. This license was popularized by the FreeBSD project and is sometimes referred to as the "FreeBSD License" (see https://opensource.org/licenses/BSD-2-Clause and https://en.wikipedia.org/wiki/BSD_licenses#2-clause). To clarify that the OpenLayers License uses the BSD 2-Clause License template, this change adds "The 2-Clause BSD License" to the top of our license file. In addition, this change makes our license a verbatim copy of the template at https://opensource.org/licenses/BSD-2-Clause with only the copyright holders added. This change is not intended to change the project's license, only to clarify the template used for that license. See https://lists.osgeo.org/pipermail/openlayers-dev/2011-May/007555.html for the original motion to switch to the BSD 2-Clause License (also known as the FreeBSD License). 7 年前
Fix polyfills link 1 年前
Remove lint and type problems 1 个月前
Merge pull request #17481 from openlayers/dependabot/npm_and_yarn/development-minor-patch-4d22e1aab5 chore(deps-dev): bump the development-minor-patch group across 1 directory with 11 updates5 天前
chore(deps-dev): bump the development-minor-patch group across 1 directory with 11 updates Bumps the development-minor-patch group with 11 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.6.0` | `25.6.2` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.59.0` | `8.59.2` | | [eslint](https://github.com/eslint/eslint) | `10.2.1` | `10.3.0` | | [fs-extra](https://github.com/jprichardson/node-fs-extra) | `11.3.4` | `11.3.5` | | [marked](https://github.com/markedjs/marked) | `18.0.2` | `18.0.3` | | [ol-stac](https://github.com/moregeo-it/ol-stac) | `1.3.0` | `1.4.0` | | [pixelmatch](https://github.com/mapbox/pixelmatch) | `7.1.0` | `7.2.0` | | [puppeteer](https://github.com/puppeteer/puppeteer) | `24.42.0` | `24.43.0` | | [rollup](https://github.com/rollup/rollup) | `4.60.2` | `4.60.3` | | [semver](https://github.com/npm/node-semver) | `7.7.4` | `7.8.0` | | [webpack-sources](https://github.com/webpack/webpack-sources) | `3.4.0` | `3.4.1` | Updates `@types/node` from 25.6.0 to 25.6.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/parser` from 8.59.0 to 8.59.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.2/packages/parser) Updates `eslint` from 10.2.1 to 10.3.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/compare/v10.2.1...v10.3.0) Updates `fs-extra` from 11.3.4 to 11.3.5 - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.3.4...11.3.5) Updates `marked` from 18.0.2 to 18.0.3 - [Release notes](https://github.com/markedjs/marked/releases) - [Commits](https://github.com/markedjs/marked/compare/v18.0.2...v18.0.3) Updates `ol-stac` from 1.3.0 to 1.4.0 - [Release notes](https://github.com/moregeo-it/ol-stac/releases) - [Changelog](https://github.com/moregeo-it/ol-stac/blob/main/CHANGELOG.md) - [Commits](https://github.com/moregeo-it/ol-stac/compare/v1.3.0...v1.4.0) Updates `pixelmatch` from 7.1.0 to 7.2.0 - [Release notes](https://github.com/mapbox/pixelmatch/releases) - [Commits](https://github.com/mapbox/pixelmatch/compare/v7.1.0...v7.2.0) Updates `puppeteer` from 24.42.0 to 24.43.0 - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.42.0...puppeteer-v24.43.0) Updates `rollup` from 4.60.2 to 4.60.3 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v4.60.2...v4.60.3) Updates `semver` from 7.7.4 to 7.8.0 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.7.4...v7.8.0) Updates `webpack-sources` from 3.4.0 to 3.4.1 - [Release notes](https://github.com/webpack/webpack-sources/releases) - [Changelog](https://github.com/webpack/webpack-sources/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-sources/compare/v3.4.0...v3.4.1) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.6.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-minor-patch - dependency-name: "@typescript-eslint/parser" dependency-version: 8.59.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-minor-patch - dependency-name: eslint dependency-version: 10.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-minor-patch - dependency-name: fs-extra dependency-version: 11.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-minor-patch - dependency-name: marked dependency-version: 18.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-minor-patch - dependency-name: ol-stac dependency-version: 1.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-minor-patch - dependency-name: pixelmatch dependency-version: 7.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-minor-patch - dependency-name: puppeteer dependency-version: 24.43.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-minor-patch - dependency-name: rollup dependency-version: 4.60.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-minor-patch - dependency-name: semver dependency-version: 7.8.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-minor-patch - dependency-name: webpack-sources dependency-version: 3.4.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>7 天前
Fix type imports with stricter hints from tsconfig 2 个月前

OpenLayers

OpenLayers 是一款高性能、功能丰富的库,用于在网页上创建交互式地图。它能够显示来自任何源并在任何网页上加载的地图瓦片、矢量数据以及标记。OpenLayers 被开发出来以促进各类地理信息的使用。它是完全免费的开源 JavaScript 库,遵循 BSD 2-Clause 许可发布。

快速入门

安装 ol

npm install ol

仅导入您的应用程序所需的内容:

import Map from 'ol/Map';
import View from 'ol/View';
import TileLayer from 'ol/layer/Tile';
import XYZ from 'ol/source/XYZ';

new Map({
  target: 'map',
  layers: [
    new TileLayer({
      source: new XYZ({
        url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
      })
    })
  ],
  view: new View({
    center: [0, 0],
    zoom: 2
  })
});

查看以下示例,了解更多关于将 OpenLayers 与您的应用程序捆绑的细节:

若想了解在不使用基于 Node.js 的设置下快速原型设计的细节,请查看 Skypack 示例。

赞助商

OpenLayers 感谢各种形式的贡献。特别感谢我们的财政赞助商,他们对项目的持续维护作出贡献。


Pozi logo

Pozi 通过空间思考连接社区。 我们热爱 Openlayers,它是我们平台的核心部分。 https://pozi.com/ https://app.pozi.com/


yey'maps logo

yey'maps 是一个可扩展的云 GIS 套件,采用强大的 Openlayers API 和 GDAL 库开发而成。 https://www.yeymaps.io/


ela-compil logo

我们开发领先的物理安全信息管理系统(PSIM)软件。 OpenLayers 是我们地图引擎的核心,我们喜欢它! https://ela.pl/


Ubigu Oy logo

我们推动空间信息的整体利用和普及,以实现更合理规划、建设和管理的社会。 https://www.ubigu.fi/


Scribble Maps logo

创建自定义地图,并在房地产、工程、研究、商业、探索、建筑、制造等领域发现洞察。 https://www.scribblemaps.com/


如果您也有兴趣成为常规赞助商,请查看我们的 GitHub 赞助商页面Open Collective

TypeScript 支持

ol 包 包含自动生成的 TypeScript 声明文件,格式为 *.d.ts

支持的浏览器

OpenLayers 在全球使用率超过 1% 的所有现代浏览器上运行,包括 Chrome、Firefox、Safari 和 Edge。对于旧版浏览器,可能需要添加 polyfills(FastlyCloudflare)。

文档

查看 在线示例研讨会API 文档

Bug 反馈

请使用 GitHub issue 追踪器 反馈所有 bug 和功能请求。在创建新 issue 前,请快速搜索一下看问题是否已被报告。

参与贡献

如果您有兴趣参与贡献,请查看我们的 贡献指南

社区

测试状态

项目介绍

OpenLayers,这是一款功能强大的开源地图绘制与编辑工具,为用户提供了一个灵活的框架,以在网页上展示各种地图数据。【此简介由AI生成】

定制我的领域
38312.44 K3.17 K访问 GitHub

下载使用量

0

项目总下载次数(含Clone、Pull、 zip 包及 release 下载),每日凌晨更新

语言类型

JavaScript99.08%
CSS0.44%
Handlebars0.24%
TypeScript0.1%
Shell0.08%