You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,9 @@ You can change additional MapSelector properties. Full properties list is shown
91
91
- `BOOL fillInside` - Used to switching between inside or outside filling;
92
92
- `UIColor *fillColor` - Used to specify the selector fill color. Color is used to fill the circular map region;
93
93
- `UIColor *strokeColor` - Used to specify the selector stroke color. Color is used to delimit the circular map region;
94
-
- `BOOL shouldShowRadiusText` - Indicates whether the radius text should be displayed or not.
94
+
- `CGFloat mapRegionCoef` - Used to specify the magnification factor maps region. This parameter affects display the maps region after changing the selector settings. It is recommended to set a value greater than 1.f;
95
+
- `BOOL shouldShowRadiusText` - Indicates whether the radius text should be displayed or not;
96
+
- `BOOL shouldLongPressGesture` - It allows to move the selector to a new location via long press gesture.
95
97
96
98
### DBMapSelectorManagerDelegate
97
99
@@ -123,6 +125,11 @@ You can implement these methods in your `MyViewController` class in order to res
123
125
```
124
126
## Version history
125
127
128
+
### 1.2.1
129
+
- Added new property `BOOL shouldLongPressGesture`. It allows to move the selector to a new location via long press gesture.
130
+
- Added new property `CGFloat mapRegionCoef`. The magnification factor maps region after changing the selector settings. It is recommended to set a value greater than 1.f.
131
+
- Improved drawing selector after first display map controller. Fixed problem when sometimes it cuts the circle after first load.
132
+
126
133
### 1.2.0
127
134
- The DBMapSelectorViewController was replaced by a DBMapSelectorManager. This change allows the functionality provided by this component to be more easily integrated into existing projects where, for instance, the target view controller already inherits from another custom view controller. (Thank [Marcelo Schroeder](https://github.com/marcelo-schroeder) for giving solution).
128
135
- Improved user experience when moving the map selector.
0 commit comments