Skip to main content

Module: viewer

description Main interfaces and methods for interacting with and extending MapillaryJS.

Enumerations#

Classes#

Interfaces#

Type aliases#

CombiningFilterExpression#

Ƭ CombiningFilterExpression: [CombiningFilterOperator, ...(ComparisonFilterExpression | SetMembershipFilterExpression)[]]

Defined in#

graph/FilterExpression.ts:56


CombiningFilterOperator#

Ƭ CombiningFilterOperator: "all"

Defined in#

graph/FilterExpression.ts:16


ComparisonFilterExpression#

Ƭ ComparisonFilterExpression: [ComparisonFilterOperator, FilterKey, FilterValue]

Defined in#

graph/FilterExpression.ts:50


ComparisonFilterOperator#

Ƭ ComparisonFilterOperator: "==" | "!=" | ">" | ">=" | "<" | "<="

Defined in#

graph/FilterExpression.ts:4


FilterExpression#

Ƭ FilterExpression: ComparisonFilterExpression | SetMembershipFilterExpression | CombiningFilterExpression

Defined in#

graph/FilterExpression.ts:64


FilterImage#

Ƭ FilterImage: Pick<Image, "cameraType" | "capturedAt" | "clusterId" | "creatorId" | "creatorUsername" | "exifOrientation" | "height" | "id" | "mergeId" | "merged" | "ownerId" | "private" | "qualityScore" | "sequenceId" | "width">

Defined in#

graph/FilterExpression.ts:25


FilterKey#

Ƭ FilterKey: keyof FilterImage

Defined in#

graph/FilterExpression.ts:44


FilterOperator#

Ƭ FilterOperator: CombiningFilterOperator | ComparisonFilterOperator | SetMembershipFilterOperator

Defined in#

graph/FilterExpression.ts:19


FilterValue#

Ƭ FilterValue: boolean | number | string

Defined in#

graph/FilterExpression.ts:47


SetMembershipFilterExpression#

Ƭ SetMembershipFilterExpression: [SetMembershipFilterOperator, FilterKey, ...FilterValue[]]

Defined in#

graph/FilterExpression.ts:53


SetMembershipFilterOperator#

Ƭ SetMembershipFilterOperator: "in" | "!in"

Defined in#

graph/FilterExpression.ts:12

Events#

ViewerEventType#

• ViewerEventType: "bearing" | "click" | "contextmenu" | "dblclick" | "fov" | "dataloading" | "load" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "moveend" | "movestart" | "navigable" | "image" | "position" | "pov" | "reference" | "remove" | "sequenceedges" | "spatialedges"

Defined in#

viewer/events/ViewerEventType.ts:4

Functions#

isFallbackSupported#

â–¸ isFallbackSupported(): boolean

Test whether the current browser supports the fallback functionality of MapillaryJS.

description The fallback functionality does not include WebGL rendering, only 2D canvas rendering.

example var fallbackSupported = isFallbackSupported();

Returns#

boolean

Defined in#

util/Support.ts:145


isSupported#

â–¸ isSupported(): boolean

Test whether the current browser supports the full functionality of MapillaryJS.

description The full functionality includes WebGL rendering.

example var supported = isSupported();

Returns#

boolean

Defined in#

util/Support.ts:129