随笔分类 -  GIS

摘要:import mapboxgl from "mapbox-gl"; export default class GridLayer { constructor(map) { this.map = map; this.gridSourceId = "grid-source"; this.gridLaye 阅读全文
posted @ 2024-08-07 16:29 小韓烟柳 阅读(91) 评论(0) 推荐(0) 编辑
摘要:1.初始化 import { MapboxOverlay } from "@deck.gl/mapbox"; import { LineLayer, GeoJsonLayer } from "@deck.gl/layers"; import { TripsLayer, Tile3DLayer } f 阅读全文
posted @ 2024-08-01 11:56 小韓烟柳 阅读(432) 评论(0) 推荐(0) 编辑
摘要:function fromDegrees(longitude, latitude, height = 0.0) { longitude = (longitude * Math.PI) / 180.0; latitude = (latitude * Math.PI) / 180.0; const ra 阅读全文
posted @ 2024-07-25 17:52 小韓烟柳 阅读(52) 评论(0) 推荐(0) 编辑
摘要:function fromCartesian(cartesian) { const oneOverRadii = { x: 1.0 / 6378137.0, y: 1.0 / 6378137.0, z: 1.0 / 6356752.3142451793 }; const oneOverRadiiSq 阅读全文
posted @ 2024-07-25 17:51 小韓烟柳 阅读(43) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示