# OpenLayers 3 and Cesium

**URL:** <https://community.cesium.com/t/openlayers-3-and-cesium/1709>\
**Category:** CesiumJS\
**Created:** [November 24, 2014, 7:14pm UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709 "2014-11-24T19:14:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [November 24, 2014, 7:14pm UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/1 "2014-11-24T19:14:06Z")

</div>

Since the early days of Cesium, there has been interest in OpenLayers/Cesium interoperability. Good news, the OL3 folks just released OL3-Cesium. Check out

> [http://cesiumjs.org/2014/11/18/OpenLayers3-adds-Cesium/](http://cesiumjs.org/2014/11/18/OpenLayers3-adds-Cesium/)

I have not personally developed with this, but am happy to see it and curious to see what folks think.

Patrick

---

<div class="post-metadata">

**Author:** ![Guillaume\_Beraudo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/guillaume_beraudo/32/2985_2.png) [@Guillaume\_Beraudo](https://community.cesium.com/u/Guillaume_Beraudo)\
**Post date:** [November 25, 2014, 8:04am UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/2 "2014-11-25T08:04:47Z")

</div>

Hi Patrick,

Live examples are available at  
[http://openlayers.org/ol3-cesium/examples/](http://openlayers.org/ol3-cesium/examples/)

There is also some WIP on the 2D / 3D transition at  
[http://dev.camptocamp.com/files/gberaudo/ol3-cesium-demo/examples/gmap.html](http://dev.camptocamp.com/files/gberaudo/ol3-cesium-demo/examples/gmap.html)

Guillaume Beraudo  
Camptocamp Engineer

---

<div class="post-metadata">

**Author:** ![Poul\_Sorensen](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@Poul\_Sorensen](https://community.cesium.com/u/Poul_Sorensen)\
**Post date:** [November 25, 2014, 9:50pm UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/3 "2014-11-25T21:50:37Z")

</div>

Looks awesome. Is there any more information avaible? blog posts or announcements. is the code on github 🙂

---

<div class="post-metadata">

**Author:** ![Guillaume\_Beraudo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/guillaume_beraudo/32/2985_2.png) [@Guillaume\_Beraudo](https://community.cesium.com/u/Guillaume_Beraudo)\
**Post date:** [November 25, 2014, 10:24pm UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/4 "2014-11-25T22:24:39Z")

</div>

Hi Poul,

The source is on github at [https://github.com/openlayers/ol3-cesium](https://github.com/openlayers/ol3-cesium) .

Camptocamp announcement is at [http://www.camptocamp.com/en/actualite/ol3-cesium-open-source-release/](http://www.camptocamp.com/en/actualite/ol3-cesium-open-source-release/)

Guillaume Beraudo  
Camptocamp Engineer

---

<div class="post-metadata">

**Author:** ![Poul\_Sorensen](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@Poul\_Sorensen](https://community.cesium.com/u/Poul_Sorensen)\
**Post date:** [November 25, 2014, 11:28pm UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/5 "2014-11-25T23:28:39Z")

</div>

Thanks. Looks very interesting.

What projections are supported? epsg:3857/4326, any custom projections ? I guess its limited to what cesium supports (my knowledge on cesium is limited as of now).

What is the general idea behind it. Take all sources/layers configured in ol3 and wire them up in cesium on the fly?

---

<div class="post-metadata">

**Author:** ![Poul\_Sorensen](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@Poul\_Sorensen](https://community.cesium.com/u/Poul_Sorensen)\
**Post date:** [November 25, 2014, 11:36pm UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/6 "2014-11-25T23:36:06Z")

</div>

And again, just vent over the examples, really awesome work guys. Big Thumbs up.

---

<div class="post-metadata">

**Author:** ![Guillaume\_Beraudo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/guillaume_beraudo/32/2985_2.png) [@Guillaume\_Beraudo](https://community.cesium.com/u/Guillaume_Beraudo)\
**Post date:** [November 26, 2014, 8:58am UTC](https://community.cesium.com/t/openlayers-3-and-cesium/1709/7 "2014-11-26T08:58:37Z")

</div>

Hi,

Cesium supports raster layers in EPSG:3857 and EPSG:4326; Ol3-Cesium  
will automatically synchronize layers in these projections.

Other projections will only be visible in the Ol3 map. However, adding  
an equivalent layer to the Cesium scene will do the trick.

Vector layers are always reprojected on the fly from the Ol3 map  
(any projection) to EPSG:4326 and may be positioned in 3D.

Creating and configuring a Cesium globe from an Ol3 map is an important  
task. Then there is also shared selection, view/camera synchronization...
