Home > Working with SGWorld > ISGWorld > OnLayerStreaming

OnLayerStreaming

This event occurs when a layer is streamed from the server without first storing it in a client local file.

 

JavaScript

 

OnLayerStreaming(

      LayerGroupID,

      bStreaming)

 

C#

 

void OnLayerStreaming(

      int LayerGroupID,

      int bStreaming)

 

C++

 

HRESULT OnLayerStreaming(

      LONG_PTR LayerGroupID,

      long bStreaming)

Parameters

LayerGroupID

The ID of the layer that is being streamed.

bStreaming

The streaming status. Returns 1 if the layer started streaming this layer, 0 if stopped.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.