Im curious if others see this behavior.
For testing, I have a map, table and layer widget. Web map layer has visibility set at STREETS/10k and my default extent for initial launch is WORLD. When i start the app, and simply watch without moving anything, i see data appear.
Why is that?
I'm asking because i first began building a map app using extent, but immediately changed direction because every mouse pan caused everything attached to the data source to go full potato/progress-spin mode. I ended up going the trigger by relationship id route, which is not how google has conditioned us to live.
ty in advance
Hi @KeithWestberg,
I couldn't reproduce this issue in Experience Builder with ArcGIS Online version. Could you share a sample app for us to troubleshoot?
Thanks,
Ke
I cant share the hosted feature layer as we are working within enterprise. The feature layer has near 400k records and spatially they span the globe. At the default map extent for the web map (roughly USA), which is the data source for the EB app, the record count should be 98k. The only layer in this feature layer is set to 10k/Street, so im struggling to understand why the table would be collecting anything at the USA extent. There must be another mechanism besides the visibility settings, and that visibility only controls the map rendering and NOT the data. Am I wrong to assume we should have control of what data is consumed and when its asked for? I would like to ask for the data at 10k, not when the app launches, which is causing a major lag. If every time someone pans the map, they have to endure a progress bar, they'll no doubt avoid the app if possible
I’ve handled this by decoupling layer visibility from popup availability. In Map Viewer, even if a layer is turned off visually, you can still enable popups for its features using Arcade expressions. It’s especially useful for reference layers or background data you don’t want cluttering the map. Just make sure your layer is in the web map, even if hidden.
I'm not sure i follow. Are you saying if layer popups are enabled and layer visibility is 10k, and you are at globe extent, the need for data in popups is the reason the data arrives? So, a possible solution would be to disable popups?