专栏目录: OpenLayers6入门教程汇总目录 前言 本章使用OpenLayers6实现加载船讯网航海地图。 二、依赖和使用 "ol": "^6.15.1" 使用npm安装依赖 npm install ol@6.15.1 使用Yarn安装依赖