itowns 2.36.0 → 2.36.1
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/changelog.md +15 -0
- package/dist/itowns.js +1 -1
- package/dist/itowns.js.map +1 -1
- package/lib/Core/View.js +1 -2
- package/lib/Main.js +1 -1
- package/package.json +1 -1
package/lib/Core/View.js
CHANGED
|
@@ -1192,13 +1192,12 @@ var View = /*#__PURE__*/function (_THREE$EventDispatche) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
1194
|
this.getPickingPositionFromDepth(mouse, positionVector);
|
|
1195
|
-
var distance = this.camera.camera3D.position.distanceTo(positionVector);
|
|
1196
1195
|
coordinates.setFromVector3(positionVector); // Get the correct precision; the position variable will be set in this
|
|
1197
1196
|
// function.
|
|
1198
1197
|
|
|
1199
1198
|
var precision;
|
|
1200
1199
|
var precisions = {
|
|
1201
|
-
M: this.
|
|
1200
|
+
M: this.getPixelsToMeters(radius, mouse),
|
|
1202
1201
|
D: 0.001 * radius
|
|
1203
1202
|
};
|
|
1204
1203
|
|
package/lib/Main.js
CHANGED
|
@@ -690,7 +690,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
690
690
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
691
691
|
|
|
692
692
|
var conf = {
|
|
693
|
-
version: '2.36.
|
|
693
|
+
version: '2.36.1'
|
|
694
694
|
};
|
|
695
695
|
var REVISION = conf.version; // Geographic tools
|
|
696
696
|
|