![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
openlayers相关操作
passing_travller
这个作者很懒,什么都没留下…
展开
-
设置中心经纬度,点击保存
设置中心经纬度 <style> .map { width: 100%; height: 400px; } </style> 当前的坐标:原创 2019-12-25 18:16:09 · 254 阅读 · 1 评论 -
保存点击鼠标之后获取的经纬度数据
鼠标经纬度 经度: 纬度: 当前绘制线的坐标: 确 定原创 2019-12-25 18:05:09 · 188 阅读 · 1 评论 -
几何形状更改
几何形状更改 几何类型 点 线 面 圆 无原创 2019-12-25 18:01:22 · 146 阅读 · 0 评论 -
设置图标位置
设置图标位置 <style> .map { width: 100%; height: 400px; } </style> var anchor = new ol.Feature({ geometry: new ol.geom.Point([106.62, 26.62...原创 2019-12-25 17:58:54 · 414 阅读 · 1 评论 -
拖拽和旋转
拖拽和旋转原创 2019-12-25 17:58:16 · 130 阅读 · 0 评论 -
限制地图缩放
<!doctype html> OpenLayers example My Map ##限制地图范围 <!doctype html> OpenLayers example My Map原创 2019-12-25 17:57:12 · 148 阅读 · 1 评论 -
自定义控件
<!doctype html> OpenLayers example My Map ##自适配区 <!doctype html> OpenLayers example My Map ##调动地图 Ope...原创 2019-12-25 17:56:02 · 131 阅读 · 1 评论 -
绘制圆形并显示坐标
<!doctype html> OpenLayers example My Map 当前绘制线的坐标:原创 2019-12-25 08:41:56 · 465 阅读 · 0 评论 -
设置图标所在位置
设置图标位置 <style> .map { width: 100%; height: 400px; } </style> var anchor = new ol.Feature({ geometry: new ol.geom.Point([106.62, 26.62...原创 2019-12-24 18:19:48 · 373 阅读 · 0 评论 -
获取当前鼠标所在位置
获取当前鼠标所在位置 <style> .map { width: 100%; height: 400px; } </style> 当前的坐标:原创 2019-12-24 18:18:18 · 558 阅读 · 1 评论 -
绘制图形并显示坐标
<!doctype html> OpenLayers example My Map 当前绘制线的坐标:原创 2019-12-24 09:06:14 · 326 阅读 · 0 评论 -
移动鼠标显示实时坐标
<!doctype html>原创 2019-12-24 09:05:36 · 515 阅读 · 0 评论 -
展示实时定位
展示实时定位 <style> .map { width: 100%; height:400px; } </style>原创 2019-12-24 09:05:00 · 144 阅读 · 0 评论 -
openlayers官网入门
openlayers相关操作 官网入门 <!doctype html>原创 2019-12-24 08:57:17 · 153 阅读 · 1 评论