Package com.esri.arcgisruntime.layers
Class IntegratedMeshLayer
- java.lang.Object
-
- com.esri.arcgisruntime.layers.Layer
-
- com.esri.arcgisruntime.layers.IntegratedMeshLayer
-
- All Implemented Interfaces:
RemoteResource
,LayerContent
,Loadable
public final class IntegratedMeshLayer extends Layer implements RemoteResource
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
-
-
Constructor Summary
Constructors Constructor Description IntegratedMeshLayer(PortalItem portalItem)
Creates an IntegratedMeshLayer object with the given PortalItem.IntegratedMeshLayer(String uri)
Creates an IntegratedMeshLayer object with the given Service URI.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAltitudeOffset()
Gets the layer altitude offset.Credential
getCredential()
Gets theCredential
that is set on the network-enabled resource.RequestConfiguration
getRequestConfiguration()
Gets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.String
getUri()
Returns the URI of the IntegratedMeshLayer.void
setAltitudeOffset(double altitudeOffset)
Sets the layer altitude offset.void
setCredential(Credential credential)
Sets aCredential
to be used by the network-enabled resource in the event of an authentication challenge.void
setRequestConfiguration(RequestConfiguration requestConfiguration)
Sets theRequestConfiguration
used 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, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible
-
-
-
-
Constructor Detail
-
IntegratedMeshLayer
public IntegratedMeshLayer(PortalItem portalItem)
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:
PortalItem
-
IntegratedMeshLayer
public IntegratedMeshLayer(String uri)
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 Detail
-
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
public Credential getCredential()
Description copied from interface:RemoteResource
Gets theCredential
that is set on the network-enabled resource.Only applicable if the resource is secured.
- Specified by:
getCredential
in interfaceRemoteResource
- Returns:
- the Credential, or null if there is none
-
setCredential
public void setCredential(Credential credential)
Description copied from interface:RemoteResource
Sets aCredential
to 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:
setCredential
in interfaceRemoteResource
- Parameters:
credential
- the Credential to be used for authentication
-
getRequestConfiguration
public RequestConfiguration getRequestConfiguration()
Description copied from interface:RemoteResource
Gets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.- Specified by:
getRequestConfiguration
in interfaceRemoteResource
- Returns:
- the
RequestConfiguration
used to modify network requests
-
setRequestConfiguration
public void setRequestConfiguration(RequestConfiguration requestConfiguration)
Description copied from interface:RemoteResource
Sets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
. If not set, the globalRequestConfiguration
will be used (seeRequestConfiguration.getGlobalRequestConfiguration()
).- Specified by:
setRequestConfiguration
in interfaceRemoteResource
- Parameters:
requestConfiguration
- the RequestConfiguration used to modify network requests
-
getUri
public String getUri()
Returns the URI of the IntegratedMeshLayer.- Specified by:
getUri
in interfaceRemoteResource
- Returns:
- the URI of the IntegratedMeshLayer
- Since:
- 100.5.0
-
-