Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShapefileLayer

Hierarchy

  • ShapefileLayer

Implements

  • Layer
  • Layer
  • Layer
  • Layer

Index

Constructors

constructor

  • new ShapefileLayer(rawId: number, id: string, name: string, active: boolean, minScale: number, maxScale: number, legendData?: LayerLegendImageInfo): ShapefileLayer
  • new ShapefileLayer(rawId: number, id: string, name: string, active: boolean, minScale: number, maxScale: number, legendData?: LayerLegendImageInfo): ShapefileLayer
  • new ShapefileLayer(rawId: number, id: string, name: string, active: boolean, minScale: number, maxScale: number, legendData?: LayerLegendImageInfo): ShapefileLayer
  • Parameters

    • rawId: number
    • id: string
    • name: string
    • active: boolean
    • minScale: number
    • maxScale: number
    • Optional legendData: LayerLegendImageInfo

    Returns ShapefileLayer

  • Parameters

    • rawId: number
    • id: string
    • name: string
    • active: boolean
    • minScale: number
    • maxScale: number
    • Optional legendData: LayerLegendImageInfo

    Returns ShapefileLayer

  • Parameters

    • rawId: number
    • id: string
    • name: string
    • active: boolean
    • minScale: number
    • maxScale: number
    • Optional legendData: LayerLegendImageInfo

    Returns ShapefileLayer

Properties

Private _active

_active: any

Private _activeChanged

_activeChanged: any = new EventSource<ActiveLayerChangeArgs>("shapefileLayer:activeChanged")

Private _children

_children: any = []

Private _id

_id: any

Private _legendInfo

_legendInfo: any

Private _maxScale

_maxScale: any

Private _minScale

_minScale: any

Private _name

_name: any

Private _parent

_parent: any

Private _rawId

_rawId: any

active

  • get active(): boolean
  • set active(active: boolean): void
  • Returns boolean

  • Parameters

    • active: boolean

    Returns void

activeChanged

  • get activeChanged(): Event<ActiveLayerChangeArgs>
  • Returns Event<ActiveLayerChangeArgs>

children

  • get children(): Array<ShapefileLayer>
  • Returns Array<ShapefileLayer>

hasChildren

  • get hasChildren(): boolean
  • Returns boolean

hasParent

  • get hasParent(): boolean
  • Returns boolean

id

  • get id(): string
  • Returns string

legendInfo

  • get legendInfo(): Array<LayerLegendImageInfo>
  • Returns Array<LayerLegendImageInfo>

maxScale

  • get maxScale(): number
  • Returns number

minScale

  • get minScale(): number
  • Returns number

name

  • get name(): string
  • Returns string

parent

  • get parent(): ShapefileLayer
  • set parent(parent: ShapefileLayer): void
  • Returns ShapefileLayer

  • Parameters

    • parent: ShapefileLayer

    Returns void

rawId

  • get rawId(): number
  • Returns number

Methods

activate

  • activate(): void
  • activate(): void
  • activate(): void
  • Returns void

  • Returns void

  • Returns void

deactivate

  • deactivate(): void
  • deactivate(): void
  • deactivate(): void
  • Returns void

  • Returns void

  • Returns void