---
title: Interface: IWmsTileUrl
source: https://vjmap.com/doc/Interface_IWmsTileUrl.html
---

# Interface: IWmsTileUrl

wms服务url地址接口

### Table of contents

#### Properties

- [backgroundColor](#backgroundcolor)
- [bbox](#bbox)
- [crs](#crs)
- [fourParameter](#fourparameter)
- [height](#height)
- [imageProcessAlg](#imageprocessalg)
- [isInverseFourParamter](#isinversefourparamter)
- [layers](#layers)
- [mapbounds](#mapbounds)
- [mapid](#mapid)
- [mvt](#mvt)
- [srs](#srs)
- [transparent](#transparent)
- [useImageRotate](#useimagerotate)
- [version](#version)
- [webMapType](#webmaptype)
- [width](#width)

### Properties

#### backgroundColor

• `Optional` **backgroundColor**: *string*

不透明时的背景颜色，默认为白色。格式必须为rgb(r,g,b)或rgba(r,g,b,a),a不透明应该是255.

___

#### bbox

• `Optional` **bbox**: *string*

范围，缺省{bbox-epsg-3857}. (如果要获取地图cad一个范围的wms数据无需任何坐标转换，将此范围填cad范围,srs,crs,mapbounds填为空).

___

#### crs

• `Optional` **crs**: *string* \| *string*[]

cad图的坐标系，为空的时候由元数据坐标系决定. 也可直接输入proj4字符串

___

#### fourParameter

• `Optional` **fourParameter**: *string* \| *string*[]

四参数(x偏移,y偏移,缩放，旋转弧度)，可选，对坐标最后进行修正

___

#### height

• `Optional` **height**: *number*

高.

___

#### imageProcessAlg

• `Optional` **imageProcessAlg**: *number*

旋转时图像处理算法. 1或2,默认自动选择（旋转时有用）

___

#### isInverseFourParamter

• `Optional` **isInverseFourParamter**: *boolean* \| *boolean*[]

是否用上面的四参数进行反算，默认false

___

#### layers

• `Optional` **layers**: *string* \| *string*[]

图层名称（为空时采用当前打开的地图图层名称).

___

#### mapbounds

• `Optional` **mapbounds**: *string*

地理真实范围，如有值时,srs将不起作用

___

#### mapid

• `Optional` **mapid**: *string* \| *string*[]

地图ID(为空时采用当前打开的mapid)， 为数组时表时同时请求多个.

___

#### mvt

• `Optional` **mvt**: *boolean*

是否是矢量瓦片.

___

#### srs

• `Optional` **srs**: *string*

当前坐标系,缺省(EPSG:3857).

___

#### transparent

• `Optional` **transparent**: *boolean*

是否透明.

___

#### useImageRotate

• `Optional` **useImageRotate**: *boolean*

是否考虑旋转，在不同坐标系中转换是需要考虑。默认自动考虑是否需要旋转.

___

#### version

• `Optional` **version**: *string* \| *string*[]

地图版本(为空时采用当前打开的地图版本).

___

#### webMapType

• `Optional` **webMapType**: ``"WGS84"`` \| ``"GCJ02"`` \| ``"BD09LL"`` \| ``"BD09MC"``

当前互联网底图地图类型 WGS84(84坐标，如天地图，osm), GCJ02(火星坐标，如高德，腾讯地图)， BD09LL(百度经纬度坐标，如百度地图)， BD09MC(百度墨卡托米制坐标，如百度地图)

___

#### width

• `Optional` **width**: *number*

宽.


<a name="interfacesiworkspacemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / IWorkspace
