Skip to content

PB-190 : Implement feature pre selection#674

Merged
ltkum merged 6 commits intodevelopfrom
PB-190_implement-preselectedfeature-feature
Mar 8, 2024
Merged

PB-190 : Implement feature pre selection#674
ltkum merged 6 commits intodevelopfrom
PB-190_implement-preselectedfeature-feature

Conversation

@ltkum
Copy link
Contributor

@ltkum ltkum commented Mar 1, 2024

We added an additional possible custom parameter which allows to select features which IDS are known from the URL, like the old {bod-layer-id} parameter.

Test link

@ltkum ltkum requested a review from pakb March 1, 2024 09:38
@cypress
Copy link

cypress bot commented Mar 1, 2024

Passing run #999 ↗︎

0 168 22 0 Flakiness 0

Details:

PB-190: non relative imports and small cleanup
Project: web-mapviewer Commit: dfc6d86e9a
Status: Passed Duration: 04:34 💡
Started: Mar 8, 2024 2:10 PM Ended: Mar 8, 2024 2:14 PM

Review all test suite changes for PR #674 ↗︎

@pakb
Copy link
Contributor

pakb commented Mar 1, 2024

The parsing is fine and works well, but I think you should add a zoomToExtent to the feature's extent (or at least zoom closer if there's no extent available). The goal is to show the feature "in isolation" while using an iframe

@ltkum ltkum force-pushed the PB-190_implement-preselectedfeature-feature branch from 296ebef to fa63372 Compare March 7, 2024 09:31
@ltkum ltkum requested a review from pakb March 8, 2024 12:04
ltkum added 4 commits March 8, 2024 13:05
We added an additional possible custom parameter which allows to select
features which IDS are known from the URL, like the old {bod-layer-id}
parameter.
moved the extent calculation from feature.api.js to geoJsonUtils.js
using turf.
Handling async calls in a better way
Small simplification of tests
@ltkum ltkum force-pushed the PB-190_implement-preselectedfeature-feature branch from ff4e07d to f069994 Compare March 8, 2024 12:05
@ltkum ltkum requested a review from pakb March 8, 2024 14:07
@ltkum ltkum merged commit 49a48aa into develop Mar 8, 2024
@ltkum ltkum deleted the PB-190_implement-preselectedfeature-feature branch March 8, 2024 14:17
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