Google Earth Enterprise doesn't work in Cesium Application.

Hi,

I am using GoogleEarthEnterprise in my cesium application. But it didn’t work.

Here is my code:

var geeMetadata = new Cesium.GoogleEarthEnterpriseMetadata(new Cesium.Resource({

url: ‘http://www.earthenterprise.org/3d’,

proxy: new Cesium.DefaultProxy(’/proxy/’)

}));

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

imageryProvider: new Cesium.GoogleEarthEnterpriseImageryProvider({

metadata: geeMetadata

}),

terrainProvider: new Cesium.GoogleEarthEnterpriseTerrainProvider({

metadata: geeMetadata

}),

baseLayerPicker: false

});

I have also tried :

var geeMetadata = new Cesium.GoogleEarthEnterpriseMapsProvider(new Cesium.Resource({

url: ‘http://www.earthenterprise.org/3d’,

proxy: new Cesium.DefaultProxy(’/proxy/’)

}));

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

imageryProvider: new Cesium.GoogleEarthEnterpriseImageryProvider({

metadata: geeMetadata

}),

terrainProvider: new Cesium.GoogleEarthEnterpriseTerrainProvider({

metadata: geeMetadata

}),

baseLayerPicker: false

});

I am getting the following error :

Failed to load resource: the server responded with a status of 404 (Not Found)

Failed to retrieve /proxy/?http%3A%2F%2Fwww.earthenterprise.org%2F3d%2FdbRoot.v5%3Foutput%3Dproto. Using defaults.

Failed to load resource: the server responded with a status of 404 (Not Found)

An error occurred in “y”: An error occurred while accessing /proxy/?http%3A%2F%2Fwww.earthenterprise.org%2F3d%2Fflatfile%3Fq2-0-q.1.

An error occurred in “S”: An error occurred while accessing /proxy/?http%3A%2F%2Fwww.earthenterprise.org%2F3d%2Fflatfile%3Fq2-0-q.1.

How to fix this?

Thanks

The problem is that URL is no longer active. If you have Google Earth Enterprise running locally or on your own server you should be able to load it in CesiumJS by adding that URL there instead.