# Class: PhotoTrailMapSwitchTrailLayer

[index](../modules/index.md).PhotoTrailMapSwitchTrailLayer

用于切换是否在不同缩放比例下始终显示轨迹

## Table of contents

### Constructors

- [constructor](index.phototrailmapswitchtraillayer.md#constructor)

### Properties

- [left](index.phototrailmapswitchtraillayer.md#left)
- [top](index.phototrailmapswitchtraillayer.md#top)

## Constructors

### constructor

\+ **new PhotoTrailMapSwitchTrailLayer**(): [*PhotoTrailMapSwitchTrailLayer*](index.phototrailmapswitchtraillayer.md)

**Returns:** [*PhotoTrailMapSwitchTrailLayer*](index.phototrailmapswitchtraillayer.md)

## Properties

### left

• `Optional` **left**: *undefined* \| *number*

绝对定位的left值

___

### top

• `Optional` **top**: *undefined* \| *number*

绝对定位的top值
