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
FeatureLayers now checks for geojson support, by issuing a metadata query and checking supportedQueryFormats. See #773 and #418 for history.
However, this is done concurrently with the initial set of tiles (FeatureGrid._update()), so the first tiles received are still in arcgis format and must be converted to geojson, which can easily choke the browser on large layers.
See #1372 for a partial fix, which calls _update at the end of the metadata callback, rather than asynchronously. It's only partial because _update is triggered in a few places, so probably needs some way of checking if metadata has loaded yet.
(This all assumes of course that isModern has not been manually set, which forces geojson).
Reproduction
Monitor browser's network requests for requests to your esri server
Describe the bug
FeatureLayers now checks for geojson support, by issuing a metadata query and checking
supportedQueryFormats
. See #773 and #418 for history.However, this is done concurrently with the initial set of tiles (
FeatureGrid._update()
), so the first tiles received are still in arcgis format and must be converted to geojson, which can easily choke the browser on large layers.See #1372 for a partial fix, which calls
_update
at the end of themetadata
callback, rather than asynchronously. It's only partial because_update
is triggered in a few places, so probably needs some way of checking if metadata has loaded yet.(This all assumes of course that
isModern
has not been manually set, which forces geojson).Reproduction
Logs
No response
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: