WMSURLFactoryGetMapURL 方法 |
获取请求 Map 的 URI
命名空间:
GISShare.SMap.Web.WMS
程序集:
GISShare.SMap.Web (在 GISShare.SMap.Web.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法public static string GetMapURL(
string strOnlineResource,
WMSVersionStyle eWMSVersionStyle,
string strLayers,
string strStyles,
string strAuthority,
int iCode,
double dLeft,
double dBottom,
double dRight,
double dTop,
int iWidth,
int iHeight,
string strFormat,
string strTransparent = "TRUE",
string strBGColor = null,
string strExceptions = null,
string strTime = null,
string strElevation = null,
string strEXParameters = null
)
Public Shared Function GetMapURL (
strOnlineResource As String,
eWMSVersionStyle As WMSVersionStyle,
strLayers As String,
strStyles As String,
strAuthority As String,
iCode As Integer,
dLeft As Double,
dBottom As Double,
dRight As Double,
dTop As Double,
iWidth As Integer,
iHeight As Integer,
strFormat As String,
Optional strTransparent As String = "TRUE",
Optional strBGColor As String = Nothing,
Optional strExceptions As String = Nothing,
Optional strTime As String = Nothing,
Optional strElevation As String = Nothing,
Optional strEXParameters As String = Nothing
) As String
public:
static String^ GetMapURL(
String^ strOnlineResource,
WMSVersionStyle eWMSVersionStyle,
String^ strLayers,
String^ strStyles,
String^ strAuthority,
int iCode,
double dLeft,
double dBottom,
double dRight,
double dTop,
int iWidth,
int iHeight,
String^ strFormat,
String^ strTransparent = L"TRUE",
String^ strBGColor = nullptr,
String^ strExceptions = nullptr,
String^ strTime = nullptr,
String^ strElevation = nullptr,
String^ strEXParameters = nullptr
)
static member GetMapURL :
strOnlineResource : string *
eWMSVersionStyle : WMSVersionStyle *
strLayers : string *
strStyles : string *
strAuthority : string *
iCode : int *
dLeft : float *
dBottom : float *
dRight : float *
dTop : float *
iWidth : int *
iHeight : int *
strFormat : string *
?strTransparent : string *
?strBGColor : string *
?strExceptions : string *
?strTime : string *
?strElevation : string *
?strEXParameters : string
(* Defaults:
let _strTransparent = defaultArg strTransparent "TRUE"
let _strBGColor = defaultArg strBGColor null
let _strExceptions = defaultArg strExceptions null
let _strTime = defaultArg strTime null
let _strElevation = defaultArg strElevation null
let _strEXParameters = defaultArg strEXParameters null
*)
-> string
参数
- strOnlineResource
- 类型: SystemString
连接头 - eWMSVersionStyle
- 类型: GISShare.SMap.Web.WMSWMSVersionStyle
版本 - strLayers
- 类型: SystemString
图层名称 - strStyles
- 类型: SystemString
图层渲染 - strAuthority
- 类型: SystemString
投影作者 - iCode
- 类型: SystemInt32
编号 - dLeft
- 类型: SystemDouble
左 - dBottom
- 类型: SystemDouble
底 - dRight
- 类型: SystemDouble
右 - dTop
- 类型: SystemDouble
顶 - iWidth
- 类型: SystemInt32
宽 - iHeight
- 类型: SystemInt32
高 - strFormat
- 类型: SystemString
图片类型格式 - strTransparent (Optional)
- 类型: SystemString
strTransparent(可缺省) - strBGColor (Optional)
- 类型: SystemString
strBGColor(可缺省) - strExceptions (Optional)
- 类型: SystemString
strExceptions(可缺省) - strTime (Optional)
- 类型: SystemString
strTime(可缺省) - strElevation (Optional)
- 类型: SystemString
strElevation(可缺省) - strEXParameters (Optional)
- 类型: SystemString
用于拓展的参数,以适应不同的平台
返回值
类型:
String返回 URI
参见