com.supermap.services.providers

Class WMSMapProviderSetting

    • Field Detail

      • defaultScale

        @Deprecated
        public double defaultScale
        
        Deprecated. 

        Invalid setting item.

    • Constructor Detail

      • WMSMapProviderSetting

        public WMSMapProviderSetting()
        
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        

        Gets the version number of the WMS service.

      • setVersion

        public void setVersion(java.lang.String version)
        

        Sets the version number of the WMS service.

        Parameters:
        version -
      • getUsername

        public java.lang.String getUsername()
        

        Gets the user name of the authorized access service.

        Returns:
      • setUsername

        public void setUsername(java.lang.String username)
        

        Sets the user name of the authorized access service.

        Parameters:
        username -
      • getPassword

        public java.lang.String getPassword()
        

        Gets the password corresponding to the user name of the authorized access service.

        Returns:
      • setPassword

        public void setPassword(java.lang.String password)
        

        Sets the password corresponding to the user name of the authorized access service.

        Parameters:
        password -
      • setServiceRootURL

        public void setServiceRootURL(java.lang.String serviceRootURL)
        

        Sets the WMS service root URI.

        Parameters:
        serviceRootURL -
      • setCacheEnabled

        public void setCacheEnabled(boolean cacheEnabled)
        

        Sets whether the cache mechanism is enabled.

        Parameters:
        cacheEnable - Whether to enable caching.
      • getCacheEnabled

        public boolean getCacheEnabled()
        

        Gets whether the cache mechanism is enabled.

        Returns:
        whether the cache mechanism is enabled.
      • isReverseLayerOrder

        public boolean isReverseLayerOrder()
        

        Gets whether the layer order is upside down. False indicates that the Layers parameter in the GetMap request is parsed in the leftmost layer at the bottom, and True represents the leftmost layer at the top. The default is False.

        Returns:
        Since:
        8.0.2
      • setReverseLayerOrder

        public void setReverseLayerOrder(boolean reverseLayerOrder)
        

        Sets whether the layer order is upside down. False indicates that the Layers parameter in the GetMap request is parsed in the leftmost layer at the bottom, and True represents the leftmost layer at the top. The default is False.

        Parameters:
        reverseLayerOrder -
        Since:
        8.0.2
      • equals

        public boolean equals(java.lang.Object obj)
        

        Determines whether two objects are equal.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object to be compared.
        Returns:
        a value indicating whether the two objects are equal, true that the two objects are equal.
      • hashCode

        public int hashCode()
        
        Gets the hash value of the object instance
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash value