Initializes a share MeridianSDK API instance for use across all calls to createMap. You can either call this function or pass your API instance directly to createMap.
const api = new MeridianSDK.API({ token: "<TOKEN GOES HERE>"});MeridianSDK.init({ api: api }); Copy
const api = new MeridianSDK.API({ token: "<TOKEN GOES HERE>"});MeridianSDK.init({ api: api });
Initializes a share MeridianSDK API instance for use across all calls to createMap. You can either call this function or pass your API instance directly to createMap.