Skip to content

Commit

Permalink
fix: small syntax improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-angermann committed Jul 4, 2024
1 parent f941f81 commit 70ee8e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/map-cesium/src/lib/map-cesium.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class MapCesiumService {
* Set initial oblique view, see https://cesium.com/learn/cesiumjs/ref-doc/Camera.html
* subtract 90°, to get the same behavior as in openlayers
* options of viewer.camera.flyTo`
*
*
* https://github.com/CesiumGS/cesium/blob/99d6fffe20d9cf19f2d70de97777dc00a435bc5e/packages/engine/Source/Scene/Camera.js#L1457
* https://github.com/CesiumGS/cesium/blob/99d6fffe20d9cf19f2d70de97777dc00a435bc5e/packages/engine/Source/Scene/Camera.js#L3540-L3541
*/
Expand Down Expand Up @@ -270,7 +270,7 @@ export class MapCesiumService {
/**
* subtract rotation degree from 360° to get the same behavior as in openlayers
* options of viewer.camera.flyTo`
*
*
* https://github.com/CesiumGS/cesium/blob/99d6fffe20d9cf19f2d70de97777dc00a435bc5e/packages/engine/Source/Scene/Camera.js#L3424
* https://github.com/CesiumGS/cesium/blob/99d6fffe20d9cf19f2d70de97777dc00a435bc5e/packages/engine/Source/Scene/Camera.js#L1456
*/
Expand All @@ -284,7 +284,7 @@ export class MapCesiumService {
},
}, options || {});

this.viewer.camera.flyTo(flyToOptions)
this.viewer.camera.flyTo(flyToOptions);
}
// subtract rotation degree from 360° to get the same behavior as in openlayers
public getRotation():number{
Expand Down

0 comments on commit 70ee8e9

Please sign in to comment.