@wemap/providers 3.1.14 → 3.1.16

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 CHANGED
@@ -8,11 +8,11 @@
8
8
  "Guillaume Pannetier <guillaume.pannetier@getwemap.com>"
9
9
  ],
10
10
  "dependencies": {
11
- "@wemap/geo": "^3.1.14",
12
- "@wemap/graph": "^3.1.14",
11
+ "@wemap/geo": "^3.1.15",
12
+ "@wemap/graph": "^3.1.15",
13
13
  "@wemap/logger": "^3.0.0",
14
- "@wemap/maths": "^3.1.14",
15
- "@wemap/osm": "^3.1.14",
14
+ "@wemap/maths": "^3.1.15",
15
+ "@wemap/osm": "^3.1.15",
16
16
  "@wemap/utils": "^3.1.5",
17
17
  "geomagnetism": "^0.1.0",
18
18
  "lodash.isempty": "^4.4.0",
@@ -65,6 +65,6 @@
65
65
  "lint": "eslint --ext .js,.jsx --quiet src",
66
66
  "test": "mocha -r esm \"src/**/*.spec.js\""
67
67
  },
68
- "version": "3.1.14",
69
- "gitHead": "a79ee51029fda415610ca86a29e7a22d5f3ada60"
68
+ "version": "3.1.16",
69
+ "gitHead": "8238894f4e451bc5bf0b9e1ebaf32053c237e64c"
70
70
  }
@@ -127,6 +127,30 @@ class ProvidersInterface {
127
127
  static set logger(enabled) {
128
128
  ProvidersLogger.enabled = enabled;
129
129
  }
130
+
131
+ static get mapMatchingMaxDistance() {
132
+ return AbsolutePosition.mapMatching.maxDistance;
133
+ }
134
+
135
+ static set mapMatchingMaxDistance(maxDistance) {
136
+ AbsolutePosition.mapMatching.maxDistance = maxDistance;
137
+ }
138
+
139
+ static get mapMatchingMinDistance() {
140
+ return AbsolutePosition.mapMatching.minDistance;
141
+ }
142
+
143
+ static set mapMatchingMinDistance(minDistance) {
144
+ AbsolutePosition.mapMatching.minDistance = minDistance;
145
+ }
146
+
147
+ static get mapMatchingMaxAngleBearing() {
148
+ return AbsolutePosition.mapMatching.maxAngleBearing;
149
+ }
150
+
151
+ static set mapMatchingMaxAngleBearing(maxAngleBearing) {
152
+ AbsolutePosition.mapMatching.maxAngleBearing = maxAngleBearing;
153
+ }
130
154
  }
131
155
 
132
156
  export default ProvidersInterface;