Options
All
  • Public
  • Public/Protected
  • All
Menu

App component properties

export
interface

IAppProps

Hierarchy

  • IAppProps

Index

Properties

appSettings?: Dictionary<string>
since

0.14.8

externalBaseLayers?: IExternalBaseLayer[]

The list of external base layers

memberof

IAppProps

remarks

This option is for when you are passing in a Web Layout to the viewer, but you still want to provide external base layers. If passing in an Application Definition, this option is redundant as the Application Definition itself can define the set of external base layers

initCommand: IViewerInitCommand

The command that will carry out viewer initialization

memberof

IAppProps

since

0.14

layout: string | AdHocLayoutTemplate

The layout to use

since

0.14 type changed to include AdHocLayoutTemplate

locale?: string

The locale to use

MapGuide-specific options

memberof

IAppProps

since

0.14

resourceId: string | (() => Promise<ApplicationDefinition>)

A resource id to a Web Layout or Application Definition or a function that will fetch the required Application Definition.

memberof

IAppProps

urlPropsIgnore?: string[]

If specified, tells the application to not sync the following URL params to the URL, and to skip reading these params when initializing/refreshing.

memberof

IAppProps

since

0.14

Methods

  • A callback function that will be called when the viewer has finished initializing

    Parameters

    Returns void

Generated using TypeDoc