A colleague pointed out that, when you change the style for a VectorTileLayer in the JavaScript Maps SDK, the browser goes and fetches tiles of data for that layer.
You can see/reproduce this behavior when looking at the CodePen example posted by @UndralBatsukh in an earlier thread in this forum.
clicking a feature to change style causes fetches to server
Is this to be expected? Is it possibly a bug?
I was about to implement this behavior with a "mouseover" event. This would cause it to fire quite frequently as the user moves their cursor around over various features (even with some debouce handling). I wasn't expecting it to initiate any data fetches because it is just changing the color of an existing layer style.
[I can reproduce behavior running latest 4.31 version of the API].