Handlelayers |
|
|
Handle layers.The easiest way to work with layers is using the layer-component. Drag a layer component on the stage
grouped layer can be used to group a number of layers under the same name. Example "Elevation:DTM 1x1,DTM 3x3" will group layers DTM 1x1 and DTM 3x3 together into the name Elevation. This example shows you such an implementation.
Layers can also be programmatically turned on and off. Simple use the my_map.getLayer("title") and change one of it's parameters such as .visible or .where = ''... Source code: sample7.fla |
|
All source code and components can be used freely by anybody. |