fleetmap-reports 1.0.865 → 1.0.866
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/package.json +1 -1
- package/src/speeding-report.js +2 -1
package/package.json
CHANGED
package/src/speeding-report.js
CHANGED
|
@@ -303,7 +303,8 @@ async function getRoadSpeedLimits (devices, routes, threshold, minimumMinutes =
|
|
|
303
303
|
const position = routes[0]
|
|
304
304
|
const country = crg.get_country(position.latitude, position.longitude)
|
|
305
305
|
const config = {
|
|
306
|
-
CHL: getOSMSpeedingEvents
|
|
306
|
+
CHL: getOSMSpeedingEvents,
|
|
307
|
+
MAR: getOSMSpeedingEvents
|
|
307
308
|
}
|
|
308
309
|
const method = config[country && country.code] || getHereEvents
|
|
309
310
|
return method(devices, routes, threshold, minimumMinutes)
|