---
title: Interface: IMapLayer
source: https://vjmap.com/doc/Interface_IMapLayer.html
---

# Interface: IMapLayer

地图图层

### Table of contents

#### Properties

- [color](#color)
- [index](#index)
- [isFrozen](#isfrozen)
- [isLocked](#islocked)
- [isOff](#isoff)
- [lineWeight](#lineweight)
- [linetype](#linetype)
- [name](#name)

### Properties

#### color

• **color**: *string*

颜色.

___

#### index

• **index**: *number*

图层索引.

___

#### isFrozen

• **isFrozen**: *boolean*

是否冻结.

___

#### isLocked

• **isLocked**: *boolean*

是否锁定.

___

#### isOff

• **isOff**: *boolean*

图层是否关闭.

___

#### lineWeight

• **lineWeight**: *number*

线宽.

___

#### linetype

• **linetype**: *number*

线型.

___

#### name

• **name**: *string*

图层名称.


<a name="interfacesimapstyleparammd"></a>

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