Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EsriLayerSourceProvider

EsriLayerSourceProvider is a class implementing LayerSourceProvider used to build EsriDynamicLayerSource.

example



var layerSourceProvider = new EsriLayerSourceProvider();
layerSourceProvider.create(url);

Hierarchy

  • EsriLayerSourceProvider

Implements

Index

Properties

Private _convertToEsriDataSource

  • _convertToEsriDataSource(id: string, ms: EsriMapServiceDescription, legend: EsriMapServiceLegendDetails, options?: EsriLayerSourceCreateOptions): EsriDynamicLayerSource
  • Parameters

    • id: string
    • ms: EsriMapServiceDescription
    • legend: EsriMapServiceLegendDetails
    • Optional options: EsriLayerSourceCreateOptions

    Returns EsriDynamicLayerSource

Private _convertToEsriLayer

  • _convertToEsriLayer(sourceId: string, layerIndex: number, layerInfos: Array<EsriBasicLayerInfo>, legendInfo: EsriMapServiceLegendDetails): EsriLayer
  • Parameters

    • sourceId: string
    • layerIndex: number
    • layerInfos: Array<EsriBasicLayerInfo>
    • legendInfo: EsriMapServiceLegendDetails

    Returns EsriLayer

Private settings

settings: any = window.Framework.Settings

Methods

create