Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapPopupCls

map popup class

augments

MapInteractionBase

Hierarchy

Index

Constructors

constructor

Properties

_$popupCloser

_$popupCloser: JQuery

_$popupContainer

_$popupContainer: JQuery

_$popupContent

_$popupContent: JQuery

_arrPopupContentFunction

_arrPopupContentFunction: Array<popupCallback>

_arrPopupLayerIds

_arrPopupLayerIds: Array<string>

_arrPopupLayerNames

_arrPopupLayerNames: Array<string>

_arrPopupLayers

_arrPopupLayers: Array<LayerBaseVector>

_arrPopupOlLayers

_arrPopupOlLayers: Array<Vector>

_currentPopupIndex

_currentPopupIndex: number

_esriMapServiceLayers

_esriMapServiceLayers: Array<LayerEsriMapServer>

_initialized

_initialized: boolean

_map

_map: Map

_mapClickFunctions

_mapClickFunctions: Array<Function>

_passThroughLayerFeatureArray

_passThroughLayerFeatureArray: Array<FeatureLayerProperties>

_popupChangedFunctions

_popupChangedFunctions: Array<popupChangedFunction>

_popupContentLength

_popupContentLength: number

_popupCoordinate

_popupCoordinate: ol.Coordinate

_popupOpen

_popupOpen: boolean

_popupOverlay

_popupOverlay: Overlay

_selectionLayerLookup

_selectionLayerLookup: Object

_selectionLayers

_selectionLayers: Array<Vector>

_subtype

_subtype: string

Accessors

initialized

  • get initialized(): boolean

map

  • get map(): Map

Methods

Private _addPopupLayer

  • _addPopupLayer(lyr: any, selectionStyle: any): Vector
  • Parameters

    • lyr: any

      the layer being acted on

    • selectionStyle: any

    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

  • addVectorPopup(lyr: LayerBaseVector, popupContentFunction: popupCallback, selectionStyle?: Style | Array<Style> | ol.StyleFunction): Vector
  • 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: Style | Array<Style> | ol.StyleFunction

    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