---
title: Interface: IMapStyleParam
source: https://vjmap.com/en/doc/Interface_IMapStyleParam.html
---

# Interface: IMapStyleParam

地图样式参数参数

### Table of contents

#### Properties

- [backcolor](#backcolor)
- [clipbounds](#clipbounds)
- [expression](#expression)
- [layeroff](#layeroff)
- [layeron](#layeron)
- [lineweight](#lineweight)
- [name](#name)

### Properties

#### backcolor

• `Optional` **backcolor**: *number*

颜色.

___

#### clipbounds

• `Optional` **clipbounds**: *number* \| [*number*, *number*, *number*, *number*]

地图裁剪范围，范围如[x1,y1,x2,y2].如果只需入了数值的话，表示是缩放倍数

___

#### expression

• `Optional` **expression**: *string*

表达式.

___

#### layeroff

• `Optional` **layeroff**: *string* \| *number*[]

要关的图层索引列表，格式如[2,4]. layeron与layeroff只要输入一个即可

___

#### layeron

• `Optional` **layeron**: *string* \| *number*[]

要开的图层索引列表，格式如[0,1,3].

___

#### lineweight

• `Optional` **lineweight**: *string* \| *number*[]

线宽，格式如[1，1，1，1，0].表式第1，2，3，4级线宽开，第5级线宽关，大于第5级的，以最后设置的级别状态为主，所以也是关。如为空，则和原图线宽显示状态相同

___

#### name

• `Optional` **name**: *string*

样式名称.


<a name="interfacesimatchobjectmd"></a>

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