com.supermap.services.providers

Class GoogleMapsMapProviderSetting

  • All Implemented Interfaces:
    java.io.Serializable


    public class GoogleMapsMapProviderSetting
    extends MapProviderSetting
    

    Google Maps service provider configuration class.

    Since:
    8.0.2
    See Also:
    Serialized Form
    • Field Detail

      • googleMapLanguage

        public java.lang.String googleMapLanguage
        

        The language used for text annotation in the map.

        Since:
        8.0.2
      • googleMapCryptoKey

        public java.lang.String googleMapCryptoKey
        

        The private key of the account.

        Since:
        8.0.2
      • googleMapClientID

        public java.lang.String googleMapClientID
        

        The account with Google Maps access.

        Since:
        8.0.2
      • googleMapWidth

        public java.lang.String googleMapWidth
        

        Each time you request a tile from Google Maps, the width of the tile (pixels). Since there may be a Geoogle watermark on each request for a single tile, the larger tile setting can reduce the watermark density throughout the window. However, single tile too large may affect the efficiency of tile access, because you should be based on hardware and software and network conditions, set a reasonable value.

        Since:
        8.0.2
      • googleMapHeight

        public java.lang.String googleMapHeight
        

        Each time you request a tile from Google Maps, the width of the tile (pixels). Generally set the same width, height tiles .

        Since:
        8.0.2
      • googleProxyAddress

        public java.lang.String googleProxyAddress
        

        Google Maps proxy address. If the service can not be normal due to network reasons, you should set this parameter, such as: 127.0.0.1.

        Since:
        8.0.2
      • googleProxyPort

        public int googleProxyPort
        

        Google Maps proxy port.

        Since:
        8.0.2
    • Constructor Detail

      • GoogleMapsMapProviderSetting

        public GoogleMapsMapProviderSetting()
        
    • Method Detail

      • setUseTileImage

        public void setUseTileImage(boolean useTileImage)
        
      • isUseTileImage

        public boolean isUseTileImage()
        
      • 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