mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
Make motion requirements less restrictive. Perform motion when both images has a mesh structure and have been merged. Also still require distance to be less than 30 meters.
29 lines
612 B
TypeScript
29 lines
612 B
TypeScript
import { Image } from "../../src/graph/Image";
|
|
import { MeshContract } from "../../src/api/contracts/MeshContract";
|
|
import { CoreImageEnt } from "../../src/api/ents/CoreImageEnt";
|
|
|
|
|
|
export class TestImage extends Image {
|
|
private _mesh: MeshContract;
|
|
|
|
constructor(core: CoreImageEnt) {
|
|
super(core);
|
|
}
|
|
|
|
public get assetsCached(): boolean {
|
|
return true;
|
|
}
|
|
|
|
public get image(): HTMLImageElement {
|
|
return null;
|
|
}
|
|
|
|
public get mesh(): MeshContract {
|
|
return this._mesh;
|
|
}
|
|
|
|
public set mesh(value: MeshContract) {
|
|
this._mesh = value;
|
|
}
|
|
}
|