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()
})