com.supermap.services.providers

类 ArcGISRestMapProviderSetting

  • 所有已实现的接口:
    java.io.Serializable


    public class ArcGISRestMapProviderSetting
    extends ArcGISRestAuthProviderSetting
    

    ArcGIS Rest 地图服务提供者配置对象

    该对象用于 ArcGIS Rest 地图服务提供者所需要的相关参数信息,包含:Rest 地图服务地址;用户名;密码。

    另请参阅:
    序列化表格
    • 字段详细资料

      • tilePixWidth

        public int tilePixWidth
        
        瓦片的块宽,单位是像素
      • replaceTRNS

        public boolean replaceTRNS
        
        ArcGIS 返回的有些图片为 PNG24 格式,但是又包含 tRNS 可选块,该块中指定了 RGB(253,253,253) 的颜色都是透明 的(这种图片在 Windows 文件属性显示位深是 32,其实是 24 的)。
        当 replaceTRNS 属性为 true,则在检测到有 PNG24 并且包含 tRNS 时,就重新生成一个 PNG32 的图片,然后根据 tRNS 去填充 PNG32 图片的 Alpha 通道的值。
      • filterVisibleScales

        public java.lang.Boolean filterVisibleScales
        
        是否过滤可见比例尺,还是返回所有比例尺,默认为 true。早期不会过滤可见比例尺,显示所有的比例尺,后面代码改成只返回可见比例尺,华为 GTS 的项目使用 wmts 时,openlayers 的应用里写死了分辨率,导致升级 iserver 后,找不到图片,他们不宜修改已完工程的代码,期望 iserver 向前兼容,故设计此参数。
    • 构造器详细资料

      • ArcGISRestMapProviderSetting

        public ArcGISRestMapProviderSetting()
        
    • 方法详细资料

      • getRestServiceRootURL

        public java.lang.String getRestServiceRootURL()
        
        获取 ArcGIS Rest 地图服务地址。
        返回:
      • setRestServiceRootURL

        public void setRestServiceRootURL(java.lang.String restServiceRootURL)
        
        设置 ArcGIS Rest 地图服务地址。
        参数:
        restServiceRootURL -
      • getSerialversionuid

        public static long getSerialversionuid()
        
        获取服务版本的 UID。
        返回:
      • getCacheEnabled

        public boolean getCacheEnabled()
        
        是否开启缓存。
        返回:
      • setCacheEnabled

        public void setCacheEnabled(boolean cacheEnabled)
        
        是否开启缓存。
        参数:
        cacheEnabled -
      • getTileCacheReadOnly

        public boolean getTileCacheReadOnly()
        
      • setTileCacheReadOnly

        public void setTileCacheReadOnly(boolean tileCacheReadOnly)
        
      • getCustomMapName

        public java.lang.String getCustomMapName()
        
      • setCustomMapName

        public void setCustomMapName(java.lang.String customMapName)