1.下载proj4.js文件  https://www.bootcdn.cn/proj4js/ 引入到需要的html中,可以直接复制线上地址,但是最好下载下来存到本地,没找到直接下载js的地方,我预览js文件,全部复制到自己新建的js中。

2.  查找坐标系定义  http://epsg.io/

openlayers 投影转换proj4js

点进去找到下面的,复制

openlayers 投影转换proj4js

粘贴到html页面中

 

openlayers 投影转换proj4js

openlayers 投影转换proj4js

相关文章:

  • 2021-09-29
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
  • 2021-06-18
  • 2021-07-28
猜你喜欢
  • 2021-11-28
  • 2021-12-13
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案