Skip to content

Commit

Permalink
Migrate kml example to new Cesium API
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Mar 29, 2016
1 parent a59224e commit a33e591
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/kml.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ scene.terrainProvider = terrainProvider;

ol3d.getDataSources().add(Cesium.KmlDataSource.load(
'https://api3.geo.admin.ch/ogcproxy?url=' +
'https%3A%2F%2Fdav0.bgdi.admin.ch%2Fbazl_web%2FActive_Obstacles.kmz'
'https%3A%2F%2Fdav0.bgdi.admin.ch%2Fbazl_web%2FActive_Obstacles.kmz', {
camera: scene.camera,
canvas: scene.canvas
}
));

0 comments on commit a33e591

Please sign in to comment.