@wemap/geo 0.3.3 → 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 CHANGED
@@ -12,7 +12,7 @@
12
12
  "directory": "packages/geo"
13
13
  },
14
14
  "name": "@wemap/geo",
15
- "version": "0.3.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": "837cec0c81359340e7205ebec13e0d1312c94dd4"
34
+ "gitHead": "8f0c34af735495a9ca59be1f1a2c4b1c2aab9688"
35
35
  }
@@ -1,6 +1,6 @@
1
1
  import Logger from '@wemap/logger';
2
- import isNumber from 'lodash/isnumber';
3
- import isString from 'lodash/isstring';
2
+ import isNumber from 'lodash.isnumber';
3
+ import isString from 'lodash.isstring';
4
4
 
5
5
  /**
6
6
  * A Level is the representation of a building floor number
@@ -2,7 +2,7 @@ import {
2
2
  Utils, Vector3, Quaternion
3
3
  } from '@wemap/maths';
4
4
  import Constants from '../Constants';
5
- import isNumber from 'lodash/isnumber';
5
+ import isNumber from 'lodash.isnumber';
6
6
  import Level from './Level';
7
7
 
8
8
  /**
@@ -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;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable max-statements */
2
2
  /* eslint-disable complexity */
3
- import isNumber from 'lodash/isnumber';
3
+ import isNumber from 'lodash.isnumber';
4
4
 
5
5
  import { rad2deg } from '@wemap/maths';
6
6