Function _getSourceSpatialReferenceAndExtentPrivate

  • Private

    Get the spatial reference from a views source. Optionally ensure that the source has a valid geometry type prior to using its values.

    Parameters

    • serviceInfo: any

      Basic service information

    • itemTemplate: IItemTemplate

      The current template to process

    • templateDictionary: any

      Hash mapping Solution source id to id of its clone (and name & URL for feature service)

    • validateGeom: boolean

      When true the source must contain a geometryType for values to be returned

    Returns IDefaultSpatialReferenceAndExtent

    An object that contains the default spatial reference and extent value