From 49c9fcac4bb6119b60ac63b4f31029586f185cd4 Mon Sep 17 00:00:00 2001 From: Zemledelec Date: Mon, 12 Aug 2024 20:52:00 +0400 Subject: [PATCH] Changed all example to the new GlobusRgbTerrain --- examples/baseLayers/baseLayers.html | 4 ++-- examples/billboards/billboards.html | 4 ++-- examples/billboardsDragging/billboardsDragging.html | 4 ++-- examples/billboardsOnTheGround/billboardsOnTheGround.html | 4 ++-- examples/cameraFly/cameraFly.html | 4 ++-- examples/circlesOnTheGround/circlesOnTheGround.html | 4 ++-- examples/clocks/clocks.html | 4 ++-- examples/customControl/customControl.html | 4 ++-- examples/disableLayerPicking/disableLayerPicking.html | 4 ++-- examples/drawingControl/drawingControl.html | 4 ++-- examples/elevationProfile/elevationProfile.html | 2 +- examples/geoImage/geoImage.html | 4 ++-- examples/geoImageDragging/geoImageDragging.html | 4 ++-- examples/geoObject/geoObject.html | 4 ++-- examples/geoTexture2d/geoTexture2d.html | 4 ++-- examples/geoVideo/geoVideo.html | 4 ++-- examples/geoidModel/geoidModel.html | 4 ++-- examples/heightFactor/heightFactor.html | 4 ++-- examples/kml/kml.html | 4 ++-- examples/layerAnimation/layerAnimation.html | 4 ++-- examples/layerFadingOpacity/layerFadingOpacity.html | 4 ++-- examples/layerHeight/layerHeight.html | 4 ++-- examples/layerOpacity/layerOpacity.html | 4 ++-- examples/layerPicking/layerPicking.html | 4 ++-- examples/layerSwitcher/layerSwitcher.html | 4 ++-- examples/layerZIndex/layerZIndex.html | 4 ++-- examples/lighting/lighting.html | 4 ++-- examples/markerOnTimer/markerontimer.html | 4 ++-- examples/npm/README.md | 4 ++-- examples/npm/index.js | 4 ++-- examples/pitchYawRoll/pitchYawRoll.html | 2 +- examples/pointPopup/pointPopup.html | 4 ++-- examples/polylineOnTheGround/polylineOnTheGround.html | 4 ++-- examples/polylines/polylines.html | 4 ++-- .../polylinesColorAnimation/polylinesColorAnimation.html | 4 ++-- examples/rays/rays.html | 4 ++-- examples/ruler/ruler.html | 4 ++-- .../sharedGlobusesNavigation/sharedGlobusesNavigation.html | 4 ++-- examples/skyBox/skyBox.html | 4 ++-- examples/strip/strip.html | 2 +- examples/sunActivity/sunActivity.html | 4 ++-- examples/terrainSwitch/terrainSwitch.html | 6 +++--- examples/vectorLayer/vectorLayer.html | 4 ++-- examples/wms/wms.html | 4 ++-- 44 files changed, 86 insertions(+), 86 deletions(-) diff --git a/examples/baseLayers/baseLayers.html b/examples/baseLayers/baseLayers.html index 55a1f05..7a66488 100644 --- a/examples/baseLayers/baseLayers.html +++ b/examples/baseLayers/baseLayers.html @@ -16,7 +16,7 @@ import { Globe, - GlobusTerrain, + GlobusRgbTerrain, XYZ, utils, OpenStreetMap, @@ -38,7 +38,7 @@ let globus = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [osm, sat], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/billboards/billboards.html b/examples/billboards/billboards.html index f143a48..68001f6 100644 --- a/examples/billboards/billboards.html +++ b/examples/billboards/billboards.html @@ -14,7 +14,7 @@ EntityCollection, LonLat, Globe, - GlobusTerrain, + GlobusRgbTerrain, Bing } from "../../external/og/lib/@openglobus/og.esm.js"; @@ -66,7 +66,7 @@ let globus = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [sat], atmosphereEnabled: true, resourcesSrc: "../../external/og/lib/@openglobus/res", diff --git a/examples/billboardsDragging/billboardsDragging.html b/examples/billboardsDragging/billboardsDragging.html index 110db6c..b86cde7 100644 --- a/examples/billboardsDragging/billboardsDragging.html +++ b/examples/billboardsDragging/billboardsDragging.html @@ -17,7 +17,7 @@ Vec2, Globe, Vector, - GlobusTerrain, + GlobusRgbTerrain, OpenStreetMap } from "../../external/og/lib/@openglobus/og.esm.js"; @@ -76,7 +76,7 @@ let globe = new Globe({ target: "earth", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [osm, pointLayer], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/billboardsOnTheGround/billboardsOnTheGround.html b/examples/billboardsOnTheGround/billboardsOnTheGround.html index 81e5301..ffd31de 100644 --- a/examples/billboardsOnTheGround/billboardsOnTheGround.html +++ b/examples/billboardsOnTheGround/billboardsOnTheGround.html @@ -16,7 +16,7 @@ Globe, wgs84, Vector, - GlobusTerrain, + GlobusRgbTerrain, OpenStreetMap, LonLat, math @@ -52,7 +52,7 @@ let globus = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [osm, pointLayer], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/cameraFly/cameraFly.html b/examples/cameraFly/cameraFly.html index 9548780..2b9ebb2 100644 --- a/examples/cameraFly/cameraFly.html +++ b/examples/cameraFly/cameraFly.html @@ -16,7 +16,7 @@ import { Globe, - GlobusTerrain, + GlobusRgbTerrain, XYZ, LonLat, Extent @@ -57,7 +57,7 @@ let globus = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [osm], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/circlesOnTheGround/circlesOnTheGround.html b/examples/circlesOnTheGround/circlesOnTheGround.html index 52281fa..6bb22df 100644 --- a/examples/circlesOnTheGround/circlesOnTheGround.html +++ b/examples/circlesOnTheGround/circlesOnTheGround.html @@ -15,7 +15,7 @@ import { Entity, Globe, - GlobusTerrain, + GlobusRgbTerrain, XYZ, Vector, math, @@ -41,7 +41,7 @@ const globe = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [osm, pointLayer], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/clocks/clocks.html b/examples/clocks/clocks.html index 38093cc..449021f 100644 --- a/examples/clocks/clocks.html +++ b/examples/clocks/clocks.html @@ -107,7 +107,7 @@ jd, Clock, Globe, - GlobusTerrain, + GlobusRgbTerrain, XYZ } from "../../external/og/lib/@openglobus/og.esm.js"; @@ -140,7 +140,7 @@ target: "globus", name: "Earth", layers: [osm], - terrain: new GlobusTerrain("OpenGlobus"), + terrain: new GlobusRgbTerrain("OpenGlobus"), resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" }); diff --git a/examples/customControl/customControl.html b/examples/customControl/customControl.html index 283c713..98928f4 100644 --- a/examples/customControl/customControl.html +++ b/examples/customControl/customControl.html @@ -26,7 +26,7 @@ import { Globe, - GlobusTerrain, + GlobusRgbTerrain, XYZ, LonLat, Vec3, @@ -108,7 +108,7 @@ let globus = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [osm], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/disableLayerPicking/disableLayerPicking.html b/examples/disableLayerPicking/disableLayerPicking.html index b368fcf..0679f93 100644 --- a/examples/disableLayerPicking/disableLayerPicking.html +++ b/examples/disableLayerPicking/disableLayerPicking.html @@ -25,7 +25,7 @@ import { Globe, - GlobusTerrain, + GlobusRgbTerrain, XYZ, Vector, } from "../../external/og/lib/@openglobus/og.esm.js"; @@ -81,7 +81,7 @@ var globus = new Globe({ target: "globus", name: "Earth", - terrain: new GlobusTerrain(), + terrain: new GlobusRgbTerrain(), layers: [sat, osm, vec], resourcesSrc: "../../external/og/lib/@openglobus/res", fontsSrc: "../../external/og/lib/@openglobus/res/fonts" diff --git a/examples/drawingControl/drawingControl.html b/examples/drawingControl/drawingControl.html index 40f4ea2..4d62dec 100644 --- a/examples/drawingControl/drawingControl.html +++ b/examples/drawingControl/drawingControl.html @@ -17,7 +17,7 @@ Globe, Extent, LonLat, - GlobusTerrain, + GlobusRgbTerrain, control } from "../../external/og/lib/@openglobus/og.esm.js"; @@ -39,7 +39,7 @@ target: "earth", name: "Earth", maxAltitude: 15000000, - terrain: new GlobusTerrain("19", { + terrain: new GlobusRgbTerrain("19", { maxZoom: 14 }), layers: [osm], diff --git a/examples/elevationProfile/elevationProfile.html b/examples/elevationProfile/elevationProfile.html index 3c24814..fbd87a4 100644 --- a/examples/elevationProfile/elevationProfile.html +++ b/examples/elevationProfile/elevationProfile.html @@ -18,7 +18,7 @@