com.supermap.services.providers

Class BingMapsMapProviderSetting

  • All Implemented Interfaces:
    java.io.Serializable


    public class BingMapsMapProviderSetting
    extends MapProviderSetting
    

    BingMaps Map service provider configuration object.

    The object used for BingMaps service providers need the relevant parameters of information.

    See Also:
    Serialized Form
    • Constructor Detail

      • BingMapsMapProviderSetting

        public BingMapsMapProviderSetting()
        
    • Method Detail

      • setCacheEnable

        @Deprecated
        public void setCacheEnable(boolean cacheEnable)
        
        Deprecated. Use setCacheEnabled(boolean)

        Sets whether to use caching.

        Parameters:
        cacheEnable - Whether to use caching
      • getApiKey

        public java.lang.String getApiKey()
        

        Gets the key of BingMaps. Access to the BingMaps map service requires a key.

        Returns:
        BingMap key.
      • setApiKey

        public void setApiKey(java.lang.String apiKey)
        

        Sets the key of BingMaps. Access to the BingMaps map service requires a key.

        Parameters:
        apiKeyBingMap - key.
      • getImagerySet

        public java.lang.String getImagerySet()
        

        Gets the map set name for BingMaps. BingMaps provides "Aerial", "AerialWithLables", "Birdseye", "BirdseyeWithLables", "Road" several datasets, respectively, corresponding to different types of map services.

        Returns:
        BingMaps map set name.
      • setImagerySet

        public void setImagerySet(java.lang.String imagerySet)
        

        Sets the map set name for BingMaps. BingMaps provides "Aerial", "AerialWithLables", "Birdseye", "BirdseyeWithLables", "Road" several datasets, respectively, corresponding to different types of map services.

        Parameters:
        imagerySetBingMaps - map set name.
      • getMapVersion

        public java.lang.String getMapVersion()
        

        BingMaps map version, such as "v0", "v1".

        Returns:
        version number.
      • setMapVersion

        public void setMapVersion(java.lang.String mapVersion)
        

        Sets BingMaps map version, such as "v0", "v1".

        Parameters:
        mapVersion - version number.
      • setUseTileImage

        public void setUseTileImage(boolean useTileImage)
        
      • isUseTileImage

        public boolean isUseTileImage()
        
      • equals

        public boolean equals(java.lang.Object obj)
        

        To determine whether the 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
      • getBingmapsRootUrl

        public java.lang.String getBingmapsRootUrl()
        
      • setBingmapsRootUrl

        public void setBingmapsRootUrl(java.lang.String bingmapsRootUrl)