com.supermap.services.providers

Class TiandituMapProviderSetting

  • All Implemented Interfaces:
    java.io.Serializable


    public class TiandituMapProviderSetting
    extends MapProviderSetting
    

    Tianditu map service provider configures object.

    This object is used for the relevant parameter information needed by Tianditu map service provider.

    See Also:
    Serialized Form
    • Constructor Detail

      • TiandituMapProviderSetting

        public TiandituMapProviderSetting()
        
    • Method Detail

      • setCacheEnable

        @Deprecated
        public void setCacheEnable(boolean cacheEnable)
        
        Deprecated. usesetCacheEnabled(boolean)

        Sets whether to use caching.

        Parameters:
        cacheEnable - whether to use cache.
      • getServicesUrl

        public java.lang.String getServicesUrl()
        

        Get access address of Tianditu

        Returns:
        access address of Tianditu
      • setServicesUrl

        public void setServicesUrl(java.lang.String servicesUrl)
        

        Sets access address of Tianditu

        Parameters:
        servicesUrl - access address of Tianditu
      • 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:
        whether or not equal,and true mean that the two objects are equal.
      • getCacheEnabled

        public boolean getCacheEnabled()
        
        Whether to use cache.
        Returns:
      • setCacheEnabled

        public void setCacheEnabled(boolean cacheEnabled)
        
        Sets whether to use caching
        Parameters:
        cacheEnabled -
      • hashCode

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