@mapsindoors/react-native-maps-indoors-mapbox 2.5.1 → 2.5.2

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Documentation
4
4
 
5
- Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.5.0/index.html) to get an overview of what the MapsIndoors SDK offers.
5
+ Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.5.2/index.html) to get an overview of what the MapsIndoors SDK offers.
6
6
 
7
7
  ## Getting started
8
8
 
@@ -93,7 +93,7 @@ dependencies {
93
93
  }
94
94
 
95
95
  implementation 'com.mapbox.maps:android:11.11.0'
96
- implementation 'com.mapspeople.mapsindoors:mapbox-v11:4.12.0'
96
+ implementation 'com.mapspeople.mapsindoors:mapbox-v11:4.12.4'
97
97
  implementation 'com.facebook.react:react-native:+' // From node_modules
98
98
  implementation 'androidx.core:core-ktx:1.3.2'
99
99
  implementation 'com.github.bumptech.glide:glide:4.16.0'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mapsindoors/react-native-maps-indoors-mapbox",
3
3
  "title": "React Native MapsIndoors Mapbox",
4
- "version": "2.5.1",
4
+ "version": "2.5.2",
5
5
  "description": "React Native MapsIndoors component with mapbox",
6
6
  "react-native": "index.ts",
7
7
  "files": [
@@ -24,6 +24,6 @@ Pod::Spec.new do |s|
24
24
  s.requires_arc = true
25
25
 
26
26
  s.dependency "React"
27
- s.dependency "MapsIndoorsMapbox11", "4.11.0"
28
- s.dependency "MapsIndoorsCodable", "4.11.0"
27
+ s.dependency "MapsIndoorsMapbox11", "4.12.2"
28
+ s.dependency "MapsIndoorsCodable", "4.12.2"
29
29
  end
@@ -103,73 +103,82 @@ export default class MPRouteStep {
103
103
  */
104
104
  export interface MPRouteStepParams {
105
105
  /**
106
- * Description placeholder.
106
+ * The distance of the route step.
107
107
  *
108
108
  * @type {?MPRouteProperty}
109
109
  */
110
110
  distance?: MPRouteProperty,
111
111
  /**
112
- * Description placeholder.
112
+ * The duration of the route step.
113
113
  *
114
114
  * @type {?MPRouteProperty}
115
115
  */
116
116
  duration?: MPRouteProperty,
117
117
  /**
118
- * Description placeholder.
118
+ * An array of sub-steps for the route step.
119
119
  *
120
120
  * @type {?MPRouteStep[]}
121
121
  */
122
122
  steps?: MPRouteStep[],
123
123
  /**
124
- * Description placeholder.
124
+ * An array of coordinates representing the geometry of the route step.
125
125
  *
126
126
  * @type {?MPRouteCoordinate[]}
127
127
  */
128
128
  geometry?: MPRouteCoordinate[],
129
129
  /**
130
- * Description placeholder.
130
+ * The highway associated with the route step.
131
131
  *
132
132
  * @type {?string}
133
133
  */
134
134
  highway?: string,
135
135
  /**
136
- * Description placeholder.
136
+ * The abutters associated with the route step.
137
137
  *
138
138
  * @type {?string}
139
139
  */
140
140
  abutters?: string,
141
141
  /**
142
- * Description placeholder.
142
+ * The maneuver associated with the route step.
143
+ *
144
+ * Possible values incldue:
145
+ * - "turn-left"
146
+ * - "turn-right"
147
+ * - "straight"
148
+ * - "uturn-left"
149
+ * - "uturn-right"
150
+ * - "turn-sharp-left"
151
+ * - "turn-sharp-right"
143
152
  *
144
153
  * @type {?string}
145
154
  */
146
155
  maneuver?: string,
147
156
  /**
148
- * Description placeholder.
157
+ * The starting location of the route step.
149
158
  *
150
159
  * @type {?MPRouteCoordinate}
151
160
  */
152
161
  start_location?: MPRouteCoordinate,
153
162
  /**
154
- * Description placeholder.
163
+ * The ending location of the route step.
155
164
  *
156
165
  * @type {?MPRouteCoordinate}
157
166
  */
158
167
  end_location?: MPRouteCoordinate,
159
168
  /**
160
- * Description placeholder.
169
+ * Textual instructions for the step
161
170
  *
162
171
  * @type {?string}
163
172
  */
164
173
  html_instructions?: string,
165
174
  /**
166
- * Description placeholder.
175
+ * The travel mode for the route step.
167
176
  *
168
177
  * @type {?string}
169
178
  */
170
179
  travel_mode?: string,
171
180
  /**
172
- * Description placeholder.
181
+ * An array of available travel modes for the route step.
173
182
  *
174
183
  * @type {?string[]}
175
184
  */