Skip to main content

ClientInfo

wemap-sdk-js


Interface: ClientInfo

Identity of the application using the SDK, sent to Wemap backends so usage can be attributed to it. sdk / sdkVersion are filled in by the SDK.

Properties​

app?​

optional app?: string

Human-readable name of the app or site. Defaults to document.title.


appId?​

optional appId?: string

Stable key for the app. Defaults to location.hostname; set it explicitly when the hostname is not a good identifier (e.g. a white-label domain).


via?​

optional via?: string

The layer wrapping the SDK, when there is one (e.g. 'livemap').


viaVersion?​

optional viaVersion?: string

Version of that layer.