Loading...
Searching...
No Matches
NCLocationWindow.h
Go to the documentation of this file.
1#import "NCAnimationType.h"
3#import "NCBoundingBox.h"
4#import "NCCamera.h"
5#import "NCCameraCallback.h"
6#import "NCDebugFlag.h"
7#import "NCExport.h"
8#import "NCGlobalPoint.h"
10#import "NCOperatingMode.h"
11#import <Foundation/Foundation.h>
12#import <UIKit/UIKit.h>
16@class NCIconMapObject;
17@class NCModelMapObject;
20@protocol NCBuildingListener;
21@protocol NCCameraListener;
22@protocol NCInputListener;
23@protocol NCPickListener;
24@protocol NCSublocationChangeListener;
25
26
40DEFAULT_EXPORT_ATTRIBUTE
41@interface NCLocationWindow : NSObject
42
57- (void)setSublocationId:(int32_t)id;
58
72- (nullable NSNumber *)getSublocationId;
73
88- (void)setOperatingMode:(NCOperatingMode)mode;
89
104
119- (nonnull NSString *)getAttribution;
120
135- (nonnull NCCamera *)getEnclosingCamera:(nonnull NCBoundingBox *)boundingBox;
136
152- (nonnull NCGlobalPoint *)screenPositionToGlobal:(CGPoint)point;
153
170- (CGPoint)globalToScreenPosition:(nonnull NCGlobalPoint *)point
171 clipToViewport:(BOOL)clipToViewport;
172
188
204- (BOOL)removeCircleMapObject:(nullable NCCircleMapObject *)circleMapObject;
205
221
237- (BOOL)removeIconMapObject:(nullable NCIconMapObject *)iconMapObject;
238
254
270- (BOOL)removeClusterMapObjectController:(nullable NCClusterMapObjectController *)controller;
271
287
303- (BOOL)removePolygonMapObject:(nullable NCPolygonMapObject *)polygonMapObject;
304
320
336- (BOOL)removePolylineMapObject:(nullable NCPolylineMapObject *)polylineMapObject;
337
353
369- (BOOL)removeDottedPolylineMapObject:(nullable NCDottedPolylineMapObject *)dottedPolylineMapObject;
370
386
402- (BOOL)removeModelMapObject:(nullable NCModelMapObject *)modelMapObject;
403
418
434- (void)pickMapObjectAt:(CGPoint)point;
435
451- (void)pickMapFeatureAt:(CGPoint)point;
452
468- (void)addPickListener:(nullable id<NCPickListener>)listener;
469
484- (void)removePickListener:(nullable id<NCPickListener>)listener;
485
501- (void)addInputListener:(nullable id<NCInputListener>)listener;
502
517- (void)removeInputListener:(nullable id<NCInputListener>)listener;
518
534- (void)addCameraListener:(nullable id<NCCameraListener>)listener;
535
550- (void)removeCameraListener:(nullable id<NCCameraListener>)listener;
551
566- (void)addSublocationChangeListener:(nullable id<NCSublocationChangeListener>)listener;
567
582- (void)removeSublocationChangeListener:(nullable id<NCSublocationChangeListener>)listener;
583
598- (void)addBuildingListener:(nullable id<NCBuildingListener>)listener;
599
614- (void)removeBuildingListener:(nullable id<NCBuildingListener>)listener;
615
632- (void)flyTo:(nonnull NCCamera *)camera
633 duration:(int32_t)duration
634 callback:(nullable NCCameraCallback)callback;
635
653- (void)moveTo:(nonnull NCCamera *)camera
654 duration:(int32_t)duration
655 animationType:(NCAnimationType)animationType
656 callback:(nullable NCCameraCallback)callback;
657
673- (BOOL)selectMapFeature:(nonnull NSString *)featureId;
674
690- (BOOL)deselectMapFeature:(nonnull NSString *)featureId;
691
706
722- (void)applyLayerFilter:(nonnull NSString *)layer
723 conditions:(nonnull NSArray<NCMapFilterCondition *> *)conditions;
724
740+ (void)setDebugFlag:(NCDebugFlag)flag
741 on:(BOOL)on;
742
758+ (BOOL)getDebugFlag:(NCDebugFlag)flag;
759
774@property (nonatomic, nonnull) NCAttributionAlignment * attributionAlignment;
775
790@property (nonatomic) float zoomFactor;
791
805@property (nonatomic) float minZoomFactor;
806
820@property (nonatomic) float maxZoomFactor;
821
836@property (nonatomic) BOOL stickToBorder;
837
852@property (nonatomic, nonnull) NCCamera * camera;
853
867@property (nonatomic) BOOL rotateGestureEnabled;
868
882@property (nonatomic) BOOL tiltGesturesEnabled;
883
897@property (nonatomic) BOOL scrollGesturesEnabled;
898
912@property (nonatomic) BOOL zoomGesturesEnabled;
913
929@property (nonatomic) float pickRadius;
930
944@property (nonatomic, nonnull, readonly) NSArray<NSString *> * selectedMapFeatures;
945
952@property (nonatomic, readonly, getter=isValid) BOOL valid;
953
954@end