Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
close #74
  • Loading branch information
rot1024 committed Mar 26, 2019
1 parent 9dca213 commit 57b6765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/KmlDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface KmlDataSourceCesiumEvents {
onChange?: (kmlDataSource: Cesium.KmlDataSource) => void;
onError?: (kmlDataSource: Cesium.KmlDataSource, error: any) => void;
onLoading?: (kmlDataSource: Cesium.KmlDataSource, isLoaded: boolean) => void;
onReferesh?: (kmlDataSource: Cesium.KmlDataSource, urlComponent: string) => void;
onRefresh?: (kmlDataSource: Cesium.KmlDataSource, urlComponent: string) => void;
onUnsupportedNode?: (kmlDataSource: Cesium.KmlDataSource) => void;
}

Expand Down Expand Up @@ -65,7 +65,7 @@ const cesiumEventProps: EventkeyMap<Cesium.KmlDataSource, keyof KmlDataSourceCes
changedEvent: "onChange",
errorEvent: "onError",
loadingEvent: "onLoading",
refreshEvent: "onReferesh",
refreshEvent: "onRefresh",
unsupportedNodeEvent: "onUnsupportedNode",
};

Expand Down

0 comments on commit 57b6765

Please sign in to comment.