Function setDefaultSpatialReferencePrivate

  • Private

    Set the defaultSpatialReference variable with the services spatial reference. If this item is a Feature Service that has child views then we will use this value if one or more of the child views spatial reference differs from that of its parent.

    Parameters

    • templateDictionary: any

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

    • itemId: string

      The source id for the item

    • spatialReference: any

      { wkid: 102100 } for example

    Returns void