react-native-mapbox-gl
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -0,1 +1,5 @@ | ||
#v2.1.3 | ||
* [iOS] Adds props `attributionButtonIsHidden`, `logoIsHidden` and `compassIsHidden` for showing and hiding their respective view. | ||
#v2.1.2 | ||
@@ -2,0 +6,0 @@ |
@@ -99,2 +99,5 @@ 'use strict'; | ||
})), | ||
attributionButtonIsHidden: React.PropTypes.bool, | ||
logoIsHidden: React.PropTypes.bool, | ||
compassIsHidden: React.PropTypes.bool, | ||
onRegionChange: React.PropTypes.func, | ||
@@ -119,3 +122,6 @@ onRegionWillChange: React.PropTypes.func, | ||
zoomEnabled: true, | ||
zoomLevel: 0 | ||
zoomLevel: 0, | ||
attributionButtonIsHidden: false, | ||
logoIsHidden: false, | ||
compassIsHidden: false | ||
}; | ||
@@ -122,0 +128,0 @@ }, |
@@ -20,2 +20,5 @@ # iOS API Docs | ||
| `userTrackingMode` | `int` | Optional | `this.userTrackingMode.none` | Must add `mixins` to use. Valid values are `this.userTrackingMode.none`, `this.userTrackingMode.follow`, `this.userTrackingMode.followWithCourse`, `this.userTrackingMode.followWithHeading` | | ||
| `attributionButtonIsHidden` | `bool` | Optional | `false` | Whether attribution button is visible in lower right corner. *If true you must still attribute OpenStreetMap in your app. [Ref](https://www.mapbox.com/about/maps/)* | | ||
| `logoIsHidden` | `bool` | Optional | `false` | Whether logo is visible in lower left corner. | | ||
| `compassIsHidden` | `bool` | Optional | `false` | Whether compass is visible when map is rotated. | | ||
@@ -22,0 +25,0 @@ ## Events |
{ | ||
"name": "react-native-mapbox-gl", | ||
"description": "A Mapbox GL react native module for creating custom maps", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"author": "Bobby Sudekum", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
132528
456