@wemap/geo 3.2.1 → 3.2.2

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": "3.2.1",
15
+ "version": "3.2.2",
16
16
  "bugs": {
17
17
  "url": "https://github.com/wemap/wemap-modules-js/issues"
18
18
  },
@@ -29,5 +29,5 @@
29
29
  "@wemap/logger": "^3.2.1",
30
30
  "@wemap/maths": "^3.2.1"
31
31
  },
32
- "gitHead": "0d430815358a23068c8473b2c310b2945667b2c1"
32
+ "gitHead": "6ff8c054aed5ccbf0f456aad752c43f46fe6b278"
33
33
  }
@@ -30,10 +30,18 @@ class Coordinates {
30
30
  return this._lat;
31
31
  }
32
32
 
33
+ get latitude() {
34
+ return this._lat;
35
+ }
36
+
33
37
  get lng() {
34
38
  return this._lng;
35
39
  }
36
40
 
41
+ get longitude() {
42
+ return this._lng;
43
+ }
44
+
37
45
  /**
38
46
  * alt does not denote the altitude of a point but its height from
39
47
  * the "level" field (if defined) or from the ground