Skip to content

Commit

Permalink
Merge pull request #7293 from TerriaJS/prettier-fix
Browse files Browse the repository at this point in the history
Prettier fix
  • Loading branch information
na9da authored Oct 22, 2024
2 parents 70cd390 + e37534a commit d2526a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Add support for Cloud Optimised Geotiff (cog) in Cesium mode. Currently supports EPSG 4326 and 3857. There is experimental support for other projections but performance might suffer and there could be other issues.
- Fix `Workbench.collapseAll()` and `Workbench.expandAll()` for References.
- Add to the "doZoomTo" function the case of an imagery layer with imageryProvider.rectangle
- [The next improvement]

#### 8.7.7 - 2024-10-01
Expand Down Expand Up @@ -49,7 +50,6 @@

#### 8.7.4 - 2024-06-07

- Add to the "doZoomTo" function the case of an imagery layer with imageryProvider.rectangle
- Fix position of draggable point after moving.
- Fix `getFeatureProperties` (in `FeatureInfoSection`) failing due to bad JSON parsing of nested strings.
- The `TableFeatureInfoStratum` default `featureInfoTemplate` will now not show `_id_` (internal Terria feature ID) in feature info
Expand Down
5 changes: 4 additions & 1 deletion lib/Models/Cesium.ts
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,10 @@ export default class Cesium extends GlobeOrMap {
duration: flightDurationSeconds,
destination: target.rectangle
});
} else if (defined(target.imageryProvider) && defined(target.imageryProvider.rectangle)) {
} else if (
defined(target.imageryProvider) &&
defined(target.imageryProvider.rectangle)
) {
return flyToPromise(camera, {
duration: flightDurationSeconds,
destination: target.imageryProvider.rectangle
Expand Down

0 comments on commit d2526a8

Please sign in to comment.