Skip to content

PB-103 : couple fixes and improvements #722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

pakb
Copy link
Contributor

@pakb pakb commented Mar 20, 2024

LayerFeature have a simple ID now, no more concat of the layer ID (was creating issues with external layers, as their IDs are pretty long and contain special characters)

Feature title is used in the header, instead of relying on the layer title (the feature title is the layer name anyway, the way we built it)

Auto transparency for WMS layer (based on the image format requested) and tiles/images aren't requested anymore if the viewport is completely outside the layer's extent (better for ExternalLayers)

Pixel coordinate weren't correctly passed by the map-interaction composable

Test link

Copy link

cypress bot commented Mar 20, 2024

Passing run #1192 ↗︎

0 172 22 0 Flakiness 0

Details:

PB-103 : couple fixes and improvements
Project: web-mapviewer Commit: 025241eeeb
Status: Passed Duration: 04:44 💡
Started: Mar 20, 2024 10:16 AM Ended: Mar 20, 2024 10:21 AM

Review all test suite changes for PR #722 ↗︎

Comment on lines 37 to 43
let layer2Update = getActiveLayerById(state, layer.id)
if (layer2Update) {
Object.assign(layer2Update, layer)
if (layer instanceof AbstractLayer) {
state.activeLayers[state.activeLayers.indexOf(layer2Update)] = layer
} else {
Object.assign(layer2Update, layer)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be wise to first merge my PR about duplicate layers as this solve some issues here and the file has quite changed

@pakb pakb force-pushed the feat_PB-103_couple_improvements branch from 352c30d to c6df857 Compare March 20, 2024 09:59
@pakb pakb changed the base branch from develop to feat-PB-332-duplicate-layer March 20, 2024 09:59
Base automatically changed from feat-PB-332-duplicate-layer to develop March 20, 2024 10:02
LayerFeature have a simple ID now, no more concat of the layer ID (was creating issues with external layers, as their IDs are pretty long and contain special characters)

Feature title is used in the header, instead of relying on the layer title (the feature title is the layer name anyway, the way we built it)

Auto transparency for WMS layer (based on the image format requested) and tiles/images aren't requested anymore if the viewport is completely outside the layer's extent (better for ExternalLayers)

Pixel coordinate weren't correctly passed by the map-interaction composable
@pakb pakb force-pushed the feat_PB-103_couple_improvements branch from c6df857 to 025241e Compare March 20, 2024 10:12
@pakb pakb requested a review from ltshb March 20, 2024 10:23
@pakb pakb merged commit 9824c9b into develop Mar 20, 2024
6 checks passed
@pakb pakb deleted the feat_PB-103_couple_improvements branch March 20, 2024 12:42
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