Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 866 Bytes

OpenLayers.md

File metadata and controls

19 lines (15 loc) · 866 Bytes

OpenLayers

OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).

OpenLayers 使在任何网页中放置动态地图变得容易。它可以显示从任何来源加载的地图图块、矢量数据和标记。 OpenLayers 的开发旨在进一步使用各种地理信息。它是完全免费的开源 JavaScript,基于 BSD 2-clause (FreeBSD)开源协议。

OpenLayers - Welcome

npm create ol-app my-app
cd my-app
npm start

Note

node 版本须 14+

运行成功会提示在 http://localhost:5173/ 访问地图。