Skip to content

Commit 832bc45

Browse files
navigine framework updated
1 parent 45026e5 commit 832bc45

File tree

16 files changed

+52
-27
lines changed

16 files changed

+52
-27
lines changed

NavigineDemo/NavigineDemo.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@
545545
CLANG_ENABLE_MODULES = YES;
546546
CODE_SIGN_IDENTITY = "Apple Development";
547547
CODE_SIGN_STYLE = Automatic;
548-
DEVELOPMENT_TEAM = "";
548+
DEVELOPMENT_TEAM = 9L9SSEDTLA;
549549
FRAMEWORK_SEARCH_PATHS = (
550550
"$(inherited)",
551551
"$(PROJECT_DIR)/NavigineDemo/Frameworks",

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCAsyncRouteListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// AUTOGENERATED FILE - DO NOT MODIFY!
2-
// This file was generated by Djinni from route_manager.djinni
2+
// This file was generated by Djinni from route_session.djinni
33

44
#import "NCExport.h"
55
#import "NCLocationPoint.h"

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCAsyncRouteManager.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// AUTOGENERATED FILE - DO NOT MODIFY!
2-
// This file was generated by Djinni from route_manager.djinni
2+
// This file was generated by Djinni from async_route_manager.djinni
33

44
#import "NCExport.h"
55
#import "NCLocationPoint.h"
6+
#import "NCRouteOptions.h"
67
#import <Foundation/Foundation.h>
78
@class NCRouteSession;
89

@@ -11,7 +12,7 @@ DEFAULT_EXPORT_ATTRIBUTE
1112
@interface NCAsyncRouteManager : NSObject
1213

1314
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint
14-
smoothRadius:(float)smoothRadius;
15+
routeOptions:(nonnull NCRouteOptions *)routeOptions;
1516

1617
- (void)cancelRouteSession:(nullable NCRouteSession *)session;
1718

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCCategory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ DEFAULT_EXPORT_ATTRIBUTE
88
@interface NCCategory : NSObject
99
- (nonnull instancetype)initWithId:(int32_t)id
1010
name:(nonnull NSString *)name
11-
imageId:(nullable NSString *)imageId;
11+
imageUrl:(nullable NSString *)imageUrl;
1212
+ (nonnull instancetype)categoryWithId:(int32_t)id
1313
name:(nonnull NSString *)name
14-
imageId:(nullable NSString *)imageId;
14+
imageUrl:(nullable NSString *)imageUrl;
1515

1616
@property (nonatomic, readonly) int32_t id;
1717

1818
@property (nonatomic, readonly, nonnull) NSString * name;
1919

20-
@property (nonatomic, readonly, nullable) NSString * imageId;
20+
@property (nonatomic, readonly, nullable) NSString * imageUrl;
2121

2222
@end

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCLocationManager.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ DEFAULT_EXPORT_ATTRIBUTE
1717

1818
- (int32_t)getLocationId;
1919

20+
- (void)setLocationUpdateInterval:(int32_t)interval;
21+
2022
- (void)commitChanges;
2123

2224
- (void)revertChanges;

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCLocationView.h

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
NS_ASSUME_NONNULL_BEGIN
66

77
@class NCCircleMapObject;
8+
@class NCFlatIconMapObject;
89
@class NCIconMapObject;
910
@class NCLocationPoint;
1011
@class NCLocationPolyline;
@@ -33,6 +34,10 @@ DEFAULT_EXPORT_ATTRIBUTE
3334

3435
- (bool) removeIconMapObject: (NCIconMapObject *) iconMapObject;
3536

37+
- (NCFlatIconMapObject *) addFlatIconMapObject;
38+
39+
- (bool) removeFlatIconMapObject: (NCFlatIconMapObject *) iconMapObject;
40+
3641
- (NCPolylineMapObject *) addPolylineMapObject;
3742

3843
- (bool) removePolylineMapObject: (NCPolylineMapObject *) polylineMapObject;
@@ -65,6 +70,15 @@ DEFAULT_EXPORT_ATTRIBUTE
6570

6671
@property (weak, nonatomic, nullable) id<NCLocationViewListener> locationViewListener;
6772

73+
/**
74+
If `continuous` is `YES`, the map view will re-draw continuously. Otherwise, the map will re-draw only when an event
75+
changes the map view.
76+
77+
@note Changing this property will override the inferred value from the scene. Enabling continuous rendering can
78+
significantly increase the energy usage of an application.
79+
*/
80+
@property (assign, nonatomic) BOOL continuous;
81+
6882
#pragma mark Gesture Recognizers
6983

7084
@property (weak, nonatomic, nullable) id<NCGestureRecognizerDelegate> gestureDelegate;
@@ -122,12 +136,12 @@ DEFAULT_EXPORT_ATTRIBUTE
122136
Move the map camera to a new position with an easing animation.
123137
124138
@param camera The new camera position
125-
@param duration The animation duration in seconds
139+
@param duration The animation duration in milliseconds
126140
@param animationType The type of easing animation
127141
@param completion A callback to execute when the animation completes
128142
*/
129143
- (void)setCamera:(NCCamera *)camera
130-
withDuration:(NSTimeInterval)duration
144+
withDuration:(NSInteger)duration
131145
animationType:(NCAnimationType)animationType
132146
completion:(nullable void (^)(BOOL canceled))completion;
133147

@@ -146,11 +160,11 @@ DEFAULT_EXPORT_ATTRIBUTE
146160
Move the map camera to a new position with an animation that pans and zooms in a smooth arc.
147161
148162
@param camera The new camera position
149-
@param duration Duration of the animation in seconds
163+
@param duration Duration of the animation in milliseconds
150164
@param callback A callback to execute when the animation completes
151165
*/
152166
- (void)flyToCamera:(NCCamera *)camera
153-
withDuration:(NSTimeInterval)duration
167+
withDuration:(NSInteger)duration
154168
callback:(nullable void (^)(BOOL canceled))callback;
155169

156170
/**
@@ -179,6 +193,8 @@ DEFAULT_EXPORT_ATTRIBUTE
179193
- (bool) mapObjectSetTitle:(int32_t) id title: (NSString*) title;
180194
- (bool) mapObjectSetPosition:(int32_t) id position: (NCLocationPoint*) locationPoint;
181195
- (bool) mapObjectSetPositionAnimated:(int32_t) id position: (NCLocationPoint*) locationPoint duration: (float) duration type: (NCAnimationType) type;
196+
- (bool) mapObjectSetAngle:(int32_t) id angle: (float) angle;
197+
- (bool) mapObjectSetAngleAnimated:(int32_t) id angle: (float) angle duration: (float) duration type: (NCAnimationType) type;
182198
- (bool) mapObjectSetBitmap:(int32_t) id;
183199
- (bool) mapObjectSetPolyline:(int32_t) id polyline: (NCLocationPolyline*) polyline;
184200
- (bool) mapObjectSetSize:(int32_t) id width: (float) width height: (float) height;

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCMapObjectType.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
typedef NS_ENUM(NSInteger, NCMapObjectType)
77
{
88
NCMapObjectTypeICON,
9+
NCMapObjectTypeFLATICON,
910
NCMapObjectTypePOLYLINE,
1011
NCMapObjectTypeCIRCLE,
1112
};

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCNotification.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ DEFAULT_EXPORT_ATTRIBUTE
1414

1515
@property (nonatomic, nonnull, readonly) NSString * content;
1616

17-
@property (nonatomic, nullable, readonly) NSString * imageId;
17+
@property (nonatomic, nullable, readonly) NSString * imageUrl;
1818

1919
@end

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCResourceListener.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
DEFAULT_EXPORT_ATTRIBUTE
1010
@protocol NCResourceListener <NSObject>
1111

12-
- (void)onLoaded:(nonnull NSString *)imageId
12+
- (void)onLoaded:(nonnull NSString *)imageUrl
1313
image:(nullable NCImage *)image;
1414

15-
- (void)onFailed:(nonnull NSString *)imageId
15+
- (void)onFailed:(nonnull NSString *)imageUrl
1616
error:(nullable NSError *)error;
1717

1818
@end

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCResourceManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
DEFAULT_EXPORT_ATTRIBUTE
1111
@interface NCResourceManager : NSObject
1212

13-
- (void)loadImage:(nonnull NSString *)imageId
13+
- (void)loadImage:(nonnull NSString *)imageUrl
1414
listener:(nullable id<NCResourceListener>)listener;
1515

1616
/** working with logs */

0 commit comments

Comments
 (0)