随笔分类 -  openlayer

摘要:1.环境 1.1. openalyer 版本6.3.1 1.2. jquery 版本 3.1.1 2.逻辑描述 2.1 首先根据点位划线。 2.2 坐标点位之间计算距离。 2.4 距离根据一个默认间距计算每个间距下的坐标进行保存。 2.5 创建图标。 2.6 创建定时器,进行图标位置设置,这样就出现 阅读全文
posted @ 2020-05-30 22:26 SimpleSmile 阅读(1965) 评论(0) 推荐(1)
摘要:最终效果: 1.参考官网地址:https://openlayers.org/en/latest/examples/jsts.html 官网默认坐标系是:3857 2.版本: 2.1 openlayer 版本:6.3.1 //js地图操作必要 2.2 jsts 版本:https://unpkg.com 阅读全文
posted @ 2020-05-28 10:01 SimpleSmile 阅读(2037) 评论(2) 推荐(0)