Skip to content

Commit

Permalink
Update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nf-s committed Aug 21, 2024
1 parent 90582d9 commit f641f99
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
17 changes: 8 additions & 9 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
- extract common style logic to new Cesium3dTilesStyleMixin.ts
- Set default value for date and datetime WPS fields only when the field is marked as required.
- Add Proj4 definition for EPSG:8059
- [The next improvement]

#### 8.7.5 - 2024-06-26

- TSify some `js` and `jsx` files and provide `.d.ts` ambient type files for a few others. This is so that running `tsc` on an external project that imports Terria code will typecheck successfully.
- Upgraded a bunch of d3 dependencies for fixing security errors.
- Show rectangle selector for WPS bounding box parameter
- Fix `store` and `status` values send in WPS Execute request.
- Add support for ArcGis ImageServer - this includes
- Support for "dynamic" `exportImage` endpoint (using `102100` wkid)
- Support for web mercator and wgs84 precached tiles
Expand All @@ -23,9 +15,16 @@
- Increase `maxRefreshIntervals` from 1000 to 10000 for `WebMapServiceCatalogItem` and `ArcGisMapServerCatalogItem`.
- Add `nextDiscreteJulianDate` helper computed value to `DiscretelyTimeVaryingMixin`
- Add `EPSG:7899` to `Proj4Definitions`
- Add docs for `modelDimensions`
- [The next improvement]

#### 8.7.5 - 2024-06-26

- TSify some `js` and `jsx` files and provide `.d.ts` ambient type files for a few others. This is so that running `tsc` on an external project that imports Terria code will typecheck successfully.
- Upgraded a bunch of d3 dependencies for fixing security errors.
- Show rectangle selector for WPS bounding box parameter
- Fix `store` and `status` values send in WPS Execute request.
- Add docs for `modelDimensions`

#### 8.7.4 - 2024-06-07

- Fix position of draggable point after moving.
Expand Down
5 changes: 3 additions & 2 deletions lib/Models/Catalog/Esri/ArcGisImageServerCatalogItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import WebMercatorTilingScheme from "terriajs-cesium/Source/Core/WebMercatorTili
import URI from "urijs";
import AsyncLoader from "../../../Core/AsyncLoader";
import { JsonObject, isJsonObject } from "../../../Core/Json";
import TerriaError, { networkRequestError } from "../../../Core/TerriaError";
import TerriaError from "../../../Core/TerriaError";
import createDiscreteTimesFromIsoSegments from "../../../Core/createDiscreteTimes";
import createTransformerAllowUndefined from "../../../Core/createTransformerAllowUndefined";
import filterOutUndefined from "../../../Core/filterOutUndefined";
Expand Down Expand Up @@ -419,6 +419,7 @@ export default class ArcGisImageServerCatalogItem extends UrlMixin(
return result;
}

@computed
private get _currentImageryParts(): ImageryParts | undefined {
// Make sure legend stays up to date
this._legendStratumLoader.load();
Expand Down Expand Up @@ -587,7 +588,7 @@ function getBaseURI(item: ArcGisImageServerCatalogItem) {
return uri;
}

async function getJson(item: ArcGisImageServerCatalogItem, uri: any) {
async function getJson(item: ArcGisImageServerCatalogItem, uri: uri.URI) {
try {
const response = await loadJson(
proxyCatalogItemUrl(item, uri.addQuery("f", "json").toString())
Expand Down

0 comments on commit f641f99

Please sign in to comment.