Skip to content

Update existingLoiFeatures to depend on camera bounds - #3887

Open
andreia-ferreira wants to merge 3 commits into
masterfrom
andreia/3866/existing-features-within-bounds
Open

Update existingLoiFeatures to depend on camera bounds#3887
andreia-ferreira wants to merge 3 commits into
masterfrom
andreia/3866/existing-features-within-bounds

Conversation

@andreia-ferreira

Copy link
Copy Markdown
Collaborator

Towards #3866

This PR improves the previously introduced existingLoiFeatures, combining it with the getCurrentCameraPosition flow in order to only render the features within the bounds. This prevents potential OOMs due to the fact that these features, drawn in the drop pin/draw area screens, are not clusterable, so they'd all be rendered at once if not bounded.

It also removes the uneeded extension launchWhenTaskVisible which was required for when the data collection was a view pager.

@shobhitagarwal1612 PTAL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants