java.lang.Object
com.esri.arcgisruntime.layers.Layer
com.esri.arcgisruntime.layers.IntegratedMeshLayer
- All Implemented Interfaces:
RemoteResource,LayerContent,Loadable
Represents a layer that can visualize an integrated mesh layer.
An integrated mesh can represent built and natural 3D features, such as building walls, trees, valleys, and cliffs,
with realistic textures and includes elevation information.
- Since:
- 100.5.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.layers.Layer
loadError, loadStatus -
Constructor Summary
ConstructorsConstructorDescriptionIntegratedMeshLayer(PortalItem portalItem) Creates an IntegratedMeshLayer object with the given PortalItem.Creates an IntegratedMeshLayer object with the given Service URI. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the layer altitude offset.Gets theCredentialthat is set on the network-enabled resource.Gets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource.getUri()Returns the URI of the IntegratedMeshLayer.voidsetAltitudeOffset(double altitudeOffset) Sets the layer altitude offset.voidsetCredential(Credential credential) Sets aCredentialto be used by the network-enabled resource in the event of an authentication challenge.voidsetRequestConfiguration(RequestConfiguration requestConfiguration) Sets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource.Methods inherited from class com.esri.arcgisruntime.layers.Layer
addDoneLoadingListener, addLoadStatusChangedListener, addVisibilityChangedListener, cancelLoad, canChangeVisibility, canShowInLegend, fetchLegendInfosAsync, getAttribution, getDescription, getFullExtent, getId, getItem, getLoadError, getLoadStatus, getMaxScale, getMinScale, getName, getOpacity, getSpatialReference, getSubLayerContents, isIdentifyEnabled, isVisible, isVisibleAtScale, loadAsync, loadErrorProperty, loadStatusProperty, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible
-
Constructor Details
-
IntegratedMeshLayer
Creates an IntegratedMeshLayer object with the given PortalItem.- Parameters:
portalItem- the portal item- Throws:
IllegalArgumentException- if portalItem is null- Since:
- 100.5.0
- See Also:
-
IntegratedMeshLayer
Creates an IntegratedMeshLayer object with the given Service URI.- Parameters:
uri- the URI of the service- Throws:
IllegalArgumentException- if uri is null or empty string- Since:
- 100.5.0
-
-
Method Details
-
getAltitudeOffset
public double getAltitudeOffset()Gets the layer altitude offset.- Returns:
- the altitude offset
- Since:
- 100.6.0
-
setAltitudeOffset
public void setAltitudeOffset(double altitudeOffset) Sets the layer altitude offset.- Parameters:
altitudeOffset- the altitude offset- Since:
- 100.6.0
-
getCredential
Description copied from interface:RemoteResourceGets theCredentialthat is set on the network-enabled resource.Only applicable if the resource is secured.
- Specified by:
getCredentialin interfaceRemoteResource- Returns:
- the Credential, or null if there is none
-
setCredential
Description copied from interface:RemoteResourceSets aCredentialto be used by the network-enabled resource in the event of an authentication challenge. The default credential is null.Only applicable if the resource is secured.
- Specified by:
setCredentialin interfaceRemoteResource- Parameters:
credential- the Credential to be used for authentication
-
getRequestConfiguration
Description copied from interface:RemoteResourceGets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource.- Specified by:
getRequestConfigurationin interfaceRemoteResource- Returns:
- the
RequestConfigurationused to modify network requests
-
setRequestConfiguration
Description copied from interface:RemoteResourceSets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource. If not set, the globalRequestConfigurationwill be used (seeRequestConfiguration.getGlobalRequestConfiguration()).- Specified by:
setRequestConfigurationin interfaceRemoteResource- Parameters:
requestConfiguration- the RequestConfiguration used to modify network requests
-
getUri
Returns the URI of the IntegratedMeshLayer.- Specified by:
getUriin interfaceRemoteResource- Returns:
- the URI of the Integrated mesh layer, or null if none
- Since:
- 100.5.0
-