From 21c33e827c9f49efd86f500ef8eb7e9393a1b72e Mon Sep 17 00:00:00 2001 From: glughi Date: Fri, 8 Nov 2024 16:56:04 +0100 Subject: [PATCH] Fix lint problems --- lib/Models/Catalog/Esri/ArcGisMapServerCatalogItem.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Models/Catalog/Esri/ArcGisMapServerCatalogItem.ts b/lib/Models/Catalog/Esri/ArcGisMapServerCatalogItem.ts index b42d24a158b..3f74bc9f968 100644 --- a/lib/Models/Catalog/Esri/ArcGisMapServerCatalogItem.ts +++ b/lib/Models/Catalog/Esri/ArcGisMapServerCatalogItem.ts @@ -596,7 +596,7 @@ export default class ArcGisMapServerCatalogItem extends UrlMixin( true, false ); - + const pickSize: number = this.terria.configParameters.pickSize ?? 2; ArcGisMapServerImageryProvider.prototype.pickFeatures = function ( x, @@ -676,7 +676,7 @@ export default class ArcGisMapServerCatalogItem extends UrlMixin( ) { const wkid = feature.geometry.spatialReference && - feature.geometry.spatialReference.wkid + feature.geometry.spatialReference.wkid ? feature.geometry.spatialReference.wkid : 4326; if (wkid === 4326 || wkid === 4283) {