NMSMapSettings.h
1 //
2 // NMSMapSettings.h
3 // NavionicsMobileSDK
4 //
5 // Copyright © 2016 Navionics. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import "NMSEnums.h"
10 
12 @interface NMSMapSettings : NSObject
13 
18 +(instancetype)mapSettings;
19 
23 @property(nonatomic,readonly)NMSMapSettingsType type;
24 
26 @property(nonatomic,readonly)NMSMapMode mapMode;
27 
29 @property(nonatomic,readonly)NMSDepthUnit depthUnit;
30 
32 @property(nonatomic,readonly)NMSSpeedUnit speedUnit;
33 
35 @property(nonatomic,readonly)NMSDistanceUnit distanceUnit;
36 
38 @property(nonatomic,readonly)NMSDepthContoursDensity depthContoursDensity;
39 
41 @property(nonatomic,readonly)BOOL easyViewEnabled;
42 
47 @property(nonatomic,readonly)int depthContours;
48 
52 @property(nonatomic,readonly)int depthContoursMin;
53 
55 @property(nonatomic,readonly)int depthContoursMax;
56 
58 @property(nonatomic,readonly)BOOL depthContoursAll;
59 
64 @property(nonatomic,readonly)int depthAreas;
65 
69 @property(nonatomic,readonly)int depthAreasMin;
70 
72 @property(nonatomic,readonly)int depthAreasMax;
73 
75 @property(nonatomic,readonly)int poolWaterLevel;
76 
78 @property(nonatomic,readonly)int poolWaterLevelMin;
79 
81 @property(nonatomic,readonly)int poolWaterLevelMax;
82 
87 @property(nonatomic,readonly)int shallowDepthLimit;
88 
90 @property(nonatomic,readonly)int shallowDepthLimitMin;
91 
93 @property(nonatomic,readonly)int shallowDepthLimitMax;
94 
98 @property(nonatomic,readonly)BOOL seabedAreaEnabled;
99 
103 @property(nonatomic,readonly)BOOL fishingModeEnabled;
104 
110 @property(nonatomic,readonly)int fishingAreaRangeLower;
111 
115 @property(nonatomic,readonly)int fishingAreaRangeLowerMin;
116 
118 @property(nonatomic,readonly)int fishingAreaRangeLowerMax;
119 
123 @property(nonatomic,readonly)int fishingAreaRangeUpper;
124 
126 @property(nonatomic,readonly)int fishingAreaRangeUpperMin;
127 
129 @property(nonatomic,readonly)int fishingAreaRangeUpperMax;
130 
131 
132 @end
133 
136 
138 @property(nonatomic,assign)NMSMapMode mapMode;
139 
141 @property(nonatomic,assign)NMSDepthUnit depthUnit;
142 
144 @property(nonatomic,assign)NMSSpeedUnit speedUnit;
145 
147 @property(nonatomic,assign)NMSDistanceUnit distanceUnit;
148 
150 @property(nonatomic,assign)NMSDepthContoursDensity depthContoursDensity;
151 
153 @property(nonatomic,assign)BOOL easyViewEnabled;
154 
159 @property(nonatomic,assign)int depthContours;
160 
162 @property(nonatomic,assign)BOOL depthContoursAll;
163 
168 @property(nonatomic,assign)int depthAreas;
169 
171 @property(nonatomic,assign)int poolWaterLevel;
172 
177 @property(nonatomic,assign)int shallowDepthLimit;
178 
182 @property(nonatomic,assign)BOOL seabedAreaEnabled;
183 
187 @property(nonatomic,assign)BOOL fishingModeEnabled;
188 
194 @property(nonatomic,assign)int fishingAreaRangeLower;
195 
201 @property(nonatomic,assign)int fishingAreaRangeUpper;
202 
203 @end
NMSSpeedUnit speedUnit
The speed unit. NMSSpeedUnitKPH by default.
Dynamic settings of the map.
NMSDepthUnit depthUnit
The depth unit. NMSDepthUnitMeters by default.
int shallowDepthLimit
The shallow areas visibility threshold in the current depth unit. 0 by default Advanced map setting...
int shallowDepthLimitMin
The current min valid value for shallowDepthLimit.
BOOL depthContoursAll
Enable all the depth contours. When enabled depthContours will be ignored. YES by default...
BOOL easyViewEnabled
Enable the easy view. All the labels and icons will be drawn bigger. NO by default.
int poolWaterLevelMax
The current max valid value for poolWaterLevel.
Dynamic settings of the map.
NMSMapMode mapMode
The map mode.
BOOL fishingModeEnabled
Enable the Fishing Mode. NO by default Advanced map setting. Can be modified only if a type is NMSMa...
BOOL easyViewEnabled
Enable the easy view. All the labels and icons will be drawn bigger. NO by default.
int fishingAreaRangeLowerMax
The current max valid value for fishingAreaRangeLower.
int depthAreasMin
The current min valid value for depthAreas It is automatically aligned when shallowDepthLimit change...
int depthAreas
The depth areas visibility threshold in the current depth unit. 20 by default (in the default depth u...
int depthContoursMin
The current min valid value for depthContours It is automatically aligned when depthAreas or fishing...
NMSDepthContoursDensity depthContoursDensity
The density of the depth contours. Very High by default.
int fishingAreaRangeUpperMin
The current min valid value for fishingAreaRangeUpper.
NMSSpeedUnit speedUnit
The speed unit. NMSSpeedUnitKPH by default.
int poolWaterLevel
The water level in the current depth unit. 0 by default.
int fishingAreaRangeLower
The lower depth value of the fishing area range. Needs Fishing Mode enabled. 0 by default Advanced m...
int depthAreas
The depth areas visibility threshold in the current depth unit. 20 by default (in the default depth u...
int depthAreasMax
The current max valid value for depthAreas.
int poolWaterLevelMin
The current min valid value for poolWaterLevel.
int fishingAreaRangeUpperMax
The current max valid value for fishingAreaRangeUpper.
BOOL depthContoursAll
Enable all the depth contours. When enabled depthContours will be ignored. YES by default...
int shallowDepthLimitMax
The current max valid value for shallowDepthLimit.
int fishingAreaRangeLower
The lower depth value of the fishing area range. Needs Fishing Mode enabled. 0 by default Advanced m...
int depthContoursMax
The current max valid value for depthContours.
int poolWaterLevel
The water level in the current depth unit. 0 by default.
BOOL seabedAreaEnabled
Enable the couloured Seabed Area. NO by default Advanced map setting. Can be modified only if a type...
int shallowDepthLimit
The shallow areas visibility threshold in the current depth unit. 0 by default Advanced map setting...
instancetype mapSettings()
Builds and returns the default NMSSettings.
NMSMapMode mapMode
The map mode.
NMSMapSettingsType type
The map settings type NMSMapSettingsTypeAdvanced when the logged user has at least one valid subcrip...
NMSDistanceUnit distanceUnit
The distance unit. NMSDistanceUnitKilometers by default.
int depthContours
The depth contours visibility threshold in the current depth unit. Will be ignored when depthContours...
BOOL seabedAreaEnabled
Enable the couloured Seabed Area. NO by default Advanced map setting. Can be modified only if a type...
int fishingAreaRangeLowerMin
The current min valid value for fishingAreaRangeLower It is automatically aligned when shallowDepthL...
int fishingAreaRangeUpper
The upper depth value of the fishing area range. Needs Fishing Mode enabled. 0 by default Advanced m...
NMSDistanceUnit distanceUnit
The distance unit. NMSDistanceUnitKilometers by default.
NMSDepthUnit depthUnit
The depth unit. NMSDepthUnitMeters by default.
BOOL fishingModeEnabled
Enable the Fishing Mode. NO by default Advanced map setting. Can be modified only if a type is NMSMa...
int depthContours
The depth contours visibility threshold in the current depth unit. Will be ignored when depthContours...
int fishingAreaRangeUpper
The upper depth value of the fishing area range. Needs Fishing Mode enabled. 0 by default Advanced m...
NMSDepthContoursDensity depthContoursDensity
The density of the depth contours. Very High by default.