com.supermap.services.providers
类 ArcGISRestMapProviderSetting
- java.lang.Object
-
- com.supermap.services.components.spi.MapProviderSetting
-
- com.supermap.services.providers.ArcGISRestAuthProviderSetting
-
- com.supermap.services.providers.ArcGISRestMapProviderSetting
-
- 所有已实现的接口:
- java.io.Serializable
public class ArcGISRestMapProviderSetting extends ArcGISRestAuthProviderSetting
ArcGIS Rest 地图服务提供者配置对象
该对象用于 ArcGIS Rest 地图服务提供者所需要的相关参数信息,包含:Rest 地图服务地址;用户名;密码。
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 限定符和类型 字段和说明 java.lang.BooleanfilterVisibleScales是否过滤可见比例尺,还是返回所有比例尺,默认为 true。booleanreplaceTRNSArcGIS 返回的有些图片为 PNG24 格式,但是又包含 tRNS 可选块,该块中指定了 RGB(253,253,253) 的颜色都是透明 的(这种图片在 Windows 文件属性显示位深是 32,其实是 24 的)。inttilePixWidth瓦片的块宽,单位是像素-
从类继承的字段 com.supermap.services.providers.ArcGISRestAuthProviderSetting
getTokenUrl, httpReferer, password, token, userName
-
从类继承的字段 com.supermap.services.components.spi.MapProviderSetting
dataPrjCoordSysType, watermark
-
-
构造器概要
构造器 构造器和说明 ArcGISRestMapProviderSetting()ArcGISRestMapProviderSetting(ArcGISRestMapProviderSetting setting)
-
方法概要
方法 限定符和类型 方法和说明 ArcGISRestMapProviderSettingclone()booleanequals(java.lang.Object o)booleangetCacheEnabled()是否开启缓存。java.lang.StringgetCustomMapName()java.lang.StringgetRestServiceRootURL()获取 ArcGIS Rest 地图服务地址。static longgetSerialversionuid()获取服务版本的 UID。booleangetTileCacheReadOnly()inthashCode()voidsetCacheEnabled(boolean cacheEnabled)是否开启缓存。voidsetCustomMapName(java.lang.String customMapName)voidsetRestServiceRootURL(java.lang.String restServiceRootURL)设置 ArcGIS Rest 地图服务地址。voidsetTileCacheReadOnly(boolean tileCacheReadOnly)-
从类继承的方法 com.supermap.services.providers.ArcGISRestAuthProviderSetting
getGetTokenUrl, getHttpReferer, getPassword, getToken, getUserName, setGetTokenUrl, setHttpReferer, setPassword, setToken, setUserName
-
从类继承的方法 com.supermap.services.components.spi.MapProviderSetting
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
-
-
-
-
字段详细资料
-
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()
-
ArcGISRestMapProviderSetting
public ArcGISRestMapProviderSetting(ArcGISRestMapProviderSetting setting)
-
-
方法详细资料
-
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)
-
equals
public boolean equals(java.lang.Object o)
- 覆盖:
equals在类中ArcGISRestAuthProviderSetting
-
hashCode
public int hashCode()
-
getCustomMapName
public java.lang.String getCustomMapName()
-
setCustomMapName
public void setCustomMapName(java.lang.String customMapName)
-
clone
public ArcGISRestMapProviderSetting clone()
- 覆盖:
clone在类中java.lang.Object
-
-