@@ -11,6 +11,7 @@ import com.mapbox.navigation.base.trip.model.eh.MatchablePoint
1111import com.mapbox.navigation.base.trip.model.eh.OpenLRStandard
1212import com.mapbox.navigation.core.MapboxNavigation
1313import com.mapbox.navigation.navigator.internal.MapboxNativeNavigator
14+ import com.mapbox.navigator.MatchingOptions
1415import com.mapbox.navigator.RoadObject
1516import com.mapbox.navigator.RoadObjectMatcherError
1617import com.mapbox.navigator.RoadObjectMatcherListener
@@ -114,7 +115,7 @@ class RoadObjectMatcher internal constructor(
114115 MatchableOpenLr (roadObjectId, openLRLocation, openLRStandard)
115116 )
116117 ),
117- false
118+ MatchingOptions ( false , false ),
118119 )
119120 }
120121
@@ -135,7 +136,7 @@ class RoadObjectMatcher internal constructor(
135136 matchableOpenLrs.map {
136137 EHorizonFactory .buildNativeMatchableOpenLr(it)
137138 },
138- useOnlyPreloadedTiles
139+ MatchingOptions ( useOnlyPreloadedTiles, false ),
139140 )
140141 }
141142
@@ -163,7 +164,7 @@ class RoadObjectMatcher internal constructor(
163164 MatchableGeometry (roadObjectId, polyline)
164165 )
165166 ),
166- false
167+ MatchingOptions ( false , false ),
167168 )
168169 }
169170
@@ -189,7 +190,7 @@ class RoadObjectMatcher internal constructor(
189190 matchableGeometries.map {
190191 EHorizonFactory .buildNativeMatchableGeometry(it)
191192 },
192- useOnlyPreloadedTiles
193+ MatchingOptions ( useOnlyPreloadedTiles, false ),
193194 )
194195 }
195196
@@ -217,7 +218,7 @@ class RoadObjectMatcher internal constructor(
217218 MatchableGeometry (roadObjectId, polygon)
218219 )
219220 ),
220- false
221+ MatchingOptions ( false , false ),
221222 )
222223 }
223224
@@ -243,7 +244,7 @@ class RoadObjectMatcher internal constructor(
243244 matchableGeometries.map {
244245 EHorizonFactory .buildNativeMatchableGeometry(it)
245246 },
246- useOnlyPreloadedTiles
247+ MatchingOptions ( useOnlyPreloadedTiles, false ),
247248 )
248249 }
249250
@@ -271,7 +272,7 @@ class RoadObjectMatcher internal constructor(
271272 MatchableGeometry (roadObjectId, gantry)
272273 )
273274 ),
274- false
275+ MatchingOptions ( false , false ),
275276 )
276277 }
277278
@@ -297,7 +298,7 @@ class RoadObjectMatcher internal constructor(
297298 matchableGeometries.map {
298299 EHorizonFactory .buildNativeMatchableGeometry(it)
299300 },
300- useOnlyPreloadedTiles
301+ MatchingOptions ( useOnlyPreloadedTiles, false ),
301302 )
302303 }
303304
@@ -323,7 +324,7 @@ class RoadObjectMatcher internal constructor(
323324 MatchablePoint (roadObjectId, point)
324325 )
325326 ),
326- false
327+ MatchingOptions ( false , false ),
327328 )
328329 }
329330
@@ -347,7 +348,7 @@ class RoadObjectMatcher internal constructor(
347348 matchablePoints.map {
348349 EHorizonFactory .buildNativeMatchablePoint(it)
349350 },
350- useOnlyPreloadedTiles
351+ MatchingOptions ( useOnlyPreloadedTiles, false ),
351352 )
352353 }
353354
0 commit comments