Skip to content

Commit

Permalink
Update KmlDataSource documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TJKoury committed Feb 26, 2017
1 parent 416cfc2 commit b91a46e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Source/DataSources/KmlDataSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -2257,11 +2257,12 @@ define([
*
* @example
* var viewer = new Cesium.Viewer('cesiumContainer');
* viewer.dataSources.add(Cesium.KmlDataSource.load('../../SampleData/facilities.kmz'),
* viewer.dataSources.add(Cesium.KmlDataSource.load('../../SampleData/facilities.kmz',
* {
* camera: viewer.scene.camera,
* canvas: viewer.scene.canvas
* });
* camera: viewer.scene.camera,
* canvas: viewer.scene.canvas
* })
* );
*/
function KmlDataSource(options) {
options = defaultValue(options, {});
Expand Down

0 comments on commit b91a46e

Please sign in to comment.