background picture of the home page

Hi,Friend

临时 | 永久设置 npm 源

临时 | 永久设置 npm 源 临时使用 npm 源 如安装 lodash 包 npm install lodash --registry https://registry.npmmirror.com/ 查看当前的npm源 npm get registry 结果 PS C:\Users\2641

thumbnail of the cover of the post

Turf.js

Turf.js | 用于地理空间分析的 JavaScript 库 文档地址 内含详细使用教程 Turf.js中文网 Turf.js官网 Turf.js 介绍 Turf.js 是一个开源 JavaScript 库,它能够对地理空间数据执行操作。该库可在浏览器和 Node.js 环境中使用,提供一组用于

thumbnail of the cover of the post

Cesium 创建地图

vue3+vite+ceisum 使用教程 笔记 链接 基础环境配置 1. 安装 pnpm i cesium@1.99 vite-plugin-cesium 2. 修改vite.config.js⽂件, 添加cesium import { defineConfig } from 'vite' im

thumbnail of the cover of the post

OpenLayers API文档

OpenLayers API文档 OpenLayers API中文文档 Map —— map是openlayers的核心,包含图层、交互事件、UI控制元素等 View —— 用于管理地图视图 Layers —— 用于图层信息管理 Control —— UI控制器 Interactions —— 交互

thumbnail of the cover of the post

OpenLayers 动态绘制点, 线, 面, 图片

OpenLayers 动态绘制点, 线, 面, 图片, dom图标 可以在新的图层中绘制(推荐), 也可以在已有的图层中绘制, 预览: 1. 动态设置方式, 绘制图片 import VectorSource from "ol/source/Vector"; import VectorLayer fr

thumbnail of the cover of the post

OpenLayers 地图图源

OpenLayers 地图图源 Google 实景地图, 需代理 https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} 高德影像图层 https://webst01

thumbnail of the cover of the post

OpenLayers 移动视图, 控制视图平移

OpenLayers 移动视图, 控制视图平移 移动视图有平移的方法 控制语句 const view = map.value.getView() // 获取视图对象 const center = view.getCenter() // 获取当前视图中心坐标 view.setCenter([ce

thumbnail of the cover of the post

OpenLayers 坐标体系

OpenLayers 坐标体系 OpenLayers 坐标体系 projection 默认就是 EPSG:3857 EPSG:3857坐标系(投影坐标) 在openlayers 中默认的坐标就是google的摩卡托坐标,也就是我们经常看到的 EPSG:3857 坐标系。EPSG:3857 的数据一般

thumbnail of the cover of the post