Class ArcGISTiledElevationSource

  • All Implemented Interfaces:
    RemoteResource, Loadable

    public final class ArcGISTiledElevationSource
    extends ElevationSource
    A tile based elevation service.
    Since:
    100.0.0 for JavaSE and 100.1.0 for Android
    • Constructor Detail

      • ArcGISTiledElevationSource

        public ArcGISTiledElevationSource​(java.lang.String uri)
        Creates an ArcGISTiledElevationSource instance.
        Parameters:
        uri - The URI of the service
        Throws:
        java.lang.IllegalArgumentException - if the URI is null or empty
        Since:
        100.0.0 for JavaSE and 100.1.0 for Android
      • ArcGISTiledElevationSource

        public ArcGISTiledElevationSource​(PortalItem portalItem)
        Creates an ArcGISTiledElevationSource instance based on a PortalItem.

        If the portal item is not in LoadStatus.LOADED state it will be loaded automatically when this ArcGISTiledElevationSource instance is loaded.

        If the loaded portalItem is not of type PortalItem.Type.IMAGE_SERVICE the elevation source will fail to load.

        Parameters:
        portalItem - PortalItem from which ArcGISTiledElevationSource will be created
        Throws:
        java.lang.IllegalArgumentException - if the portalItem is null
        Since:
        100.0.0 for JavaSE and 100.1.0 for Android
    • Method Detail

      • getItem

        public Item getItem()
        Gets the Item associated with this source.
        Returns:
        the associated Item or null if this source is not associated with an Item
        Since:
        100.0.0 for JavaSE and 100.1.0 for Android
      • getUri

        public java.lang.String getUri()
        Description copied from interface: RemoteResource
        Gets the URI of this RemoteResource. Typically this is the URI used to instantiate the object.
        Returns:
        the URI of this RemoteResource