@geoscene/core 4.26.5 → 4.26.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/support/groundUtils.js +1 -1
package/package.json
CHANGED
package/support/groundUtils.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.geoscene.cn/4.26/geoscene/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import e from"../Ground.js";import r from"../core/Logger.js";import{ensureType as o}from"../core/accessorSupport/ensureType.js";const i={"world-elevation":{id:"worldElevation",url:"//links.geoscene.cn/geoscene/rest/services/WorldElevation3D/Terrain3D/ImageServer",layerType:"ArcGISTiledElevationServiceLayer"},"world-topobathymetry":{id:"worldTopoBathymetry",url:"//links.geoscene.cn/geoscene/rest/services/WorldElevation3D/TopoBathy3D/ImageServer",layerType:"ArcGISTiledElevationServiceLayer"}};function t(t){let a=null;if("string"==typeof t)if(t in i){const r=i[t];a=new e({resourceInfo:{data:{layers:[r]}}})}else r.getLogger("geoscene.support.groundUtils").warn(`Unable to find ground definition for: ${t}. Try "world-elevation"`);else a=o(e,t);return a}export{t as ensureType,i as groundElevationLayers};
|
|
5
|
+
import e from"../Ground.js";import r from"../core/Logger.js";import{ensureType as o}from"../core/accessorSupport/ensureType.js";const i={"world-elevation":{id:"worldElevation",url:"//links.geoscene.cn/geoscene/rest/services/WorldElevation3D/Terrain3D/ImageServer",layerType:"ArcGISTiledElevationServiceLayer"},"world-topobathymetry":{id:"worldTopoBathymetry",url:"//links.geoscene.cn/geoscene/rest/services/elevation3d/WorldElevation3D/TopoBathy3D/ImageServer",layerType:"ArcGISTiledElevationServiceLayer"}};function t(t){let a=null;if("string"==typeof t)if(t in i){const r=i[t];a=new e({resourceInfo:{data:{layers:[r]}}})}else r.getLogger("geoscene.support.groundUtils").warn(`Unable to find ground definition for: ${t}. Try "world-elevation"`);else a=o(e,t);return a}export{t as ensureType,i as groundElevationLayers};
|