Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapPopupCls

map popup class

augments

MapInteractionBase

Hierarchy

Index

Constructors

constructor

Properties

_initialized

_initialized: boolean

_map

_map: Map

_subtype

_subtype: string

Accessors

initialized

  • get initialized(): boolean

map

  • get map(): Map

Methods

Private _addPopupLayer

  • Parameters

    • lyr: LayerBaseVector

      the layer being acted on

    • selectionStyle: object
      • Optional color?: string
      • Optional olStyle?: Style
      • Optional width?: number

    Returns Vector

    the new selection layer

Protected _checkInit

  • _checkInit(): void

Private _featuresAtPixel

Private _triggerFeatSelect

  • _triggerFeatSelect(): void

addMapClickFunction

  • addMapClickFunction(func: Function): void
  • Add a function to be called when the map is clicked but before any popups are implemented

    Parameters

    • func: Function

      the map click function

    Returns void

addMapServicePopup

  • addMapServicePopup(lyr: any, selectionStyle?: Style | Array<Style> | ol.StyleFunction): Vector
  • Parameters

    • lyr: any

      map server layer

    • Optional selectionStyle: Style | Array<Style> | ol.StyleFunction

    Returns Vector

    a reference to the ol selection layer

addMapServicePopupContent

  • addMapServicePopupContent(feature: Feature, lyr: LayerEsriMapServer, popupContent: string, esriName: string): void

addPopupChangedFunction

addVectorPopup

  • Add popup to the map

    Parameters

    • lyr: LayerBaseVector

      The layer that the popup with act on

    • popupContentFunction: popupCallback

      popup content function that makes popup info

    • Optional selectionStyle: object
      • Optional color?: string
      • Optional olStyle?: Style
      • Optional width?: number

    Returns Vector

    a reference to the ol selection layer

checkInit

  • checkInit(): void

clearSelection

  • clearSelection(): void

closePopup

  • closePopup(): boolean

init

  • init(theMap: Map): boolean

removeVectorPopup

  • removeVectorPopup(lyr: any): void

Generated using TypeDoc