Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LayerBaseVector

The Vector layer base

augments

LayerBase

abstract

Hierarchy

Index

Constructors

constructor

Properties

Protected _$legendDiv

_$legendDiv: JQuery

Protected _animate

_animate: boolean

Protected _applyCollapseCalled

_applyCollapseCalled: boolean

_autoLoad

_autoLoad: boolean

Protected _id

_id: string

Protected _legendCheckbox

_legendCheckbox: boolean

Protected _legendCollapse

_legendCollapse: boolean

Protected _legendContent

_legendContent: string

Protected _loaded

_loaded: boolean

_mapMove

_mapMove: MapMoveCls

_mapMoveMakeGetParams

_mapMoveMakeGetParams: makeMapMoveParams

_mapMoveParams

_mapMoveParams: any

Protected _maxResolution

_maxResolution: number

Protected _maxZoom

_maxZoom: number

Protected _minResolution

_minResolution: number

Protected _minZoom

_minZoom: number

Protected _name

_name: string

_olLayer

_olLayer: Vector

_onDemand

_onDemand: boolean

_onDemandDelay

_onDemandDelay: number

Protected _opacity

_opacity: number

Protected _params

_params: any

_projection4326

_projection4326: Projection

_projectionMap

_projectionMap: Projection

_source

_source: Vector

_style

_style: Style | Array<Style> | ol.StyleFunction

Protected _url

_url: string

Protected _visible

_visible: boolean

Protected _zIndex

_zIndex: number

loadCallback

loadCallback: Function

Accessors

animate

  • get animate(): boolean
  • set animate(animate: boolean): void

autoLoad

  • get autoLoad(): boolean

features

  • get features(): Array<Feature>

id

  • get id(): string
  • set id(newId: string): void

Protected legendContent

  • get legendContent(): string
  • set legendContent(newVal: string): void

loaded

  • get loaded(): boolean

mapCrs

  • get mapCrs(): string

mapMove

mapMoveParams

  • get mapMoveParams(): any

mapProj

  • get mapProj(): Projection

maxResolution

  • get maxResolution(): number

maxZoom

  • get maxZoom(): number

minResolution

  • get minResolution(): number

minZoom

  • get minZoom(): number

name

  • get name(): string
  • set name(newName: string): void

olLayer

  • get olLayer(): Vector

onDemandDelay

  • get onDemandDelay(): number

opacity

  • get opacity(): number
  • set opacity(opacity: number): void

Protected params

  • get params(): any
  • set params(newParams: any): void

source

  • get source(): Vector

style

  • get style(): ol.StyleFunction | Array<Style> | Style
  • set style(style: ol.StyleFunction | Array<Style> | Style): void

url

  • get url(): string

visible

  • get visible(): boolean
  • set visible(visibility: boolean): void

zIndex

  • get zIndex(): number
  • set zIndex(newZ: number): void

Methods

Private _addLegendContent

  • _addLegendContent(additionalContent?: string): void

Protected _load

  • _load(): boolean

addFeatures

  • addFeatures(featureCollection: any): void

addLegendContent

  • addLegendContent(additionalContent: any): void

applyCollapse

  • applyCollapse(): any

clear

  • clear(): void

getLegendDiv

  • getLegendDiv(): string

Protected getOlLayer

  • getOlLayer(): Layer

Protected getSource

  • getSource(): Source

mapMoveBefore

  • mapMoveBefore(zoom: any, evtType: any): boolean
  • Before call to map move callback, can prevent call by returning false

    Parameters

    • zoom: any

      zoom level

    • evtType: any

    Returns boolean

    if the call should proceed

mapMoveCallback

  • mapMoveCallback(d: any): void

mapMoveMakeGetParams

  • mapMoveMakeGetParams(extent: any, zoomLevel: any): void
  • callback to generate the parameters passed in the get request

    Parameters

    • extent: any

      extent object

    • zoomLevel: any

      zoom level

    Returns void

refresh

  • refresh(): void

Protected setVisible

  • setVisible(visibility: boolean): void

Protected setZIndex

  • setZIndex(newZ: number): void

Generated using TypeDoc