- async loading data layers in Map.js class

This commit is contained in:
Arno Kaimbacher 2021-03-03 08:55:03 +01:00
parent 1302f5d135
commit bec7c4776d
8 changed files with 619 additions and 242 deletions

View file

@ -116,6 +116,10 @@ export class Picking {
}
beginDrag(event) {
// exit drag method, if not left mouse button was clicked
if (this.touchCapable == false && event.which != 1) {
return;
}
// this.mouse.setToNormalizedDeviceCoordinates(event, window);
let point = this._getCanvasPoint(event);
let width = this.simulation.renderer.domElement.clientWidth;