load Method

Loads a previously saved fly or KML layer to the node.

load(layerURL);

 

Parameter

Description

layerURL

URL of the layer

Return Value

If the method succeeds, the return value is true. If the method fails, the return value is false. SGWorld.lastError contains the failure reason.

Remarks

 If the file was previously saved locally using the save() method, there is no need to specify a path.