igo2-lib icon indicating copy to clipboard operation
igo2-lib copied to clipboard

Geo/import-export - TypeError ol.getFeatures is not a function

Open alecarn opened this issue 1 year ago • 1 comments

ol.getFeatures is not a function

In ImportExportComponent:

        if (data.featureInMapExtent) {
          olFeatures = ol.getFeaturesInExtent(
            lay.map.viewController.getExtent()
          );
        } else {
          olFeatures = ol.getFeatures();
        }
        if (lay.dataSource instanceof ClusterDataSource) {
          olFeatures = olFeatures.flatMap((cluster: any) =>
            cluster.get('features')
          );

alecarn avatar Jan 12 '24 17:01 alecarn

Sentry issue: IGO2-FRONTEND-5F

sentry-io[bot] avatar Jan 15 '24 13:01 sentry-io[bot]