- 博客(4)
- 收藏
- 关注
原创 Cesium中的几种坐标和相互转换
Cesium中的几种坐标和相互转换1、平面坐标系(Cartesian2)new Cesium.Cartesian2(x, y)2、笛卡尔空间直角坐标系-世界坐标(Cartesian3)new Cesium.Cartesian3(x, y, z)3、弧度(Cartographic)new Cesium.Cartographic(longitude, latitude, height) 注:这里的经纬度是用弧度表示的,经纬度其实就是角度。弧度即角度对应弧长是半径的倍数。
2022-04-15 17:02:18
9988
4
原创 tomcat跨域配置
1、引用跨域包cors-filter-2.4.jar、java-property-utils-1.9.1.jar2、修改配置文件,路径 【tomcat安装目录】\conf\web.xml,根节点追加如下配置3、重启tomcat生效 <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcom
2022-04-15 14:54:29
4693
原创 Cesium加载百度注记图层巨坑填埋方案
Cesium 添加百度注记图层function BaiduImageryProvider(options) { this._errorEvent = new Cesium.Event(); this._tileWidth = 256; this._tileHeight = 256; this._maximumLevel = 19; this._minimumLevel = 1; let southwestInMeters = new Cesium.Carte
2021-01-04 16:09:23
1273
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人