feat(SatelliteTrack): 增加高德卫星地图

This commit is contained in:
jiang teng 2024-05-17 11:56:22 +08:00
parent 6340c9aa28
commit b415fc1234
3 changed files with 3 additions and 3 deletions

View File

@ -13923,7 +13923,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2 45344 1.9879 4.6761 0000950 328.7503 178.5761 1.00272999 10962
BEIDOU-3 G3
1 45807U 20040A 23037.85365455 -.00000347 00000+0 00000+0 0 9999
2 45807 0.9369 314.6571 0008244 342.4957 257.2704 1.00264764 9772`);h_.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiYjZmMWM4Ny01YzQ4LTQ3MzUtYTI5Mi1hNTgyNjdhMmFiMmMiLCJpZCI6NjIwMjgsImlhdCI6MTYyNjY3MTMxNX0.5SelYUyzXWRoMyjjFvmFIAoPtWlJPQMjsVl2e_jQe-c";function m(){Aa.prototype.makeLabel=function(v){let O=0-new Date().getTimezoneOffset(),N=ie.addMinutes(v,O,new ie);return ie.toIso8601(N).slice(0,19)},new $a({url:"https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",minimumLevel:3,maximumLevel:18}),new $a({url:"http://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8",minimumLevel:3,maximumLevel:18}),n=new ri("cesiumContainer",{baseLayerPicker:!0,geocoder:!1,navigationHelpButton:!1,infoBox:!1});let _=0-new Date().getTimezoneOffset();n.animation.viewModel.timeFormatter=function(v,O){let N=ie.addMinutes(v,_,new ie);return ie.toIso8601(N).slice(11,19)},n.animation.viewModel.dateFormatter=function(v,O){let N=ie.addMinutes(v,_,new ie);return ie.toIso8601(N).slice(0,10)},ct.DEFAULT_VIEW_RECTANGLE=ge.fromDegrees(75,10,140,60)}function g(){const _=ie.fromIso8601(new Date().toISOString()),v=ie.addSeconds(_,i,new ie);n.clock.startTime=_.clone(),n.clock.stopTime=v.clone(),n.clock.currentTime=_.clone(),n.timeline.zoomTo(_,v),n.clock.multiplier=1,n.clock.shouldAnimate=!0,n.clock.clockRange=dp.LOOP_STOP}function p(_=""){if(_.length===0)return;let v=_.split(`\r
2 45807 0.9369 314.6571 0008244 342.4957 257.2704 1.00264764 9772`);h_.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiYjZmMWM4Ny01YzQ4LTQ3MzUtYTI5Mi1hNTgyNjdhMmFiMmMiLCJpZCI6NjIwMjgsImlhdCI6MTYyNjY3MTMxNX0.5SelYUyzXWRoMyjjFvmFIAoPtWlJPQMjsVl2e_jQe-c";function m(){Aa.prototype.makeLabel=function(O){let N=0-new Date().getTimezoneOffset(),V=ie.addMinutes(O,N,new ie);return ie.toIso8601(V).slice(0,19)};let _=new $a({url:"https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",minimumLevel:3,maximumLevel:18});new $a({url:"http://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8",minimumLevel:3,maximumLevel:18}),n=new ri("cesiumContainer",{imageryProvider:_,baseLayerPicker:!0,geocoder:!1,navigationHelpButton:!1,infoBox:!1});let v=0-new Date().getTimezoneOffset();n.animation.viewModel.timeFormatter=function(O,N){let V=ie.addMinutes(O,v,new ie);return ie.toIso8601(V).slice(11,19)},n.animation.viewModel.dateFormatter=function(O,N){let V=ie.addMinutes(O,v,new ie);return ie.toIso8601(V).slice(0,10)},ct.DEFAULT_VIEW_RECTANGLE=ge.fromDegrees(75,10,140,60)}function g(){const _=ie.fromIso8601(new Date().toISOString()),v=ie.addSeconds(_,i,new ie);n.clock.startTime=_.clone(),n.clock.stopTime=v.clone(),n.clock.currentTime=_.clone(),n.timeline.zoomTo(_,v),n.clock.multiplier=1,n.clock.shouldAnimate=!0,n.clock.clockRange=dp.LOOP_STOP}function p(_=""){if(_.length===0)return;let v=_.split(`\r
`),O=[],N=0,V=[];return v.forEach(k=>{N++,V.push(k),N===3&&(O.push(V.join(`\r
`)),V=[],N=0)}),O}function y(_=""){if(_.length===0)return;let v=_.split(`
`);console.log(v);let O=[],N=0,V=[];return v.forEach(k=>{N++,V.push(k),N===3&&(O.push(V.join(`\r

View File

@ -6,7 +6,7 @@
<link rel="icon" href="/satellite-track/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>satellite-track</title>
<script type="module" crossorigin src="/satellite-track/assets/index-b7d17c9e.js"></script>
<script type="module" crossorigin src="/satellite-track/assets/index-7761d18a.js"></script>
<link rel="stylesheet" href="/satellite-track/assets/index-c712abd4.css">
</head>

View File

@ -121,7 +121,7 @@ function initCesium() {
viewer = new Cesium.Viewer('cesiumContainer', {
// terrainProvider: Cesium.createWorldTerrain(), //
// imageryProvider: imgLayer,
imageryProvider: imgLayer,
baseLayerPicker: true,
geocoder: false,
navigationHelpButton: false,