NTVectorLayer
@interface NTVectorLayer : NTLayer
A vector layer that loads data using an envelope. Should be used together with corresponding data source.
-
Constructs a VectorLayer object from a data source.
Declaration
Objective-C
- (id)initWithDataSource:(NTVectorDataSource *)dataSource;Parameters
dataSourceThe data source from which this layer loads data.
-
Returns the vector data source of this vector layer.
Declaration
Objective-C
- (NTVectorDataSource *)getDataSource;Return Value
The vector data source that was bound to this vector layer on construction.
-
Returns the vector element event listener.
Declaration
Objective-C
- (NTVectorElementEventListener *)getVectorElementEventListener;Return Value
The vector element event listener.
-
Sets the vector element event listener.
Declaration
Objective-C
- (void)setVectorElementEventListener: (NTVectorElementEventListener *)eventListener;Parameters
eventListenerThe vector element event listener.
-
Returns true if Z-buffering is enabled for 2D geometry. By default it is disabled and used only for billboards.
Declaration
Objective-C
- (BOOL)isZBuffering;Return Value
True if Z-buffering is enabled for 2D geometry.
-
Sets the Z-buffering flag for 2D geometry. By default it is disabled.
Declaration
Objective-C
- (void)setZBuffering:(BOOL)enabled;Parameters
enabledTrue if Z-buffering should be enabled.
-
Undocumented
Declaration
Objective-C
- (BOOL)isUpdateInProgress; -
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTVectorLayer Class Reference