Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the entry point to the Application component

In the browser globals context, this is accessible via MapGuide.Application

Hierarchy

  • ApplicationViewModel

Index

Properties

Protected _store

_store: any

Methods

dispatch

getCommand

  • getCommand(commandName: string): ICommand | undefined
  • Gets the command registered by the specific name

    memberof

    ApplicationViewModel

    Parameters

    • commandName: string

    Returns ICommand | undefined

Protected getExtraInitialState

  • getExtraInitialState(): any
  • Returns any extra initial state to include as part of initializing the redux store

    Overridable by sub-classes that want to include extra initial state

    virtual
    memberof

    ApplicationViewModel

    Returns any

Protected getExtraReducers

  • getExtraReducers(): any
  • Returns any extra reducers to include as part of initializing the redux store

    Overridable by sub-classes that want to include custom reducers

    virtual
    memberof

    ApplicationViewModel

    Returns any

getState

  • Returns the current application state. This state is read-only and should not be modified.

    memberof

    ApplicationViewModel

    Returns Readonly<IApplicationState>

mount

  • Mounts the map viewer application at the specified DOM element with the given component props.

    For the viewer templates already provided, this method is already called for you in the template's HTML. If you are creating your own viewer template, be sure to call this method must on the template's HTML.

    memberof

    ApplicationViewModel

    Parameters

    Returns void

Generated using TypeDoc