react-native-maps 1.21.0-alpha.39 → 1.21.0-alpha.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,9 @@
38
38
  if(_strokeWidth) {
39
39
  _circle.strokeWidth = _strokeWidth;
40
40
  }
41
+ if (_zIndex) {
42
+ _circle.zIndex = _zIndex;
43
+ }
41
44
  }
42
45
  - (void) didMoveToSuperview
43
46
  {
@@ -140,6 +140,9 @@ CGRect unionRect(CGRect a, CGRect b) {
140
140
  if (_onPress){
141
141
  [_realMarker setOnPress:_onPress];
142
142
  }
143
+ if (_zIndex){
144
+ [_realMarker setZIndex:_zIndex];
145
+ }
143
146
  [_realMarker setMap:map];
144
147
  }
145
148
 
@@ -66,6 +66,9 @@
66
66
  if (_holes){
67
67
  [self setHoles:_holes];
68
68
  }
69
+ if (_zIndex){
70
+ _polygon.zIndex = _zIndex;
71
+ }
69
72
  [_polygon setMap:map];
70
73
  }
71
74
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "lib/index.js",
6
6
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
7
7
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
8
- "version": "1.21.0-alpha.39",
8
+ "version": "1.21.0-alpha.40",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",