Package com.esri.arcgisruntime.mapping
Class ArcGISTiledElevationSource
- java.lang.Object
- 
- com.esri.arcgisruntime.mapping.ElevationSource
- 
- com.esri.arcgisruntime.mapping.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 SummaryConstructors Constructor Description ArcGISTiledElevationSource(PortalItem portalItem)Creates an ArcGISTiledElevationSource instance based on aPortalItem.ArcGISTiledElevationSource(String uri)Creates an ArcGISTiledElevationSource instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemgetItem()Gets the Item associated with this source.StringgetUri()Gets the URI of thisRemoteResource.- 
Methods inherited from class com.esri.arcgisruntime.mapping.ElevationSourceaddDoneLoadingListener, addLoadStatusChangedListener, cancelLoad, getCredential, getLoadError, getLoadStatus, getName, getRequestConfiguration, isEnabled, loadAsync, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setCredential, setEnabled, setName, setRequestConfiguration
 
- 
 
- 
- 
- 
Constructor Detail- 
ArcGISTiledElevationSourcepublic ArcGISTiledElevationSource(String uri) Creates an ArcGISTiledElevationSource instance.- Parameters:
- uri- The URI of the service
- Throws:
- IllegalArgumentException- if the URI is null or empty
- Since:
- 100.0.0 for JavaSE and 100.1.0 for Android
 
 - 
ArcGISTiledElevationSourcepublic ArcGISTiledElevationSource(PortalItem portalItem) Creates an ArcGISTiledElevationSource instance based on aPortalItem.If the portal item is not in LoadStatus.LOADEDstate it will be loaded automatically when this ArcGISTiledElevationSource instance is loaded.If the loaded portalItem is not of type PortalItem.Type.IMAGE_SERVICEthe elevation source will fail to load.- Parameters:
- portalItem- PortalItem from which ArcGISTiledElevationSource will be created
- Throws:
- IllegalArgumentException- if the portalItem is null
- Since:
- 100.0.0 for JavaSE and 100.1.0 for Android
 
 
- 
 - 
Method Detail- 
getItempublic 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
 
 - 
getUripublic String getUri() Description copied from interface:RemoteResourceGets the URI of thisRemoteResource. Typically this is the URI used to instantiate the object.- Returns:
- the URI of this RemoteResource
 
 
- 
 
-