LiquidGalaxyLAB / liquid-galaxy

Liquid Galaxy core.
Apache License 2.0
13 stars 26 forks source link

How to update the version of Chrome? #17

Open Gia37 opened 1 year ago

Gia37 commented 1 year ago

I try to open a project in liquid galaxy on the ArcGis web page, it lets me enter the username and password, navigate the page but when I want to open a project the screens remain blank. I checked and the version of Chrome it has is 75, I think that may be it but I tried to update the version from the servers and it reverts the update, could the problem be if Chrome is outdated? o Does anyone know how to view ArcGis Online from the liquid galaxy screens?

ParamThakkar123 commented 1 year ago

Here is one way to view ArcGIS Online content on a Liquid Galaxy display:

// Set up CesiumJS on the Liquid Galaxy 
const viewer = new Cesium.Viewer('cesiumContainer');

// Add the ArcGIS terrain provider
const terrainProvider = new Cesium.ArcGISTiledElevationTerrainProvider({
  url: 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer'
});
viewer.terrainProvider = terrainProvider;

// Add the ArcGIS world imagery layer
const imageryProvider = new Cesium.ArcGISImageServerTerrainProvider({
  url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
});
const imageryLayer = viewer.imageryLayers.addImageryProvider(imageryProvider);

// Set initial view
viewer.scene.camera.setView({
  destination: Cesium.Cartesian3.fromDegrees(-117.16, 32.71, 15000.0) 
});

The key steps are:

  1. Set up CesiumJS on the Liquid Galaxy
  2. Add ArcGIS terrain and imagery providers
  3. Configure initial view location

This will display the ArcGIS Online global imagery and terrain in the Liquid Galaxy system. You can then navigate and explore it in 3D.