Class 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 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 the Credential that is set on the network-enabled resource.

        Only applicable if the resource is secured.

        Specified by:
        getCredential in interface RemoteResource
        Returns:
        the Credential, or null if there is none
      • setCredential

        public void setCredential​(Credential credential)
        Description copied from interface: RemoteResource
        Sets a Credential 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 interface RemoteResource
        Parameters:
        credential - the Credential to be used for authentication
      • getUri

        public String getUri()
        Returns the URI of the IntegratedMeshLayer.
        Specified by:
        getUri in interface RemoteResource
        Returns:
        the URI of the IntegratedMeshLayer
        Since:
        100.5.0