Options
All
  • Public
  • Public/Protected
  • All
Menu

Static utility methods for discovering and creating map services.

Hierarchy

  • ServiceDiscoveryUtilities

Index

Methods

Methods

Static buildMapService

  • buildMapService(essentialsMap: Map, serviceDefinition: any, respectConfiguredLayerVisibilities?: boolean): Thenable<MapService>
  • Build and initialize a Geocortex map service based on the provided service URL.

    Parameters

    • essentialsMap: Map

      The Geocortex map that the map service belongs to.

    • serviceDefinition: any

      A map service definition object containing the properties for the new map service.

    • Optional respectConfiguredLayerVisibilities: boolean

      An optional boolean which, if set to true, will respect the configured visibilities for the created map service layers. The default value is false. All layer visibilities are set to true by default.

    Returns Thenable<MapService>

    The promise of a Geocortex map service.