Skip to content

PB-505: Added error when external WMTS layer don't support WGS84#860

Merged
ltshb merged 1 commit intodevelopfrom
feat-PB-505-projection-error
May 27, 2024
Merged

PB-505: Added error when external WMTS layer don't support WGS84#860
ltshb merged 1 commit intodevelopfrom
feat-PB-505-projection-error

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented May 23, 2024

For this I needed to be able to add/remove errors per layer as this error is
only for 3D.

Test link

@ltshb ltshb force-pushed the feat-PB-505-projection-error branch from 62acb1f to c3c6a18 Compare May 23, 2024 12:49
* @param {string} layerId ID of the layer(s) to retrieve
* @returns {[AbstractLayer]} All active layers matching the ID
*/
getLayersById: (state) => (layerId) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be good to rename that to getActiveLayerById, as it stands it could make you think it will lookup the whole layers config, but in reality will only seek matches in the active layers (preview layer is kind of an active layer too...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pakb that is not a good idea, the catalogue uses getActiveLayersById to add/remove layer from the active layer list, here we definitely don't want to have the previewLayer

@cypress
Copy link

cypress bot commented May 23, 2024

Passing run #2301 ↗︎

0 206 20 0 Flakiness 0

Details:

PB-505: Added error when external WMTS layer don't support WGS84
Project: web-mapviewer Commit: 824aab006d
Status: Passed Duration: 05:41 💡
Started: May 27, 2024 5:09 AM Ended: May 27, 2024 5:14 AM

Review all test suite changes for PR #860 ↗︎

@ltshb ltshb force-pushed the feat-PB-505-projection-error branch from c3c6a18 to aa5207a Compare May 23, 2024 13:08
@ltshb ltshb requested review from ltkum and pakb May 23, 2024 13:09
For this I needed to be able to add/remove errors per layer as this error is
only for 3D.
@ltshb ltshb force-pushed the feat-PB-505-projection-error branch from aa5207a to 824aab0 Compare May 27, 2024 05:05
@ltshb ltshb merged commit 7c5a603 into develop May 27, 2024
@ltshb ltshb deleted the feat-PB-505-projection-error branch May 27, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants