Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TemplateOptions

Hierarchy

Index

Properties

attributionEnabled

attributionEnabled: boolean

When false, the attribution is not displayed on the printout.

Read more...

author

author: string

The text used for the author if the specified layout contains an author text element.

Read more...

copyright

copyright: string

The text used for the copyright if the specified layout contains an copyright text element.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

dpi

dpi: string

Resolution in dots per inch.

Read more...

fileName

fileName: string

This property only applies when the layout value is map-only.

Read more...

forceFeatureAttributes

forceFeatureAttributes: boolean

When true, the feature's attributes are included in feature collection layers even when they are not needed for rendering.

Read more...

format

format: "png8" | "png32" | "jpg" | "gif" | "pdf" | "svg" | "svgz" | "eps"

The output format for the printed map.

Read more...

height

height: number

Map height.

Read more...

initialized

initialized: boolean

layout

layout: "map-only" | "a3-landscape" | "a3-portrait" | "a4-landscape" | "a4-portrait" | "letter-ansi-a-landscape" | "letter-ansi-a-portrait" | "tabloid-ansi-b-landscape" | "tabloid-ansi-b-portrait"

The layout used for the print output.

Read more...

legendEnabled

legendEnabled: boolean

When false, the legend is not displayed on the printout.

Read more...

scale

scale: number

The map scale of the printed map.

Read more...

scaleEnabled

scaleEnabled: boolean

When true, scale is used in the printed map.

Read more...

title

title: string

The text used for the map title if the specified layout contains a title text element.

Read more...

width

width: number

Map width.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TemplateOptions

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TemplateOptions

  • Parameters

    Returns TemplateOptions

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc