Skip to main content

@mapgear/geoapps > GeoApps > Initialize

GeoApps.Initialize() method

Initialize the GeoApps object in the current scope

Signature:
Initialize(tenantUrl?: string, options?: IGeoAppsOptions): void;

Parameters

ParameterTypeDescription
tenantUrlstring(Optional) The tenant to connect to, normally something like {tenant}.geoapps.{tld}. When left undefined, it autodetects the tenant url based on the server it is running on. This is usefull when building apps within GeoApps, or develops in combination with the GeoApps CLI. When the tenant url is left empty, the chosen authentication option automatically switches to INTEGRATED.
optionsIGeoAppsOptions(Optional) Options for the initialization of GeoApps
Returns:

void