上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 87 下一页
摘要: const testGeoJOSN = () => { // 加载 GeoJSON 数据 map.addSource("geojson", { type: "geojson", data: china, generateId: true, }); map.addLayer({ id: "china" 阅读全文
posted @ 2023-09-27 16:10 槑孒 阅读(964) 评论(0) 推荐(0)
摘要: map.on("click", "china", (e) => { console.log(e); console.log(e.features); }); 很疑惑?事件在输出时,features给过滤掉了 阅读全文
posted @ 2023-09-27 15:23 槑孒 阅读(72) 评论(0) 推荐(0)
摘要: 度分秒(DMS)坐标转换为小数度(DD)坐标的计算公式如下: 纬度(Latitude)的转换: Decimal Degrees = Degrees + (Minutes/60) + (Seconds/3600) 其中,Decimal Degrees 表示小数度,Degrees 表示度数,Minute 阅读全文
posted @ 2023-09-25 15:44 槑孒 阅读(6253) 评论(0) 推荐(0)
摘要: 错误由来 im = im.resize((w, h), Image.ANTIALIAS) Traceback (most recent call last): AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' import 阅读全文
posted @ 2023-09-25 15:21 槑孒 阅读(1848) 评论(0) 推荐(0)
摘要: ImageMagick 是一个用于处理图像的开源软件套件,它提供了许多命令行工具和库,可以用于创建、编辑、转换和处理图像。以下是在常见操作系统上安装和使用 ImageMagick 的一般步骤: 在 Linux 上安装和使用 ImageMagick 安装 ImageMagick: 在大多数 Linux 阅读全文
posted @ 2023-09-25 14:26 槑孒 阅读(2943) 评论(0) 推荐(1)
摘要: 编辑init.gradle将以下内容复制进去 allprojects { repositories { mavenLocal() maven { name "Alibaba" ; url "https://maven.aliyun.com/repository/public" } maven { n 阅读全文
posted @ 2023-09-25 08:51 槑孒 阅读(114) 评论(0) 推荐(0)
摘要: 如果在访问Nginx服务器时看到了.gz压缩文件,但其中也包括了不是JavaScript文件的内容,这可能是由于Nginx配置未正确过滤或限制哪些文件应该进行gzip压缩所致。 在Nginx配置中,你可以使用gzip_types指令来指定哪些文件类型应该进行gzip压缩。 以下是一些步骤来确保只有J 阅读全文
posted @ 2023-09-22 09:51 槑孒 阅读(421) 评论(0) 推荐(0)
摘要: 下载Gradle wget https://services.gradle.org/distributions/gradle-8.3-bin.zip -P /tmp 上面这行命令会下载Gradle 6.4.1到 /tmp 路径下 然后解压文件到/opt/gradle目录 sudo unzip -d 阅读全文
posted @ 2023-09-19 11:25 槑孒 阅读(570) 评论(0) 推荐(0)
摘要: WSL2迁移至其他目录 要将 Windows Subsystem for Linux 2 (WSL 2) 迁移到其他目录,执行以下步骤: 创建新的 WSL 2 安装目录: 确保你的 WSL 2 子系统已关闭。在 PowerShell 中运行以下命令来停止 WSL 2:wsl --shutdown 在 阅读全文
posted @ 2023-09-18 17:08 槑孒 阅读(1145) 评论(0) 推荐(0)
摘要: win11 安装wsl Windows Subsystem for Linux(简称WSL)在Windows 10中首次亮相,现在在Windows 11中得到了更强的支持和改进。这个功能使用户可以在Windows操作系统上运行本地Linux二进制文件。下面将介绍WSL的安装方法。 前提条件 在安装W 阅读全文
posted @ 2023-09-18 16:15 槑孒 阅读(878) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 87 下一页