Skip to content

Commit a821641

Browse files
Pavel TychininPavel Tychinin
authored andcommitted
Release 20250527
1 parent f7a03ac commit a821641

File tree

35 files changed

+507
-39
lines changed

35 files changed

+507
-39
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
`navigine.framework` adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [2.5.7](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.5.7) / 2025-05-27
6+
* Added NCPolygonMapObject
7+
* Added selectMapFeature/deselectMapFeature/deselectAllMapFeatures/getSelectedMapFeatures
8+
59
## [2.5.6](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.5.6) / 2025-05-21
610
* NCCircleMapObject renrerring
711
* Fixed navigation algorighms

Frameworks/Navigine.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
<key>BinaryPath</key>
99
<string>Navigine.framework/Navigine</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64_x86_64-simulator</string>
11+
<string>ios-arm64</string>
1212
<key>LibraryPath</key>
1313
<string>Navigine.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17-
<string>x86_64</string>
1817
</array>
1918
<key>SupportedPlatform</key>
2019
<string>ios</string>
21-
<key>SupportedPlatformVariant</key>
22-
<string>simulator</string>
2320
</dict>
2421
<dict>
2522
<key>BinaryPath</key>
2623
<string>Navigine.framework/Navigine</string>
2724
<key>LibraryIdentifier</key>
28-
<string>ios-arm64</string>
25+
<string>ios-arm64_x86_64-simulator</string>
2926
<key>LibraryPath</key>
3027
<string>Navigine.framework</string>
3128
<key>SupportedArchitectures</key>
3229
<array>
3330
<string>arm64</string>
31+
<string>x86_64</string>
3432
</array>
3533
<key>SupportedPlatform</key>
3634
<string>ios</string>
35+
<key>SupportedPlatformVariant</key>
36+
<string>simulator</string>
3737
</dict>
3838
</array>
3939
<key>CFBundlePackageType</key>

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCLocationWindow.h

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
@class NCCircleMapObject;
1010
@class NCFlatIconMapObject;
1111
@class NCIconMapObject;
12+
@class NCPolygonMapObject;
1213
@class NCPolylineMapObject;
1314
@protocol NCCameraListener;
1415
@protocol NCInputListener;
@@ -110,6 +111,23 @@ DEFAULT_EXPORT_ATTRIBUTE
110111
*/
111112
- (BOOL)removeFlatIconMapObject:(nullable NCFlatIconMapObject *)flatIconMapObject;
112113

114+
/**
115+
*
116+
* @brief Method is used to create and add polygon map object to the location view.
117+
* @return PolygonMapObject instance @see PolygonMapObject "PolygonMapObject" if success, null otherwise.
118+
*
119+
*/
120+
- (nullable NCPolygonMapObject *)addPolygonMapObject;
121+
122+
/**
123+
*
124+
* @brief Method is used to remove polygon map object from the location view.
125+
* @param polygonMapObject polygon map object instance @see PolygonMapObject "PolygonMapObject".
126+
* @return true if success, false otherwise.
127+
*
128+
*/
129+
- (BOOL)removePolygonMapObject:(nullable NCPolygonMapObject *)polygonMapObject;
130+
113131
/**
114132
*
115133
* @brief Method is used to create and add polyline map object to the location view.
@@ -219,6 +237,35 @@ DEFAULT_EXPORT_ATTRIBUTE
219237
duration:(int32_t)duration
220238
callback:(nullable NCCameraCallback)callback;
221239

240+
/**
241+
*
242+
* @brief Selects a map feature with the specified featureId.
243+
*
244+
* @param featureId featureId can be extracted from the `mapFeaturePickResult` container by
245+
* using @see onMapFeaturePickComplete "onMapFeaturePickComplete" callback of @see PickListener "PickListener".
246+
* @return true if success, false otherwise.
247+
*
248+
*/
249+
- (BOOL)selectMapFeature:(nonnull NSString *)featureId;
250+
251+
/**
252+
*
253+
* @brief Deselects a map feature with the specified featureId.
254+
*
255+
* @param featureId featureId can be extracted from the `mapFeaturePickResult` container by
256+
* using @see onMapFeaturePickComplete "onMapFeaturePickComplete" callback of @see PickListener "PickListener".
257+
* @return true if success, false otherwise.
258+
*
259+
*/
260+
- (BOOL)deselectMapFeature:(nonnull NSString *)featureId;
261+
262+
/**
263+
*
264+
* @brief Resets the currently selected map features.
265+
*
266+
*/
267+
- (void)deselectAllMapFeatures;
268+
222269
/**
223270
* @cond
224271
*/
@@ -320,4 +367,11 @@ DEFAULT_EXPORT_ATTRIBUTE
320367
*/
321368
@property (nonatomic) float pickRadius;
322369

370+
/**
371+
*
372+
* @brief List of currently selected map features.
373+
*
374+
*/
375+
@property (nonatomic, nonnull, readonly) NSArray<NSString *> * selectedMapFeatures;
376+
323377
@end

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCMapObjectType.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ typedef NS_ENUM(NSInteger, NCMapObjectType)
2626
* @see FlatIconMapObject "FlatIconMapObject"
2727
*/
2828
NCMapObjectTypeFLATICON,
29+
/**
30+
* @brief polygon
31+
*
32+
* @see PolygonMapObject "PolygonMapObject"
33+
*/
34+
NCMapObjectTypePOLYGON,
2935
/**
3036
* @brief polyline
3137
*
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#import "NCExport.h"
2+
#import "NCLocationPolygon.h"
3+
#import "NCMapObject.h"
4+
#import <Foundation/Foundation.h>
5+
6+
7+
/**
8+
* @file NCPolygonMapObject.h
9+
* @brief @copybrief NCPolygonMapObject
10+
*/
11+
/**
12+
* @ingroup navigine_objc_classes
13+
* @ingroup navigine_objc_location_view
14+
*
15+
* @brief represents polygon object on location view.
16+
*
17+
* Referenced from @see LocationWindow "LocationWindow".
18+
*
19+
*/
20+
DEFAULT_EXPORT_ATTRIBUTE
21+
@interface NCPolygonMapObject : NCMapObject
22+
23+
/**
24+
*
25+
* @brief Method is used to specify source polygon of object.
26+
* @param polygon metrics coordinate of polygon @see LocationPolygon "LocationPolygon".
27+
* @return true if success, false otherwise.
28+
*
29+
*/
30+
- (BOOL)setPolygon:(nonnull NCLocationPolygon *)polygon;
31+
32+
/**
33+
*
34+
* @brief Method is used to specify color of object.
35+
* @param red red RGBA component.
36+
* @param green green RGBA component.
37+
* @param blue blue RGBA component.
38+
* @param alpha Opacity multiplicator. Values below 0 will be set to 0. Default: 1.
39+
* @return true if success, false otherwise.
40+
*
41+
*/
42+
- (BOOL)setColor:(float)red
43+
green:(float)green
44+
blue:(float)blue
45+
alpha:(float)alpha;
46+
47+
@end

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCPolylineMapObject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ DEFAULT_EXPORT_ATTRIBUTE
2222

2323
/**
2424
*
25-
* @brief Method is used to specify source pyline of object.
26-
* @param polyline metrics coordinate of pyline @see LocationPolyline "LocationPolyline".
25+
* @brief Method is used to specify source polyline of object.
26+
* @param polyline metrics coordinate of polyline @see LocationPolyline "LocationPolyline".
2727
* @return true if success, false otherwise.
2828
*
2929
*/

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/Navigine.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ FOUNDATION_EXPORT const unsigned char NavigineVersionString[];
3636
#import "NCSensorMeasurement.h"
3737
#import "NCSignalMeasurement.h"
3838
#import "NCMapObjectPickResult.h"
39-
#import "NCLocationPolygon.h"
4039
#import "NCLocationManager.h"
4140
#import "NCLocationListener.h"
4241
#import "NCLocationListManager.h"
@@ -55,6 +54,8 @@ FOUNDATION_EXPORT const unsigned char NavigineVersionString[];
5554
#import "NCReferencePoint.h"
5655
#import "NCSublocation.h"
5756
#import "NCLocation.h"
57+
#import "NCLocationPolygon.h"
58+
#import "NCPolygonMapObject.h"
5859
#import "NCPolyline.h"
5960
#import "NCLocationPolyline.h"
6061
#import "NCPolylineMapObject.h"
Binary file not shown.

Frameworks/Navigine.xcframework/ios-arm64_x86_64-simulator/Navigine.framework/Headers/NCLocationWindow.h

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
@class NCCircleMapObject;
1010
@class NCFlatIconMapObject;
1111
@class NCIconMapObject;
12+
@class NCPolygonMapObject;
1213
@class NCPolylineMapObject;
1314
@protocol NCCameraListener;
1415
@protocol NCInputListener;
@@ -110,6 +111,23 @@ DEFAULT_EXPORT_ATTRIBUTE
110111
*/
111112
- (BOOL)removeFlatIconMapObject:(nullable NCFlatIconMapObject *)flatIconMapObject;
112113

114+
/**
115+
*
116+
* @brief Method is used to create and add polygon map object to the location view.
117+
* @return PolygonMapObject instance @see PolygonMapObject "PolygonMapObject" if success, null otherwise.
118+
*
119+
*/
120+
- (nullable NCPolygonMapObject *)addPolygonMapObject;
121+
122+
/**
123+
*
124+
* @brief Method is used to remove polygon map object from the location view.
125+
* @param polygonMapObject polygon map object instance @see PolygonMapObject "PolygonMapObject".
126+
* @return true if success, false otherwise.
127+
*
128+
*/
129+
- (BOOL)removePolygonMapObject:(nullable NCPolygonMapObject *)polygonMapObject;
130+
113131
/**
114132
*
115133
* @brief Method is used to create and add polyline map object to the location view.
@@ -219,6 +237,35 @@ DEFAULT_EXPORT_ATTRIBUTE
219237
duration:(int32_t)duration
220238
callback:(nullable NCCameraCallback)callback;
221239

240+
/**
241+
*
242+
* @brief Selects a map feature with the specified featureId.
243+
*
244+
* @param featureId featureId can be extracted from the `mapFeaturePickResult` container by
245+
* using @see onMapFeaturePickComplete "onMapFeaturePickComplete" callback of @see PickListener "PickListener".
246+
* @return true if success, false otherwise.
247+
*
248+
*/
249+
- (BOOL)selectMapFeature:(nonnull NSString *)featureId;
250+
251+
/**
252+
*
253+
* @brief Deselects a map feature with the specified featureId.
254+
*
255+
* @param featureId featureId can be extracted from the `mapFeaturePickResult` container by
256+
* using @see onMapFeaturePickComplete "onMapFeaturePickComplete" callback of @see PickListener "PickListener".
257+
* @return true if success, false otherwise.
258+
*
259+
*/
260+
- (BOOL)deselectMapFeature:(nonnull NSString *)featureId;
261+
262+
/**
263+
*
264+
* @brief Resets the currently selected map features.
265+
*
266+
*/
267+
- (void)deselectAllMapFeatures;
268+
222269
/**
223270
* @cond
224271
*/
@@ -320,4 +367,11 @@ DEFAULT_EXPORT_ATTRIBUTE
320367
*/
321368
@property (nonatomic) float pickRadius;
322369

370+
/**
371+
*
372+
* @brief List of currently selected map features.
373+
*
374+
*/
375+
@property (nonatomic, nonnull, readonly) NSArray<NSString *> * selectedMapFeatures;
376+
323377
@end

Frameworks/Navigine.xcframework/ios-arm64_x86_64-simulator/Navigine.framework/Headers/NCMapObjectType.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ typedef NS_ENUM(NSInteger, NCMapObjectType)
2626
* @see FlatIconMapObject "FlatIconMapObject"
2727
*/
2828
NCMapObjectTypeFLATICON,
29+
/**
30+
* @brief polygon
31+
*
32+
* @see PolygonMapObject "PolygonMapObject"
33+
*/
34+
NCMapObjectTypePOLYGON,
2935
/**
3036
* @brief polyline
3137
*

0 commit comments

Comments
 (0)