Creates an elevation layer. See the example for more information on layer creation.
The layer options.
ReadonlycolorThe colormap of this layer
ReadonlycomputeReadonlyextentThe extent of this layer
Disables automatic updates of this layer. Useful for debugging purposes.
ReadonlyidThe unique identifier of this layer.
ReadonlyinterpretationReadonlyisRead-only flag to check if a given object is of type ElevationLayer.
ReadonlyisRead-only flag to check if a given object is of type Layer.
ReadonlyisReadonly flag to indicate that his object implements MemoryUsage.
ReadonlynameOptional name of this layer.
ReadonlynoReadonlyresolutionThe resolution factor applied to the textures generated by this layer.
ReadonlyshowReadonlyshowReadonlysourceThe source of this layer
ReadonlyuserAn object that can be used to store custom data about the Layer.
ProtectedinstanceGets whether the object is currently performing an asynchronous operation.
Returns the percentage of progress, in normalized value (i.e in the [0, 1] range), of the asynchronous operations that are scheduled to run on this object. 1 means that all operations have finished.
Gets or sets the visibility of this layer.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
ProtectedadjustProtectedadjustAdjusts the extent to avoid visual artifacts.
The original extent.
The width, in pixels, of the original extent.
The height, in pixels, of the original extent.
And object containing the adjusted extent, as well as adjusted pixel size.
ProtectedapplyProtectedapplyProtectedapplyResets all render targets to a blank state and repaint all the targets.
Optionalextent: ExtentAn optional extent to limit the region to clear.
The extent to test.
true if this layer contains the specified extent, false otherwise.
Fire an event type.
The event that gets fired.
Returns an approximation of the memory used by this object, in bytes.
The graphics context.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
ProtectedonProtectedonRemoves a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Protectedupdate
A layer that provides elevation data to display terrains.