@wemap/geo 0.3.4 → 0.3.5
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 +2 -2
- package/src/coordinates/WGS84.js +0 -4
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"directory": "packages/geo"
|
|
13
13
|
},
|
|
14
14
|
"name": "@wemap/geo",
|
|
15
|
-
"version": "0.3.
|
|
15
|
+
"version": "0.3.5",
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/wemap/wemap-utils-js/issues"
|
|
18
18
|
},
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"lodash.isnumber": "^3.0.3",
|
|
32
32
|
"lodash.isstring": "^4.0.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "8f0c34af735495a9ca59be1f1a2c4b1c2aab9688"
|
|
35
35
|
}
|
package/src/coordinates/WGS84.js
CHANGED
|
@@ -281,10 +281,6 @@ class WGS84 {
|
|
|
281
281
|
return new WGS84(message.lat, message.lng, message.alt, Level.fromString(message.level));
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
static fromPinpoint(pinpoint) {
|
|
285
|
-
return new WGS84(pinpoint.latitude, pinpoint.longitude, pinpoint.altitude);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
284
|
static sampleRoute(route, stepSize = 0.7, maxLength = Number.MAX_VALUE) {
|
|
289
285
|
|
|
290
286
|
let p1, p2 = null;
|