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

**URL:** <https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161>\
**Category:** CesiumJS\
**Created:** [April 24, 2014, 8:33pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161 "2014-04-24T20:33:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Hunter](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scott_hunter/32/2006_2.png) [@Scott\_Hunter](https://community.cesium.com/u/Scott_Hunter)\
**Post date:** [April 24, 2014, 8:33pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/1 "2014-04-24T20:33:16Z")

</div>

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

[http://cesiumjs.org/2013/01/04/Cesium-Imagery-Layers-Tutorial/](http://cesiumjs.org/2013/01/04/Cesium-Imagery-Layers-Tutorial/)

---

<div class="post-metadata">

**Author:** ![sdelgado3982](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@sdelgado3982](https://community.cesium.com/u/sdelgado3982)\
**Post date:** [April 24, 2014, 9:03pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/2 "2014-04-24T21:03:00Z")

</div>

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

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

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

---

<div class="post-metadata">

**Author:** ![sdelgado3982](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@sdelgado3982](https://community.cesium.com/u/sdelgado3982)\
**Post date:** [April 24, 2014, 9:04pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/3 "2014-04-24T21:04:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Scott\_Hunter](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scott_hunter/32/2006_2.png) [@Scott\_Hunter](https://community.cesium.com/u/Scott_Hunter)\
**Post date:** [April 24, 2014, 9:14pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/4 "2014-04-24T21:14:00Z")

</div>

Is ‘[http://earth.localdomain](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](http://cesiumjs.org/Cesium/Build/Documentation/GoogleEarthImageryProvider.html)

---

<div class="post-metadata">

**Author:** ![sdelgado3982](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@sdelgado3982](https://community.cesium.com/u/sdelgado3982)\
**Post date:** [April 24, 2014, 9:28pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/5 "2014-04-24T21:28:43Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Scott\_Hunter](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scott_hunter/32/2006_2.png) [@Scott\_Hunter](https://community.cesium.com/u/Scott_Hunter)\
**Post date:** [April 24, 2014, 10:10pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/6 "2014-04-24T22:10:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sdelgado3982](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@sdelgado3982](https://community.cesium.com/u/sdelgado3982)\
**Post date:** [April 25, 2014, 1:48pm UTC](https://community.cesium.com/t/cesium-dev-how-to-use-mapserver-org-instead-of-bing/1161/7 "2014-04-25T13:48:29Z")

</div>

Great thanks clears things up!!
