R: Re: [cesium-dev] ol3_cesium my polygon float

Thank you
for your replay

I tried this
code but I obtain:

Uncaught
TypeError: Cannot read property ‘getGeometry’ of undefined

Thank you
again.

var ghiacciai = new ol.layer.Vector({ //aggiungo i ghiacciai

title: ‘Ghiacciai’,

visible:
true,

source:
new ol.source.Vector({

url:
‘data/ghiacciai.json’,

projection:
‘EPSG:3857’,

format:
new ol.format.GeoJSON()

                                                                                                                                                                        })

Paolo,

On a layer it is simply “ghiacciai.set(‘altitudeMode’,
‘clampToGround’);”.

Now a question:

I am surprised you include both ol.js and ol3cesium.js. Which version of OL3-Cesium are you using?

Guillaume