Load

Following a call to the CreateFeatureLayer method, the Load method loads the new layer on the terrain. This method must be called only when the layer is loaded to the terrain for the first time. Use the Refresh method to reload a layer that was already loaded. This method executes synchronously, meaning it returns after the layer is loaded. If you want to execute asynchronously, use LoadAsync instead.

Note:    Both Refresh and Load perform a refresh, overwriting any new features you may have added. If you don’t want to overwrite new features, call Save before refreshing.

 

JavaScript

 

Load()

 

C#

 

void Load()

 

C++

 

HRESULT Load()

Exceptions

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