I'm using OpenLayers 3.6.0. I want to use ol3-cesium. Ol3-cesium use cesium for glob visualization. I have a question:

In ol3-cesium, Can I see Ups and downs of land? In other words Does it accept DEM files?


Yes, you can use DEM. By default you will use cesiums default STK world terrain provider

There is an example how to enable terrain provider for cesium at ol3-cesium website

var ol3d = new olcs.OLCesium({map: map}); // map is the ol.Map instance
var scene = ol3d.getCesiumScene();
var terrainProvider = new Cesium.CesiumTerrainProvider({
  url: '//cesiumjs.org/stk-terrain/tilesets/world/tiles'
scene.terrainProvider = terrainProvider;

If you need to server your own terrain data check geoserver plugin

  • I've seen it before. But I can't understand how use geoserver plugin – Morteza Malvandi Jun 20 '15 at 6:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.