You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the print spec has a GeoJSON layer that has opacity != 1 and has a point style defined, the whole layer is not rendered. When the opacity set to 1, it is rendered correctly. When the point style definition is removed, it is rendered correctly.
Copy the content of the json spec, and put in the tool above. Press "Print Spec" button. Wait.
Compare the result of the PDF as shown below in the next section
The only difference between the three json is in line 42 (to set the layer opacity) and the point style definition (removed or not)
It can also be reproduced using Swisstopo Mapviewer MFP instance. Repeat those steps above, but now with "Set to Swiss Topo MFP" and use the json with swisstopo prefix.
Actual results
MFP Demo
Opacity 0.5, without point style defined: the layer is rendered correctly with the opacity
Opacity 1, with point style defined: layer is rendered correctly
Opacity 0.5, with point style defined: layer is NOT rendered at all
Swisstopo Mapviewer MFP instance
Opacity 1, with point style defined: layer is rendered correctly
Opacity 0.5, without point style defined: the layer is rendered correctly with the opacity
Opacity 0.5, with point style defined: layer is NOT rendered at all
Expected results
I expect that the geojson layer is rendered properly when the opacity is not 1 and with a point style defined.
The text was updated successfully, but these errors were encountered:
Context
Describe the bug
When the print spec has a GeoJSON layer that has opacity != 1 and has a point style defined, the whole layer is not rendered. When the opacity set to 1, it is rendered correctly. When the point style definition is removed, it is rendered correctly.
How to reproduce
The only difference between the three json is in line 42 (to set the layer opacity) and the point style definition (removed or not)
It can also be reproduced using Swisstopo Mapviewer MFP instance. Repeat those steps above, but now with "Set to Swiss Topo MFP" and use the json with swisstopo prefix.
Actual results
MFP Demo
Swisstopo Mapviewer MFP instance
Expected results
I expect that the geojson layer is rendered properly when the opacity is not 1 and with a point style defined.
The text was updated successfully, but these errors were encountered: