Namespace: util

vcs.vcm.util

Util classes cannot be edited via the config.json. They provide functionality which is more general than widgets and are used in mutliple locations

Classes

Balloon
Login
Projection
ViewPoint

Namespaces

CreateLink
editor
flight
style

Methods

vcs.vcm.util.downloadBlob(blob, fileName)

Download a blob

Name Type Description
blob Blob
fileName string

vcs.vcm.util.downloadCanvas(canvas, fileName, mimeType)

Download a canvas as an image

Name Type Description
canvas HTMLCanvasElement
fileName string
mimeType string

vcs.vcm.util.downloadText(text, fileName)

Download a blob

Name Type Description
text string
fileName string

Type Definitions

vcs.vcm.util.InvalidArgument{Error}

If invalid arguments are passed to a function, this error can be thrown, warning the developer of a miss-configuration and to assist debugging