Creates a geo-referenced, satellite or aerial image that overlays the terrain imagery.
createImageryLayer(imageryFileName, upperLeftX, upperLeftY, lowerRightX, lowerRightY, [initParam], [plugName], [name]);
Parameter |
Description |
imageryFileName |
A URL of the image file to import to the terrain |
upperLeftX |
The West-East coordinate of the image upper left corner |
upperLeftY |
The North-South coordinate of the image upper left corner |
lowerRightX |
The West-East coordinate of the image lower right corner |
lowerRightY |
The North-South coordinate of the image lower right corner |
initParam |
Optional Reserved. Always pass null for this parameter |
plugName |
Optional The name of the plug-in used to read the file |
name |
Optional The node name |
Return Value
An SGNode object. If the method fails, the return value is null. SGWorld.lastError will contain the failure reason.
Remarks
To modify other properties of the imagery layer, access the node innerObj. See SGNode.innerObj property and ITerrainRasterLayer5 interface for more details.