DK for Java | tatukgis.jdk.TGIS_Shape.Layer | Constructors | Fields | Methods | Properties
Reference to parent layer containing shape. Provides access to layer's styling, fields, and context.
// Java public TGIS_LayerVector getLayer(); public void setLayer( TGIS_LayerVector _value );
// Oxygene public property Layer : TGIS_LayerVector read write;
| Type |
|---|
| TGIS_LayerVector |
PURPOSE:Access layer context (field definitions, default styling, coordinate system, rendering parameters). Enables shape-aware decisions based on layer configuration.
BEHAVIOR:Set automatically when shape added to layer. Allows shape to query layer's Params (colors, symbols, zoom intervals), Fields (schema), and CoordinateSystem.
USAGE:Get field value:if shape.Layer <> nil then value := shape.Layer.GetField(uid, 'FIELD_NAME');Query rendering params:params := shape.Layer.Params;
CONSTRAINTS:Nil if shape not added to layer. Read/Write access. Lifetime managed by layer.