You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even when StatAPI is used for getting statistics, instanceId and layerId are still needed.
in layer.getStats(), there is getStatisticsProvider() for getting statistics provider and when StatAPI is used, StatisticalApi.getStats() calls layer.updateLayerFromServiceIfNeeded(), where instanceId and layerId are needed.
Is this really necessary? Can it be done to work just with evalscript and dataProduct like getMap()?
Even when StatAPI is used for getting statistics,
instanceId
andlayerId
are still needed.in
layer.getStats()
, there isgetStatisticsProvider()
for getting statistics provider and when StatAPI is used,StatisticalApi.getStats()
callslayer.updateLayerFromServiceIfNeeded()
, whereinstanceId
andlayerId
are needed.Is this really necessary? Can it be done to work just with
evalscript
anddataProduct
likegetMap()
?Related code lines:
sentinelhub-js/src/statistics/StatisticalApi.ts
Line 26 in 7551743
The text was updated successfully, but these errors were encountered: