Canadian-Geospatial-Platform/geoview

[BUG] Data table download missing geometry for esriDynamic

Closed this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

At the moment, geometry for esriDynamic are only resqueted when the zoom in button is click to get extend. When we download the JSON for esriDynamic, geometry is undefined.

It is working for vector because geometry is part of the feature

Expected Behavior

We should have the geometry for esriDynamic. We should use the same approach as getExtentFromFeatures for extent and implement a global solution.

Steps To Reproduce

  1. Go to https://canadian-geospatial-platform.github.io/geoview/public/demos-navigator.html?config=./configs/navigator/16-esri-dynamic.json
  2. Open data table for Water....
  3. Click Download and download as JSON
  4. Open the file and see geometry is missing

Anything else?

No response