下载:https://openlayers.org/download/
The recommended way to use OpenLayers is to work with the ol package(link). You can install the latest with npm:
建议使用方式为ol包。你可以使用npm来安装最新的:
npm install ol
Hosted builds for development
If you want to try out OpenLayers without downloading anything (not recommended for production), include the following in the head of your html page:
如果你不想下载任何东西,只是想尝试一下OpenLayers(不建议生产环境下这样做),包含如下内容在你的html网页的头部:
Downloads for the v6.4.3 release
Archive | Description |
---|---|
v6.4.3-dist.zip | Includes a full build of the library (ol.js ), a source map (ol.js.map ), and library CSS (ol.css with source map ol.css.map ). |
v6.4.3.zip | Includes all of the above plus examples, API docs, and sources. |
See the v6.4.3 release page for a changelog and any special upgrade notes.
For archives of previous releases, see the complete list of releases.