com.supermap.services.providers

Class BaiduMapProviderSetting

  • All Implemented Interfaces:
    java.io.Serializable


    public class BaiduMapProviderSetting
    extends MapProviderSetting
    

    Baidu map service provides configuration object, the object used for Baidu map service providers need the relevant parameters of information

    Since:
    7.1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • BaiduMapProviderSetting

        public BaiduMapProviderSetting()
        
    • Method Detail

      • setCacheEnabled

        public void setCacheEnabled(boolean cacheEnabled)
        

        Sets whether to use caching.

        Parameters:
        cacheEnable - whether to use caching
      • getMapName

        public java.lang.String getMapName()
        

        Gets map name

        Gets a custom map name. When configuring mapUrl is not configured with this parameter, the default is "OSM".

        Returns:
      • setMapName

        public void setMapName(java.lang.String mapName)
        

        Sets map name

        Sets a custom map name. When configuring mapUrl is not configured with this parameter, the default is "OSM".

        Parameters:
        mapName -
      • getMapUrl

        public java.lang.String getMapUrl()
        

        Gets map service URL

        The map service address should be an address template that takes the map slice, where {x}, {y}, {z} represent the column number, line number, and level of the slice, respectively. Such as: http://online0.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=pl

        Returns:
      • setMapUrl

        public void setMapUrl(java.lang.String mapUrl)
        

        Gets map service URL

        The map service address should be an address template that takes the map slice, where {x}, {y}, {z} represent the column number, line number, and level of the slice, respectively. Such as: http://online0.map.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=pl

        Parameters:
        serviceUrl -
      • getCacheEnabled

        public boolean getCacheEnabled()
        

        Sets whether to use caching.

        Returns:
        Whether to use caching
      • getQuerySetting

        public BaiduMapQuerySetting getQuerySetting()
        

        Gets Baidu map query parameters.

        Returns:
      • setQuerySetting

        public void setQuerySetting(BaiduMapQuerySetting querySetting)
        

        Sets Baidu map query parameters.

        Parameters:
        question -
      • equals

        public boolean equals(java.lang.Object obj)
        
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        
        Overrides:
        hashCode in class java.lang.Object