react-native-maps 0.31.0-beta.2 → 0.31.0-beta.3

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.
package/index.d.ts CHANGED
@@ -562,6 +562,7 @@ declare module 'react-native-maps' {
562
562
  bearing?: number;
563
563
  tappable?: boolean;
564
564
  onPress?: (event: MapEvent<{ action: 'overlay-press' }>) => void;
565
+ opacity?: number;
565
566
  }
566
567
 
567
568
  export class Overlay extends React.Component<MapOverlayProps, any> {}
@@ -101,6 +101,7 @@ public class AirMapOverlay extends AirMapFeature implements ImageReadable {
101
101
  options.positionFromBounds(bounds);
102
102
  options.zIndex(zIndex);
103
103
  options.bearing(bearing);
104
+ options.transparency(transparency);
104
105
  return options;
105
106
  }
106
107
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React Native Mapview component for iOS + Android",
4
4
  "main": "index.js",
5
5
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
6
- "version": "0.31.0-beta.2",
6
+ "version": "0.31.0-beta.3",
7
7
  "license": "MIT",
8
8
  "scripts": {
9
9
  "lint": "eslint . --max-warnings 0",
@@ -41,6 +41,11 @@
41
41
  "react-native": ">= 0.51",
42
42
  "react-native-web": ">= 0.11"
43
43
  },
44
+ "peerDependenciesMeta": {
45
+ "react-native-web": {
46
+ "optional": true
47
+ }
48
+ },
44
49
  "devDependencies": {
45
50
  "@commitlint/cli": "16.2.3",
46
51
  "@commitlint/config-conventional": "16.2.1",