[cesium-dev] How to use MapServer.org instead of Bing?

This tutorial shows how to configure the imagery used on the globe:

http://cesiumjs.org/2013/01/04/Cesium-Imagery-Layers-Tutorial/

Scott,

Thanks for replying.

I was following trying to follow this tutorial but specifically for the Google Earth map, I am trying to figure out how to display the globe based off the tutorial this is what I came with for the helloworld html but it does not work
here is my code if you can explain why its not why and maybe correct it I would greatly appreciate it.

<!DOCTYPE html>
<html lang="en">
<head>
  <!-- Use correct character set. -->
  <meta charset="utf-8">
  <!-- Tell IE to use the latest, best version (or Chrome Frame if pre-IE11). -->
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  <title>Hello World!</title>
  <script src="Cesium/Cesium.js"></script>
  <style>
      @import url(Cesium/Widgets/widgets.css);

      #cesiumContainer {
          position: absolute;
          top: 0;
          left: 0;
          height: 100%;
          width: 100%;
          margin: 0;
          overflow: hidden;
          padding: 0;
          font-family: sans-serif;
      }

      body {
          padding: 0;
          margin: 0;
          overflow: hidden;
      }
  </style>
</head>
<body>
  <div id="cesiumContainer"></div>
  <script>
  var widget = new Cesium.CesiumWidget('cesiumContainer', {
    imageryProvider : new Cesium.GoogleEarthImageryProvider({
      url : 'http://earth.localdomain',
      channel : 1008
    })
  });
    
  </script>
</body>
</html>

it just creates the space of the google earth globe but its empty

Is ‘http://earth.localdomain’ the correct URL for your local Google Earth Enterprise Server? Also check the channel parameter. See the documentation: http://cesiumjs.org/Cesium/Build/Documentation/GoogleEarthImageryProvider.html

Alright, I think I maybe a bit confused. I am just doing research on seeing how cesium interacts with the different imageryproviders, so I am trying them out, this is why I was confused specifically with the Google Earth Imagery Provider. Bing and ArcGis had URL that could point to without hosting the server myself.

To get Google Earth to work properly I need to host the Google Server myself is that correct?

Correct. Google does not allow third party applications to access the public Google Earth servers. Google Earth Enterprise is a paid product.

Great thanks clears things up!!