Class WebMapService

Angular Service that can be used to create an ArcGIS JS API WebMap and a MapView.

Hierarchy

  • WebMapService

Constructors

Properties

Methods

Constructors

  • Parameters

    • ngZone: NgZone

    Returns WebMapService

Properties

ngZone: NgZone

Methods

  • Instantiates an MapView and an associated ArcGIS JS API WebMap, returning the instantiated objects

    Returns

    Parameters

    • container: HTMLDivElement

      the container HTMLDivElement to which the MapView will be attached.

    • id: string

      the id of the PortalItem that represents the WebMap. These are easily retrieved from the URL when viewing the item in the Portal UI.

    • portalUrl: string

      the URL to the homepage of the portal, excluding /home. e.g. https://gistestportal.vhb.com/site

    • initProps: null | MapViewProperties

      additional properties that will be passed the MapView on new

    Returns [MapView, WebMap]

Generated using TypeDoc