StreamLayer 4.29 | Features have black blinking square

283
3
02-28-2024 02:07 AM
orahlagi
New Contributor III

Hey, I just upgraded from 4.28.10 to 4.29 and noticed the features are blinking non stop, it's only stop on a very high zoom level.

I'm using sendMessageToClient method on StreamLayer.

I'm not sure how I can give an example to reproduce it, I didn't change anything in my code, I establish a layer with the following config:

new StreamLayer({
idField: 'some-id-field',
fields: some fields as FieldProperties[],
timeInfo: { trackIdField: 'TRACKID' },
geometryType: 'point',
objectIdField: 'something'
})



Then I'm adding features as a batch:

myStreamLayer.sendMessageToClient({
 type: 'features',
features: [{attributes: {someAttributes}, geometry:{x:someCoordinate, y:someCoordinate}}]
})


Hope you can see the attached video.

 

 

0 Kudos
3 Replies
UndralBatsukh
Esri Regular Contributor

Hi there 

Can you please paste the renderer code (especially the symbol part) here? Thanks

0 Kudos
orahlagi
New Contributor III

@UndralBatsukh Thank you.

Here you go (the uniquevalueinfo and the expression has some logic that I removed in the code example):

{
      visualVariables: [
            {
              type: 'rotation',
              field: 'angle',
              rotationType: 'geographic',
            },
          ]
      valueExpression:
        'someExpression...',
      uniqueValueInfos: [
        value: value,
      symbol: new PictureMarkerSymbol({
        height: someHeight,
        width: someWidth,
        url: url,
      }),
      ],
    }

 

0 Kudos
LaurenBoyd
Esri Contributor

Hi @orahlagi -

This issue should be fixed for 4.29. Could you please check that this issue is fixed on your end with your application and let us know ASAP if it's still occurring for you? Thanks!

Lauren
0 Kudos