---
title: Interface: GridLayerLabelStyle
source: https://vjmap.com/doc/Interface_GridLayerLabelStyle.html
---

# Interface: GridLayerLabelStyle

### Table of contents

#### Properties

- [textAnchor](#textanchor)
- [textColor](#textcolor)
- [textFont](#textfont)
- [textHaloColor](#texthalocolor)
- [textHaloWidth](#texthalowidth)
- [textSize](#textsize)

### Properties

#### textAnchor

• `Optional` **textAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``

字体基线

___

#### textColor

• `Optional` **textColor**: *string*

字体颜色

___

#### textFont

• `Optional` **textFont**: *string*[]

字体样式

___

#### textHaloColor

• `Optional` **textHaloColor**: *string*

描边颜色

___

#### textHaloWidth

• `Optional` **textHaloWidth**: *number*

描边宽度

___

#### textSize

• `Optional` **textSize**: *string*

字体大小


<a name="interfacesgridlayeroptionsmd"></a>

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