随笔分类 - GIS
摘要:import mapboxgl from "mapbox-gl"; export default class GridLayer { constructor(map) { this.map = map; this.gridSourceId = "grid-source"; this.gridLaye
阅读全文
摘要:1.初始化 import { MapboxOverlay } from "@deck.gl/mapbox"; import { LineLayer, GeoJsonLayer } from "@deck.gl/layers"; import { TripsLayer, Tile3DLayer } f
阅读全文
摘要:function fromDegrees(longitude, latitude, height = 0.0) { longitude = (longitude * Math.PI) / 180.0; latitude = (latitude * Math.PI) / 180.0; const ra
阅读全文
摘要:function fromCartesian(cartesian) { const oneOverRadii = { x: 1.0 / 6378137.0, y: 1.0 / 6378137.0, z: 1.0 / 6356752.3142451793 }; const oneOverRadiiSq
阅读全文