@mapgear/geoapps > GeoApps > Initialize
GeoApps.Initialize() method
Initialize the GeoApps object in the current scope
Signature:Initialize(tenantUrl?: string, options?: IGeoAppsOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
tenantUrl | string | (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. |
options | IGeoAppsOptions | (Optional) Options for the initialization of GeoApps |
void