Vector Tiles Opacity/Background Color Issue 4.14

928
3
Jump to solution
12-30-2019 04:31 AM
MatthieuThery1
Occasional Contributor

Hi,

Starting from the new API (4.14) , if I add a Vector Tile Layer to my map and set the visibility to False, and the Opacity to whatever value over 0, then the background colour of the whole canvas switches to a random colour (grey, blue, etc)., instead of white like it was with the previous versions.

https://codepen.io/mtrsklnkvMM/pen/NWPaWXY  (example taken from the API Samples)

If you change the opacity to 0 or the api version to 4.13, then it's white again.

It's doing that on the all the computers I tried it on.

0 Kudos
1 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

This issue will be fixed at 4.15. You can test the fix in our next release. I updated your app to use the next version. 

Thanks,

-Undral

View solution in original post

0 Kudos
3 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

Thank you for brining this issue to our attention. It looks like the background layer does not honor the layer visibility. We will get this fixed.

-Undral

UndralBatsukh
Esri Regular Contributor

Hi there, 

This issue will be fixed at 4.15. You can test the fix in our next release. I updated your app to use the next version. 

Thanks,

-Undral

0 Kudos
MatthieuThery1
Occasional Contributor

Great. I'll have a play with the next release. Thanks

0 Kudos