---
title: vjmap
source: https://vjmap.com/doc/full.html
---

---
pageClass: markdown-page
sidebar: auto
sidebarDepth: 0
search: false
---


### 目录

## Map
**扩展事件**


该`Map`对象代表您页面上的地图。它公开了使您能够以编程方式更改地图的方法和属性，并在用户与其交互时触发事件。

您可以`Map`通过指定 `container`和其他选项来创建。然后初始化页面上的地图并返回您的`Map` 对象。

### Parameters
- `options` **`Object`**
    - `options.container` **( `HTMLElement`| `string`)** 将在其中呈现地图的 HTML 元素，或元素的 string `id`。指定的元素必须没有子元素。
    - `options.minZoom` **`number`**地图的最小缩放级别 (0-24)。（可选，默认`0`）
    - `options.maxZoom` **`number`**地图的最大缩放级别 (0-24)。（可选，默认`22`）
    - `options.minPitch` **`number`**地图的最小倾斜角度 (0-85)。（可选，默认`0`）
    - `options.maxPitch` **`number`**地图的最大倾斜角度（0-85）。（可选，默认`85`）
    - `options.style` **( `Object`| `string`)？**地图的样式。
    - `options.hash` **( `boolean`| `string`)**如果`true`，则地图的位置（缩放、中心纬度、中心经度、方位角和俯仰角）将与页面 URL 的哈希片段同步。例如，`http://path/to/my/page.html#2.59/39.26/53.07/-24.1/60`。可以选择提供附加字符串来指示参数样式的哈希，例如`http://path/to/my/page.html#map=2.59/39.26/53.07/-24.1/60&foo=bar `，其中 foo 是自定义参数， bar 是与地图哈希不同的任意哈希。（可选，默认`false`）
    - `options.interactive` **`boolean`**如果`false`，则不会将鼠标、触摸或键盘侦听器附加到地图，因此它不会响应交互。（可选，默认`true`）
    - `options.bearingSnap` **`number`**阈值（以度为单位），用于确定地图的方位何时向北对齐。例如，当 `bearingSnap`为 7 时，如果用户在北纬 7 度范围内旋转地图，地图将自动对齐到正北。（可选，默认`7`）
    - `options.pitchWithRotate` **`boolean`**如果`false`，地图的俯仰（倾斜）控制与“拖动旋转”交互将被禁用。（可选，默认`true`）
    - `options.clickTolerance` **`number`**用户可以在单击期间移动鼠标指针以将其视为有效单击（与鼠标拖动相反）的最大像素数。（可选，默认`3`）
    - `options.attributionControl` **`boolean`**如果`true`，一个[AttributionControl][204]将被添加到地图中。（可选，默认`true`）
    - `options.customAttribution` **( `string`| `Array`&lt; `string`\>)？**在`AttributionControl 中`显示的一个或多个字符串。仅适用于采用`options.attributionControl`是`true`。
    - `options.logoPosition` **`string`**一个字符串，表示文字标记在地图上的位置。有效选项为`top-left`、`top-right`、`bottom-left`、`bottom-right`。（可选，默认`'bottom-left'`）
    - `options.failIfMajorPerformanceCaveat` **`boolean`**如果`true`，如果性能比预期的差很多（即使用软件渲染器），地图创建将失败。（可选，默认`false`）
    - `options.preserveDrawingBuffer` **`boolean`**如果`true`，则可以使用 将地图的画布导出为 PNG `map.getCanvas().toDataURL()`。这是`false`默认的性能优化。（可选，默认`false`）
    - `options.antialias` **`boolean`?** 如果`true`，将使用 MSAA 抗锯齿创建上下文，这对于抗锯齿自定义图层很有用。这是`false`默认的性能优化。
    - `options.refreshExpiredTiles` **`boolean`**如果`false`，地图将不会尝试重新请求图块，一旦它们根据其 HTTP `cacheControl`/`expires`标头过期。（可选，默认`true`）
    - `options.maxBounds` **[LngLatBoundsLike][299] ?** 如果设置，地图将被限制在给定的范围内。
    - `options.scrollZoom` **( `boolean`| `Object`)**如果`true`，则启用“滚动缩放”交互。一个`Object`值作为选项传递给`ScrollZoomHandler#enable`。（可选，默认`true`）
    - `options.boxZoom` **`boolean`**如果`true`，则启用“框缩放”交互（请参阅[BoxZoomHandler][178]）。（可选，默认`true`）
    - `options.dragRotate` **`boolean`**如果`true`，则启用“拖动旋转”交互（请参阅[DragRotateHandler][192]）。（可选，默认`true`）
    - `options.dragPan` **( `boolean`| `Object`)**如果`true`，则启用“拖动平移”交互。一个`Object`值作为选项传递给`DragPanHandler#enable`。（可选，默认`true`）
    - `options.keyboard` **`boolean`**如果`true`，则启用键盘快捷键（请参阅[KeyboardHandler][184]）。（可选，默认`true`）
    - `options.doubleClickZoom` **`boolean`**如果`true`，则启用“双击缩放”交互（请参阅[DoubleClickZoomHandler][190]）。（可选，默认`true`）
    - `options.touchZoomRotate` **( `boolean`| `Object`)**如果`true`，则启用“捏合旋转和缩放”交互。一个`Object`值作为选项传递给`TouchZoomRotateHandler#enable`。（可选，默认`true`）
    - `options.touchPitch` **( `boolean`| `Object`)**如果`true`，则启用“拖动到音调”交互。一个`Object`值作为选项传递给`TouchPitchHandler#enable`。（可选，默认`true`）
    - `options.trackResize` **`boolean`**如果`true`，则当浏览器窗口调整大小时，地图将自动调整大小。（可选，默认`true`）
    - `options.center` **[LngLatLike][284]**地图的初始地理中心点。如果`center`未在构造函数选项中指定， 将在地图的样式对象中查找它。如果样式中也没有指定，则默认为`[0, 0]`注意：地图使用经度、纬度坐标顺序（相对于纬度、经度）来匹配 GeoJSON。（可选，默认`[0,0]`）
    - `options.zoom` **`number`**地图的初始缩放级别。如果`zoom`未在构造函数选项中指定，将在地图的样式对象中查找它。如果样式中也没有指定，则默认为`0`. （可选，默认`0`）
    - `options.bearing` **`number`**地图的初始方位（旋转），以北为逆时针方向测量的度数。如果`bearing`未在构造函数选项中指定，将在地图的样式对象中查找它。如果样式中也没有指定，则默认为`0`. （可选，默认`0`）
    - `options.pitch` **`number`**地图的初始倾斜度（倾斜度），以距屏幕平面 (0-85) 的度数为单位。如果`pitch`未在构造函数选项中指定，将在地图的样式对象中查找它。如果样式中也没有指定，则默认为`0`. （可选，默认`0`）
    - `options.bounds` **[LngLatBoundsLike][299] ?** 地图的初始边界。如果`bounds`指定，它将覆盖`center`和`zoom`构造函数选项。
    - `options.fitBoundsOptions` **`Object`?** 甲`地图＃fitBounds`选项对象使用_仅_拟合初始时`bounds`的上方。
    - `options.optimizeForTerrain` **`boolean`**启用地形时，如果`true`，地图将呈现性能优先级，这可能会导致图层重新排序以最大化性能（将首先绘制覆盖在地形上的图层，包括填充、线条、背景、山体阴影和栅格）。否则，如果设置为`false`，地图将始终按图层顺序优先级绘制。（可选，默认`true`）
    - `options.renderWorldCopies` **`boolean`**如果`true`，世界的多个副本将在超过 -180 度和 180 度经度的范围内并排呈现。如果设置为`false`：- 当地图缩小到足以使世界的单个表示无法填满地图的整个容器时，超过 180 度和 -180 度经度将出现空白。
        - 在每个缩放级别，跨越 180 度和 -180 度经度的要素将被切成两部分（一部分位于地图的右边缘，另一部分位于地图的左边缘）。（可选，默认`true`）
    - `options.maxTileCacheSize` **`number`**存储在给定源的切片缓存中的最大切片数。如果省略，缓存将根据当前视口动态调整大小。（可选，默认`null`）
    - `options.localIdeographFontFamily` **`string`**定义一个 CSS 字体系列，用于在“CJK 统一表意文字”、“平假名”、“片假名”和“韩文音节”范围内本地覆盖生成字形。在这些范围内，地图样式的字体设置将被忽略，除了字体粗细关键字（light/regular/medium/bold）。设置为`false`, 以针对这些字形范围启用地图样式的字体设置。此选项的目的是避免带宽密集型字形服务器请求。（请参阅`使用本地生成的表意文字 `.)（可选，默认`'sans-serif'`）
    - `options.localFontFamily` **`string`**定义一个 CSS 字体系列，用于本地覆盖所有字形的生成。除了字体粗细关键字（light/regular/medium/bold）之外，地图样式中的字体设置将被忽略。如果设置，此选项将覆盖 localIdeographFontFamily 中的设置（可选，默认`false`）
    - `options.transformRequest` **RequestTransformFunction**在 Map 请求外部 URL 之前运行的回调。回调可用于修改 url、设置标头或设置跨域请求的凭据属性。预计返回`requestParameters的`对象与`url`属性和可选`headers`和`credentials`性能。（可选，默认`null`）
    - `options.collectResourceTiming` **`boolean`**如果`true`，将为 GeoJSON 和 Vector Tile Web Worker 发出的请求收集资源计时 API 信息（此信息通常无法从主 Javascript 线程访问）。信息将在`resourceTiming`相关`data`事件的属性中返回。（可选，默认`false`）
    - `options.fadeDuration` **`number`**控制标签碰撞的淡入/淡出动画的持续时间，以毫秒为单位。此设置会影响所有符号图层。此设置不会影响运行时样式转换或光栅图块淡入淡出的持续时间。（可选，默认`300`）
    - `options.crossSourceCollisions` **`boolean`**如果`true`，来自多个源的符号可以在碰撞检测期间相互碰撞。如果`false`，则对每个源中的符号单独运行碰撞检测。（可选，默认`true`）
    - `options.locale` **`Object`**应用于 UI 字符串的默认本地化表的补丁，例如控件工具提示。该`locale`对象将命名空间的 UI 字符串 ID 映射到目标语言的翻译字符串；`src/ui/default_locale.js`有关所有支持的字符串 ID 的示例，请参见。该对象可以指定所有 UI 字符串（从而添加对新翻译的支持）或仅字符串的子集（从而修补默认翻译表）。（可选，默认`null`）
    - `options.testMode` **`boolean`**静默由于无效的访问令牌而生成的错误和警告，这在使用库编写单元测试时很有用。（可选，默认`false`）

### Examples
```
var map = new vjmap.Map({
  container: 'map', // container ID
  center: [-122.420679, 37.772537], // starting position [lng, lat]
  zoom: 13, // starting zoom
  style: 'your style', // style URL or style object
  hash: true, // sync `center`, `zoom`, `pitch`, and `bearing` with URL
  // Use `transformRequest` to modify requests that begin with `http://myHost`.
  transformRequest: (url, resourceType)=> {
    if(resourceType === 'Source' && url.startsWith('http://myHost')) {
      return {
       url: url.replace('http', 'https'),
       headers: { 'my-custom-header': true},
       credentials: 'include'  // Include cookies for cross-origin requests
     }
    }
  }
});
```

### scrollZoom
地图的[ScrollZoomHandler][187]，它使用滚轮或触控板实现放大和缩小。`scrollZoom`在[ScrollZoomHandler][187]部分中查找更多详细信息和示例。

类型：[ScrollZoomHandler][187]

### boxZoom
地图的[BoxZoomHandler][178]，它使用按住 Shift 键的拖动手势实现缩放。`boxZoom`在[BoxZoomHandler][178]部分中查找更多详细信息和示例。

类型：[BoxZoomHandler][178]

### dragRotate
地图的[DragRotateHandler][192]，它实现了在使用鼠标右键或按下 Control 键拖动时旋转地图。`dragRotate` 在[DragRotateHandler][192]部分中查找更多详细信息和示例。

类型：[DragRotateHandler][192]

### dragPan
地图的[DragPanHandler][191]，它实现了使用鼠标或触摸手势拖动地图。`dragPan`在[DragPanHandler][191]部分中查找更多详细信息和示例。

类型：[DragPanHandler][191]

### keyboard
地图的[KeyboardHandler][184]，它允许用户使用键盘快捷键缩放、旋转和平移地图。`keyboard`在[KeyboardHandler][184]部分中查找更多详细信息和示例。

类型：[KeyboardHandler][184]

### doubleClickZoom
地图的[DoubleClickZoomHandler][190]，允许用户通过双击进行缩放。`doubleClickZoom`在[DoubleClickZoomHandler][190]部分中查找更多详细信息和示例。

类型：[DoubleClickZoomHandler][190]

### touchZoomRotate
地图的[TouchZoomRotateHandler][193]，它允许用户使用触摸手势缩放或旋转地图。`touchZoomRotate`在[TouchZoomRotateHandler][193]部分中查找更多详细信息和示例。

类型：[TouchZoomRotateHandler][193]

### touchPitch
地图的[TouchPitchHandler][183]，它允许用户通过触摸手势来调整地图。`touchPitch`在[TouchPitchHandler][183]部分中查找更多详细信息和示例。

类型：[TouchPitchHandler][183]

### addControl

将[IControl][161]添加到地图，调用`control.onAdd(this)`.

#### Parameters
- `control` **[ICONTROL][161]**的[ICONTROL][161]补充。
- `position` **`string`?** 控件将添加到的地图上的位置。有效值是`'top-left'`，`'top-right'`，`'bottom-left'`，和`'bottom-right'`。默认为`'top-right'`.

#### Examples
```
// Add zoom and rotation controls to the map.
map.addControl(new vjmap.NavigationControl());
```

返回**`地图`** `this`

### removeControl
从地图中删除控件。

#### Parameters
- `control` **[ICONTROL][161]**的[ICONTROL][161]删除。

#### Examples
```
// Define a new navigation control.
var navigation = new vjmap.NavigationControl();
// Add zoom and rotation controls to the map.
map.addControl(navigation);
// Remove zoom and rotation controls from the map.
map.removeControl(navigation);
```

返回**`地图`** `this`

### hasControl
检查控件是否在地图上。

#### Parameters
- `control` **[ICONTROL][161]**的[ICONTROL][161]检查。

#### Examples
```
// Define a new navigation control.
var navigation = new vjmap.NavigationControl();
// Add zoom and rotation controls to the map.
map.addControl(navigation);
// Check that the navigation control exists on the map.
const added = map.hasControl(navigation);
// added === true
```

**`boolean`**如果地图包含控件，则返回True。

### resize
根据其`container`元素的尺寸调整地图的大小 。

检查地图容器大小是否改变，如果改变则更新地图。必须在以`container`编程方式调整地图大小后或在最初使用 CSS 隐藏地图后显示地图时调用此方法。

#### Parameters
- `eventData` **`Object`?** 要传递给`movestart`、`move`、`resize`和`moveend` 因调整大小而触发的事件的其他属性。这对于区分事件源（例如，用户启动或以编程方式触发的事件）非常有用。

#### Examples
```
// Resize the map when the map container is shown
// after being initially hidden with CSS.
var mapDiv = document.getElementById('map');
if (mapDiv.style.visibility === true) map.resize();
```

返回**`地图`** `this`

### getBounds
返回地图的地理边界。当方位角或螺距不为零时，可见区域不是轴对齐的矩形，结果是包含可见区域的最小边界。如果在地图上设置了填充，则返回的边界适用于插图。

#### Examples
```
var bounds = map.getBounds();
```

返回**[LngLatBounds][285]**地图的地理边界作为[LngLatBounds][285]。

### getMaxBounds
返回地图被限制到的最大地理边界，或者`null`如果没有设置。

#### Examples
```
var maxBounds = map.getMaxBounds();
```

返回**( [LngLatBounds][285] | null)**地图对象。

### setMaxBounds
设置或清除地图的地理边界。

平移和缩放操作被限制在这些范围内。如果执行平移或缩放会显示这些边界之外的区域，则地图将改为显示尽可能接近操作请求的位置和缩放级别，同时仍保持在边界内。

#### Parameters
- `bounds` **( [LngLatBoundsLike][299] | null | `undefined`)**要设置的最大边界。如果提供`null`或`undefined`，该函数将删除地图的最大边界。

#### Examples
```
// Define bounds that conform to the `LngLatBoundsLike` object.
var bounds = [
  [-74.04728, 40.68392], // [west, south]
  [-73.91058, 40.87764]  // [east, north]
];
// Set the map's max bounds.
map.setMaxBounds(bounds);
```

返回**`地图`** `this`

### setMinZoom
设置或清除地图的最小缩放级别。如果地图的当前缩放级别低于新的最小值，则地图将缩放到新的最小值。

并非总是可以缩小并到达集合`minZoom`。其他因素（例如地图高度）可能会限制缩放。例如，如果地图的高度为 512 像素，则无论`minZoom`设置为什么，都无法在缩放 0 以下进行缩放。

#### Parameters
- `minZoom` **( `number`| null | `undefined`)**要设置的最小缩放级别 (-2 - 24)。如果提供`null`或`undefined`，该函数将删除当前的最小缩放（即将其设置为 -2）。

#### Examples
```
map.setMinZoom(12.25);
```

返回**`地图`** `this`

### getMinZoom
返回地图的最小允许缩放级别。

#### Examples
```
var minZoom = map.getMinZoom();
```

返回**`number`**minZoom

### setMaxZoom
设置或清除地图的最大缩放级别。如果地图的当前缩放级别高于新的最大值，则地图将缩放到新的最大值。

#### Parameters
- `maxZoom` **( `number`| null | `undefined`)**要设置的最大缩放级别。如果提供`null`或`undefined`，该函数将删除当前最大缩放（将其设置为 22）。

#### Examples
```
map.setMaxZoom(18.75);
```

返回**`地图`** `this`

### getMaxZoom
返回地图的最大允许缩放级别。

#### Examples
```
var maxZoom = map.getMaxZoom();
```

返回**`number`**最大缩放

### setMinPitch
设置或清除地图的最小间距。如果地图的当前俯仰低于新的最小值，则地图将俯仰到新的最小值。

#### Parameters
- `minPitch` **( `number`| null | `undefined`)**要设置的最小间距 (0-85)。如果提供`null`或`undefined`，则该函数会删除当前的最小音高（即，将其设置为 0）。

返回**`地图`** `this`

### getMinPitch
返回地图的最小允许间距。

返回**`number`**minPitch

### setMaxPitch
设置或清除地图的最大间距。如果地图的当前俯仰高于新的最大值，则地图将俯仰到新的最大值。

#### Parameters
- `maxPitch` **( `number`| null | `undefined`)**要设置的最大间距。如果提供`null`或`undefined`，则该函数会删除当前的最大音高（将其设置为 85）。

返回**`地图`** `this`

### getMaxPitch
返回地图的最大允许间距。

返回**`number`**最大间距

### getRenderWorldCopies

返回 的状态`renderWorldCopies`。如果`true`，世界的多个副本将在超过 -180 度和 180 度经度的范围内并排呈现。如果设置为`false`：

- 当地图缩小到足以让世界的单一表示无法填满地图的整个容器时，超过 180 度和 -180 度经度将出现空白。
- 在每个缩放级别，跨越 180 度和 -180 度经度的要素将被切成两部分（一部分位于地图的右边缘，另一部分位于地图的左边缘）。

#### Examples
```
var worldCopiesRendered = map.getRenderWorldCopies();
```

返回**`boolean`**renderWorldCopies

### setRenderWorldCopies

设置 的状态`renderWorldCopies`。

#### Parameters
- `renderWorldCopies` **`boolean`**如果`true`，世界的多个副本将在超过 -180 度和 180 度经度的范围内并排呈现。如果设置为`false`：- 当地图缩小到足以使世界的单个表示无法填满地图的整个容器时，超过 180 度和 -180 度经度将出现空白。
    - 在每个缩放级别，跨越 180 度和 -180 度经度的要素将被切成两部分（一部分位于地图的右边缘，另一部分位于地图的左边缘）。`undefined`被视为`true`，`null`被视为`false`。

#### Examples
```
map.setRenderWorldCopies(true);
```

返回**`地图`** `this`

### project
返回一个[Point][165]表示像素坐标，相对于地图的`container`，对应于指定的地理位置。

当地图倾斜并`lnglat`完全在相机后面时，没有对应于该位置的像素坐标。在这种情况下，返回的`Point][165]的`x`和`y`组件设置为 Number.MAX\_VALUE。[`

#### Parameters
- `lnglat` **`LngLatLike 要投影`**的地理位置。

#### Examples
```
var coordinate = [-122.420679, 37.772537];
var point = map.project(coordinate);
```

返回**[Point][165]**对应于的`点``lnglat`，相对于地图的`container`。

### unproject
返回表示与指定像素坐标对应的地理坐标的[LngLat][230]。如果地平线可见，并且指定像素高于地平线，则返回与地平线上的点相对应的[LngLat][230]，距离该点最近。

#### Parameters
- `point` **`PointLike 要取消投影`**的像素坐标。

#### Examples
```
map.on('click', function(e) {
  // When the map is clicked, get the geographic coordinate.
  var coordinate = map.unproject(e.point);
});
```

返回**[LngLat][230]**对应的[LngLat][230]`point`。

### isMoving
如果地图由于相机动画或用户手势而平移、缩放、旋转或俯仰，则返回 true。

#### Examples
```
var isMoving = map.isMoving();
```

**`boolean`**如果地图正在移动，则返回True。

### isZooming
如果地图由于相机动画或用户手势而缩放，则返回 true。

#### Examples
```
var isZooming = map.isZooming();
```

**`boolean`**如果地图正在缩放，则返回True。

### isRotating
如果地图由于相机动画或用户手势而旋转，则返回 true。

#### Examples
```
map.isRotating();
```

**`boolean`**如果地图正在旋转，则返回True。

### on

为指定类型的事件添加侦听器，可选择限制为指定样式层中的功能。

#### Parameters
- `type` **`string`**要侦听的事件类型。`layerId`当光标从该图层外部或地图画布外部进入指定图层的可见部分时，将触发与可选参数兼容的事件。

#### Parameters
- `type` **`string`**要侦听的事件类型。`layerId`当光标从该图层外部或地图画布外部进入指定图层的可见部分时，将触发与可选参数兼容的事件。

 |事件 | 兼容`layerId`|
 |-|-|-
 |``mousedown`` | 是 |
 | ``mouseup`` | 是 |
 | ``mouseover`` | 是 |
 | ``mouseout`` | 是 |
 | ``mousemove`` | 是 |
 | ``mouseenter`` | 是（必填） |
 | ``mouseleave`` | 是（必填） |
 | ``click`` | 是 |
 | ``dblclick`` | 是 |
 | ``contextmenu`` | 是 |
 | ``contextMenuPreOpen`` | 是 |
 | ``contextMenuOpened`` | 是 |
 | ``contextMenuNoContent`` | 是 |
 | ``contextMenuCancel`` | 是 |
 | ``touchstart`` | 是 |
 | ``touchend`` | 是 |
 | ``touchcancel`` | 是 |
 | ``wheel`` |
 | ``resize`` |
 | ``remove`` |
 | ``touchmove`` |
 | ``movestart`` |
 | ``move`` |
 | ``moveend`` |
 | ``dragstart`` |
 | ``drag`` |
 | ``dragend`` |
 | ``zoomstart`` |
 | ``zoom`` |
 | ``zoomend`` |
 | ``rotatestart`` |
 | ``rotate`` |
 | ``rotateend`` |
 | ``pitchstart`` |
 | ``pitch`` |
 | ``pitchend`` |
 | ``boxzoomstart`` |
 | ``boxzoomend`` |
 | ``boxzoomcancel`` |
 | ``webglcontextlost`` |
 | ``webglcontextrestored``|
 | ``load`` |
 | ``render`` |
 | ``idle`` |
 | ``error`` |
 | ``data`` |
 | ``styledata`` |
 | ``sourcedata`` |
 | ``dataloading`` |
 | ``styledataloading`` |
 | ``sourcedataloading`` |
 | ``styleimagemissing`` |

- `layerId` **`string`**（可选）样式层的 ID。如果您提供`layerId`，则仅当侦听器的位置位于该图层中的可见要素内时才会触发侦听器，并且该事件将具有`features`包含匹配要素数组的属性。如果您不提供`layerId`，则侦听器将由地图上任何位置发生的相应事件触发，并且该事件将没有`features`属性。请注意，许多事件类型与可选`layerId`参数不兼容。
- `listener` **Function**触发事件时要调用的函数。

#### Examples
```
// Set an event listener that will fire
// when the map has finished loading.
map.on('load', function() {
  // Add a new layer.
  map.addLayer({
    id: 'points-of-interest',
    source: {
      type: 'vector',
      url: 'your url'
    },
    'source-layer': 'poi_label',
    type: 'circle',
    paint: {
      // Style Specification paint properties
    },
    layout: {
      // Style Specification layout properties
    }
  });
});
```

```
// Set an event listener that will fire
// when a feature on the countries layer of the map is clicked.
map.on('click', 'countries', function(e) {
  new vjmap.Popup()
    .setLngLat(e.lngLat)
    .setHTML(`Country name: ${e.features[0].properties.name}`)
    .addTo(map);
});
```

返回**`地图`** `this`

### once

添加一个仅对指定事件类型调用一次的侦听器，可选择仅限于在指定样式图层中的要素上发生的事件。

#### Parameters
- `type` **`string`**要侦听的事件类型；之一`'mousedown'`，`'mouseup'`，`'click'`，`'dblclick'`， `'mousemove'`，`'mouseenter'`，`'mouseleave'`，`'mouseover'`，`'mouseout'`，`'contextmenu'`，`'touchstart'`， `'touchend'`，或`'touchcancel'`。`mouseenter`和`mouseover`当光标从外部进入指定的层的可见部分事件被触发该层或地图帆布外。`mouseleave` 和`mouseout`事件被触发时光标离开指定的层，或叶地图画布的可见部分。
- `layerId` **`string`**（可选）样式层的 ID。如果您提供`layerId`，则仅当侦听器的位置位于该图层中的可见要素内时才会触发侦听器，并且该事件将具有`features`包含匹配要素数组的属性。如果您不提供`layerId`，则侦听器将由地图上任何位置发生的相应事件触发，并且该事件将没有`features`属性。请注意，许多事件类型与可选`layerId`参数不兼容。
- `listener` **Function**触发事件时要调用的函数。

#### Examples
```
// Log the coordinates of a user's first map touch.
map.once('touchstart', function (e) {
  console.log('The first map touch was at: ' + e.lnglat)
});
```

```
// Log the coordinates of a user's first map touch
// on a specific layer.
map.once('touchstart', 'my-point-layer', function (e) {
  console.log('The first map touch on the point layer was at: ' + e.lnglat)
});
```

返回**`地图`** `this`

### off

删除先前使用`Map#on`添加的事件侦听器，可选择限制为特定于图层的事件。

#### Parameters
- `type` **`string`** 以前用于安装侦听器的事件类型。
- `layerId` **`string`** （可选）先前用于安装侦听器的层 ID。
- `listener` **功能**以前安装的监听功能。

#### Examples
```
// Create a function to print coordinates while a mouse is moving.
function onMove(e) {
  console.log('The mouse is moving: ' + e.lngLat)
}
// Create a function to unbind the `mousemove` event.
function onUp(e) {
  console.log('The final coordinates are: ' + e.lngLat)
  map.off('mousemove', onMove);
}
// When a click occurs, bind both functions to mouse events.
map.on('mousedown', function (e) {
  map.on('mousemove', onMove);
  map.once('mouseup', onUp);
});
```

返回**`地图`** `this`

### queryRenderedFeatures

返回一个`GeoJSON`数组 `` `特征对象` 表示满足查询参数的可见特征。

#### Parameters
- `geometry` **( [PointLike][166] | `Array`&lt; [PointLike][166] >)？**以像素为单位的查询区域的几何形状：描述边界框的单个点或左下角和右上角的点，其中原点位于左上角。省略此参数（即使用零参数或仅使用参数调用`Map#queryRenderedFeatures``options`）等效于传递包含整个地图视口的边界框。仅支持现有视口内的值。
- `options` **`Object`?** 选项对象。
    - `options.layers` **`Array`&lt; `string`\>？**一组`样式层 ID `用于要检查的查询。仅返回这些图层内的要素。如果未定义此参数，则将检查所有图层。
    - `options.filter` **`Array`?** 一个`过滤器` 限制查询结果。
    - `options.validate` **`boolean`**是否检查 \[options.filter\] 是否符合样式规范。禁用验证是一种性能优化，只有在您之前验证过将传递给此函数的值时才应使用。（可选，默认`true`）

#### Examples
```
// Find all features at a point
var features = map.queryRenderedFeatures(
  [20, 35],
  { layers: ['my-layer-name'] }
);
```

```
// Find all features within a static bounding box
var features = map.queryRenderedFeatures(
  [[10, 20], [30, 50]],
  { layers: ['my-layer-name'] }
);
```

```
// Find all features within a bounding box around a point
var width = 10;
var height = 20;
var features = map.queryRenderedFeatures([
  [point.x - width / 2, point.y - height / 2],
  [point.x + width / 2, point.y + height / 2]
], { layers: ['my-layer-name'] });
```

```
// Query all rendered features from a single layer
var features = map.queryRenderedFeatures({ layers: ['my-layer-name'] });
```

返回**`Array`&lt; `Object`\>** `GeoJSON`数组 `` `特征对象 `.`properties`每个返回的特征对象的值都包含其源特征的属性。对于以GeoJSON源，只有字符串和数值属性的值被支持（即`null`，`Array`和`Object`值不支持）。每个特征包括顶层`layer`，`source`和`sourceLayer`特性。该`layer`属性是一个对象，表示该要素所属的样式图层。此对象中的布局和绘制属性包含针对给定缩放级别和特征进行全面评估的值。仅包括当前呈现的特征。某些功能将**不**包括在内，例如：-`visibility`属性为 的图层中的功能`"none"`。

- 来自缩放范围不包括当前缩放级别的图层的要素。
- 由于文本或图标碰撞而被隐藏的符号特征。包括所有其他层的特征，包括可能对渲染结果没有可见贡献的特征；例如，因为图层的不透明度或颜色 alpha 分量设置为 0。最上面渲染的特征首先出现在返回的数组中，后续特征按 z-order 降序排序。多次渲染的要素（由于在低缩放级别下环绕反子午线）仅返回一次（但需遵守以下注意事项）。因为要素来自切片矢量数据或在内部转换为切片的 GeoJSON 数据，所以要素几何可能会跨切片边界拆分或复制，因此，要素可能会在查询结果中出现多次。例如，假设有一条高速公路穿过查询的边界矩形。查询的结果将是位于覆盖边界矩形的地图图块内的高速公路部分，即使高速公路延伸到其他图块中，并且每个地图图块内的高速公路部分将作为单独的要素返回。类似地，由于瓦片缓冲，瓦片边界附近的点要素可能出现在多个瓦片中。

### querySourceFeatures

返回一个`GeoJSON`数组 `` `特征对象` 表示满足查询参数的指定矢量切片或 GeoJSON 源中的要素。

#### Parameters
- `sourceId` **`string`** 要查询的矢量切片或 GeoJSON 源的 ID。
- `parameters` **`Object`?** 选项对象。
    - `parameters.sourceLayer` **`string`?** `源层`的名称 `` 查询。_对于矢量切片源，此参数是必需的。_对于 GeoJSON 源，它被忽略。
    - `parameters.filter` **`Array`?** 一个`过滤器` 限制查询结果。
    - `parameters.validate` **`boolean`**是否检查 \[parameters.filter\] 是否符合样式规范。禁用验证是一种性能优化，只有在您之前验证过将传递给此函数的值时才应使用。（可选，默认`true`）

#### Examples
```
// Find all features in one source layer in a vector source
var features = map.querySourceFeatures('your-source-id', {
  sourceLayer: 'your-source-layer'
});
```

返回**`Array`&lt; `Object`\>** `GeoJSON](http://geojson.org/)数组 `` `特征对象 `. 与[Map#queryRenderedFeatures 相比`，该函数返回所有匹配查询参数的特征，无论它们是否被当前样式渲染（即可见）。查询的域包括所有当前加载的矢量切片和 GeoJSON 源切片：该函数不检查当前可见视口之外的切片。因为特征来自切片矢量数据或内部转换为切片的 GeoJSON 数据，特征几何可能跨切片边界拆分或复制，因此，要素可能会在查询结果中出现多次。例如，假设有一条高速公路穿过查询的边界矩形。查询的结果将是位于覆盖边界矩形的地图图块内的高速公路部分，即使高速公路延伸到其他图块中，每个地图图块内的高速公路部分将作为单独的要素返回。类似地，由于瓦片缓冲，瓦片边界附近的点要素可能出现在多个瓦片中。

### setStyle

使用新值更新地图的 样式对象。

如果在使用时已经设置了样式并且 options.diff 设置为 true，则地图渲染器将尝试将给定样式与地图的当前状态进行比较，并仅执行使地图样式与所需状态匹配所需的更改。精灵（用于图标和图案的图像）和字形（标签文本的字体）的变化**无法**区分。如果当前样式中使用的精灵或字体与给定样式有任何不同，地图渲染器将强制进行完整更新，删除当前样式并从头开始构建给定样式。

#### Parameters
- `style` **(StyleSpecification | `string`| null)**符合`样式规范中`描述的架构的 JSON 对象 ``，或此类 JSON 的 URL。
- `options` **`Object`?** 选项对象。
    - `options.diff` **`boolean`**如果为 false，则强制进行“完整”更新，删除当前样式并构建给定样式，而不是尝试基于差异的更新。（可选，默认`true`）
    - `options.localIdeographFontFamily` **`string`**定义一个 CSS 字体系列，用于在“CJK 统一表意文字”、“平假名”、“片假名”和“韩文音节”范围内本地覆盖生成字形。在这些范围内，地图样式的字体设置将被忽略，除了字体粗细关键字（light/regular/medium/bold）。设置为`false`, 以针对这些字形范围启用地图样式的字体设置。强制完整更新。（可选，默认`'sans-serif'`）

#### Examples
```
map.setStyle("your style");
```

返回**`地图`** `this`

### getStyle
返回地图的 `样式` 对象，一个 JSON 对象，可用于重新创建地图的样式。

#### Examples
```
map.on('load', function() {
  var styleJson = map.getStyle();
});
```

返回**`Object`**地图的样式 JSON 对象。

### isStyleLoaded
返回一个布尔值，指示地图的样式是否已完全加载。

#### Examples
```
var styleLoadStatus = map.isStyleLoaded();
```

返回**`boolean`**一个布尔值，指示样式是否已完全加载。

### addSource

将源添加到地图的样式。

#### Parameters
- `id` **`string`**要添加的源的 ID。不得与现有来源发生冲突。
- `source` **`Object`**源对象。

#### Examples
```
map.addSource('my-data', {
  type: 'vector',
  url: 'your url'
});
```

```
map.addSource('my-data', {
  "type": "geojson",
  "data": {
    "type": "Feature",
    "geometry": {
      "type": "Point",
      "coordinates": [-77.0323, 38.9131]
    },
    "properties": {
      "title": "DC",
      "marker-symbol": "monument"
    }
  }
});
```

返回**`地图`** `this`

### isSourceLoaded
返回一个布尔值，指示源是否已加载。返回`true`如果在地图的风格给定ID的源没有未完成的的网络请求，否则`false`。

#### Parameters
- `id` **`string`** 要检查的源的 ID。

#### Examples
```
var sourceLoaded = map.isSourceLoaded('bathymetry-data');
```

返回**`boolean`**一个布尔值，指示源是否已加载。

### areTilesLoaded
返回一个布尔值，指示是否加载了来自样式上所有源的视口中的所有图块。

#### Examples
```
var tilesLoaded = map.areTilesLoaded();
```

返回**`boolean`**一个布尔值，指示是否已加载所有图块。

### removeSource
从地图的样式中删除源。

#### Parameters
- `id` **`string`** 要删除的源的 ID。

#### Examples
```
map.removeSource('bathymetry-data');
```

返回**`地图`** `this`

### getSource

返回具有地图样式中指定 ID 的源。

此方法通常用于使用`Sources 中`定义的相关源类型的实例成员更新`源`。例如，`data`为 GeoJSON 源设置或更新 图像源的`url`和`coordinates`。

#### Parameters
- `id` **`string`** 要获取的源的 ID。

#### Examples
```
var sourceObject = map.getSource('points');
```

返回**`Object`?** 具有指定 ID 的样式源，或者`undefined`如果 ID 不对应于现有源。对象的形状因源类型而异。样式规范的`源中`提供了每种源类型的选项列表 `` 页。

### addImage

向样式添加图像。此图像可以像样式``[精灵]`` 使用图像的 ID ``icon-image` `, ``background-pattern` `, ``fill-pattern` `， 或者 ``line-pattern` `. 一个`Map.event`：错误如果没有在精灵足够的空间来添加此图像事件将被解雇。

#### Parameters
- `id` **`string`** 图像的 ID。
- `image` **`HTMLImageElement`| 图像位图 | 图像数据 | {width: `number`, height: `number`, data: ( `Uint8Array `| `Uint8ClampedArray `)} | [StyleImageInterface` )**图像作为`HTMLImageElement`、`ImageData`、`ImageBitmap`或具有、 和 属性的对象`width`，其格式与.`height``data``ImageData`
- `options` **$Shape&lt;StyleImageMetadata>**选项对象。（可选，默认`{}`）
    - `options.pixelRatio` 图像中的像素与屏幕上的物理像素的比率（可选，默认`1`）
    - `options.sdf` 图像是否应被解释为 SDF 图像（可选，默认`false`）
    - `options.stretchX` `[[x1, x2], ...]`如果`icon-text-fit`在具有此图像的图层中使用，则此选项定义可以水平拉伸的图像部分。
    - `options.stretchY` `[[y1, y2], ...]`如果`icon-text-fit`在带有此图像的图层中使用，则此选项定义可以垂直拉伸的图像部分。
    - `options.content` `[x1, y1, x2, y2]` 如果`icon-text-fit`在带有此图像的图层中使用，则此选项定义图像中可以被 中的内容覆盖的部分`text-field`。

#### Examples
```
// If the style's sprite does not already contain an image with ID 'cat',
// add the image 'cat-icon.png' to the style's sprite with the ID 'cat'.
map.loadImage('https://xxx.png', function(error, image) {
   if (error) throw error;
   if (!map.hasImage('cat')) map.addImage('cat', image);
});


// Add a stretchable image that can be used with `icon-text-fit`
// In this example, the image is 600px wide by 400px high.
map.loadImage('https:/xxx.png', function(error, image) {
   if (error) throw error;
   if (!map.hasImage('border-image')) {
     map.addImage('border-image', image, {
         content: [16, 16, 300, 384], // place text over left half of image, avoiding the 16px border
         stretchX: [[16, 584]], // stretch everything horizontally except the 16px border
         stretchY: [[16, 384]], // stretch everything vertically except the 16px border
     });
   }
});
```

### updateImage
更新样式中的现有图像。此图像可以像样式`精灵`中的任何其他图标一样显示在地图上 `` 使用图像的 ID ``icon-image` `, ``background-pattern` `, ``fill-pattern` `， 或者 ``line-pattern` `.

#### Parameters
- `id` **`string`** 图像的 ID。
- `image` **`HTMLImageElement`| 图像位图 | 图像数据 | {width: `number`, height: `number`, data: ( `Uint8Array `| `Uint8ClampedArray `)} | [StyleImageInterface` )**图像作为`HTMLImageElement`、`ImageData`、`ImageBitmap`或具有、 和 属性的对象`width`，其格式与.`height``data``ImageData`

#### Examples
```
// If an image with the ID 'cat' already exists in the style's sprite,
// replace that image with a new image, 'other-cat-icon.png'.
if (map.hasImage('cat')) map.updateImage('cat', './other-cat-icon.png');
```

### hasImage
检查样式中是否存在具有特定 ID 的图像。

#### Parameters
- `id` **`string`** 图像的 ID。

#### Examples
```
// Check if an image with the ID 'cat' exists in
// the style's sprite.
var catIconExists = map.hasImage('cat');
```

返回**`boolean`**一个布尔值，指示图像是否存在。

### removeImage
从样式中删除图像。

#### Parameters
- `id` **`string`** 图像的 ID。

#### Examples
```
// If an image with the ID 'cat' exists in
// the style's sprite, remove it.
if (map.hasImage('cat')) map.removeImage('cat');
```

### loadImage

从外部 URL 加载图像以与`Map#addImage`一起使用。外部域必须支持`CORS `.

#### Parameters
- `url` **`string`**图像文件的 URL。图像文件必须为 png、webp 或 jpg 格式。
- `callback` **功能**期待`callback(error, data)`。在图像加载时调用或在出现错误时使用错误参数调用。

#### Examples
```
// Load an image from an external URL.
map.loadImage('http://xxx', function(error, image) {
  if (error) throw error;
  // Add the loaded image to the style's sprite with the ID 'kitten'.
  map.addImage('kitten', image);
});
```

### listImages
返回一个字符串数组，其中包含地图中当前可用的所有图像的 ID。

#### Examples
```
var allImages = map.listImages();
```

返回**`Array`&lt; `string`\>**包含地图中当前可用的所有精灵/图像名称的字符串数组。

### addLayer

添加`样式图层`到地图的样式。

层定义了来自指定源的数据的样式。在`样式规范中`阅读有关图层类型和可用绘制和布局属性的`更多信息 `.

#### Parameters
- `layer` **( `Object`| `CustomLayerInterface][276] )**要添加的图层，符合 样式规范的`图层定义 `或者，不太常见的是[CustomLayerInterface`规范。样式规范的图层定义适用于大多数图层。
    - `layer.id` **`string`** 您定义的唯一标识符。
    - `layer.type` **`string`**层的类型（例如`fill`或`symbol`）。`样式规范中`提供了图层类型列表 ``.（这也可以是`custom`。有关更多信息，请参阅[CustomLayerInterface`。）
    - `layer.source` **( `string`| `Object`)？** 图层的数据源。引用已使用源的唯一 id_定义_的源。使用源对象引用_新源_（如`样式规范中`所定义） ``） 直接地。这是**需要**所有`layer.type`的选项_，除了_为`custom`和`background`。
    - `layer.sourceLayer` **`string`?** （可选）`源层`的名称 ``在指定`layer.source`用于此样式层的范围内。这是仅适用于矢量瓦片源并且**需要**时`layer.source`是该类型`vector`。
    - `layer.filter` **`大批 `?** （可选）指定源要素条件的表达式。仅显示与过滤器匹配的特征。样式规范包含有关限制的更多信息``filter` `参数和可用`表达式`的完整列表 ``. 如果未提供过滤器，则将显示源（或矢量切片集的源层）中的所有要素。
    - `layer.paint` **`Object`?** （可选）图层的绘制属性。可用的油漆特性因`layer.type`. `样式规范中`提供了每种图层类型的绘制属性的完整列表 ``. 如果未指定绘制属性，则将使用默认值。
    - `layer.layout` **`Object`?** （可选）图层的布局属性。可用的布局属性因 而异`layer.type`。`样式规范中`提供了每个图层类型的布局属性的完整列表 ``. 如果未指定布局属性，则将使用默认值。
    - `layer.maxzoom` **`number`?** （可选）图层的最大缩放级别。在缩放级别等于或大于 maxzoom 时，图层将被隐藏。该值可以是`0`和`24`（包括）之间的任何数字。如果未提供 maxzoom，则图层将在有可用图块的所有缩放级别上可见。
    - `layer.minzoom` **`number`?** （可选）图层的最小缩放级别。当缩放级别小于 minzoom 时，图层将被隐藏。该值可以是`0`和`24`（包括）之间的任何数字。如果未提供 minzoom，则图层将在有可用图块的所有缩放级别上可见。
    - `layer.metadata` **`Object`?** （可选）用于跟踪图层的任意属性，但不影响渲染。
    - `layer.renderingMode` **`string`?** 这仅适用于类型为 的图层`custom`。有关更多信息，请参阅[CustomLayerInterface][276]。
- `beforeId` **`string`?** 在现有图层之前插入新图层的现有图层的 ID，从而使新图层在视觉上出现在现有图层下方。如果未指定此参数，则图层将附加到图层数组的末尾，并在视觉上显示在所有其他图层之上。

#### Examples
```
// Add a circle layer with a vector source
map.addLayer({
  id: 'points-of-interest',
  source: {
    type: 'vector',
    url: 'your url'
  },
  'source-layer': 'poi_label',
  type: 'circle',
  paint: {
    // Style Specification paint properties
  },
  layout: {
    // Style Specification layout properties
  }
});
```

```
// Define a source before using it to create a new layer
map.addSource('state-data', {
  type: 'geojson',
  data: 'path/to/data.geojson'
});

map.addLayer({
  id: 'states',
  // References the GeoJSON source defined above
  // and does not require a `source-layer`
  source: 'state-data',
  type: 'symbol',
  layout: {
    // Set the label content to the
    // feature's `name` property
    text-field: ['get', 'name']
  }
});
```

```
// Add a new symbol layer before an existing layer
map.addLayer({
  id: 'states',
  // References a source that's already been defined
  source: 'state-data',
  type: 'symbol',
  layout: {
    // Set the label content to the
    // feature's `name` property
    text-field: ['get', 'name']
  }
// Add the layer before the existing `cities` layer
}, 'cities');
```

返回**`地图`** `this`

### moveLayer
将图层移动到不同的 z 位置。

#### Parameters
- `id` **`string`** 要移动的图层的 ID。
- `beforeId` **`string`?** 要在之前插入新图层的现有图层的 ID。查看地图时，`id`图层将出现在`beforeId`图层下方。如果`beforeId`省略，图层将被附加到图层数组的末尾并出现在地图上的所有其他图层之上。

#### Examples
```
// Move a layer with ID 'polygon' before the layer with ID 'country-label'. The `polygon` layer will appear beneath the `country-label` layer on the map.
map.moveLayer('polygon', 'country-label');
```

返回**`地图`** `this`

### removeLayer
从地图的样式中删除具有给定 ID 的图层。

如果不存在这样的层，`error`则会触发一个事件。

#### Parameters
- `id` **`string`** 要删除的图层的 id

#### Examples
```
// If a layer with ID 'state-data' exists, remove it.
if (map.getLayer('state-data')) map.removeLayer('state-data');
```

### getLayer

返回地图样式中具有指定 ID 的图层。

#### Parameters
- `id` **`string`** 要获取的图层的 ID。

#### Examples
```
var stateDataLayer = map.getLayer('state-data');
```

返回**`Object`?** 具有指定 ID 的图层，或者`undefined` 如果 ID 对应于不存在的图层。

### setLayerZoomRange
设置指定样式图层的缩放范围。缩放范围包括 `最小缩放级别` 和`最大缩放级别` 图层将被渲染。

注意：对于使用矢量源的样式图层，样式图层无法以低于_源图层_的最小缩放级别的缩放级别进行渲染，因为这些缩放级别不存在数据。如果源图层的最小缩放级别高于样式图层中定义的最小缩放级别，则不会在缩放范围内的所有缩放级别渲染样式图层。

#### Parameters
- `layerId` **`string`** 将应用缩放范围的图层的 ID。
- `minzoom` **`number`** 要设置的最小缩放 (0-24)。
- `maxzoom` **`number`** 要设置的最大缩放 (0-24)。

#### Examples
```
map.setLayerZoomRange('my-layer', 2, 5);
```

返回**`地图`** `this`

### setFilter

为指定的样式层设置过滤器。

过滤器控制样式层从其源呈现的特征。过滤器表达式计算出的任何要素`true`都将在地图上呈现。那些虚假的将被隐藏。

使用`setFilter`显示源数据的子集。

要清除过滤器，请传递`null`或`undefined`作为第二个参数。

#### Parameters
- `layerId` **`string`** 将应用过滤器的图层的 ID。
- `filter` **( `Array`| null | `undefined`)**过滤器，符合 Style Specification 的 `过滤器定义 `. 如果提供`null`或`undefined`，则该函数会从图层中删除任何现有过滤器。
- `options` **`Object`?** 选项对象。（可选，默认`{}`）
    - `options.validate` **`boolean`**是否检查过滤器是否符合样式规范。禁用验证是一种性能优化，只有在您之前验证过将传递给此函数的值时才应使用。（可选，默认`true`）

#### Examples
```
// display only features with the 'name' property 'USA'
map.setFilter('my-layer', ['==', ['get', 'name'], 'USA']);
```

```
// display only features with five or more 'available-spots'
map.setFilter('bike-docks', ['>=', ['get', 'available-spots'], 5]);
```

```
// remove the filter for the 'bike-docks' style layer
map.setFilter('bike-docks', null);
```

返回**`地图`** `this`

### getFilter
返回应用于指定样式层的过滤器。

#### Parameters
- `layerId` **`string`** 要获取其过滤器的样式图层的 ID。

返回**`Array`**图层的过滤器。

### setPaintProperty

设置指定样式层中绘制属性的值。

#### Parameters
- `layerId` **`string`** 要在其中设置 Paint 属性的图层的 ID。
- `name` **`string`** 要设置的绘制属性的名称。
- `value` **any**要设置的paint 属性的值。必须是适合该属性的类型，如`样式规范中`所定义 ``.
- `options` **`Object`?** 选项对象。（可选，默认`{}`）
    - `options.validate` **`boolean`**是否检查是否`value`符合样式规范。禁用验证是一种性能优化，只有在您之前验证过将传递给此函数的值时才应使用。（可选，默认`true`）

#### Examples
```
map.setPaintProperty('my-layer', 'fill-color', '#faafee');
```

返回**`地图`** `this`

### getPaintProperty
返回指定样式层中绘制属性的值。

#### Parameters
- `layerId` **`string`** 从中获取paint属性的图层的ID。
- `name` **`string`** 要获取的油漆属性的名称。

返回**任何**指定的paint属性的值。

### setLayoutProperty

设置指定样式层中布局属性的值。

#### Parameters
- `layerId` **`string`** 要在其中设置布局属性的图层的 ID。
- `name` **`string`** 要设置的布局属性的名称。
- `value` **any**布局属性的值。必须是适合该属性的类型，如`样式规范中`所定义 ``.
- `options` **`Object`?** 选项对象。（可选，默认`{}`）
- `options.validate` **`boolean`**是否检查是否`value`符合样式规范。禁用验证是一种性能优化，只有在您之前验证过将传递给此函数的值时才应使用。（可选，默认`true`）

#### Examples
```
map.setLayoutProperty('my-layer', 'visibility', 'none');
```

返回**`地图`** `this`

### getLayoutProperty
返回指定样式层中布局属性的值。

#### Parameters
- `layerId` **`string`** 要从中获取布局属性的图层的 ID。
- `name` **`string`** 要获取的布局属性的名称。

返回**任何**指定布局属性的值。

### setLight

设置灯光值的任意组合。

#### Parameters
- `light` **LightSpecification**要设置的光属性。必须符合`样式规范 `.
- `options` **`Object`?** 选项对象。（可选，默认`{}`）
    - `options.validate` **`boolean`**是否检查过滤器是否符合样式规范。禁用验证是一种性能优化，只有在您之前验证过将传递给此函数的值时才应使用。（可选，默认`true`）

#### Examples
```
var layerVisibility = map.getLayoutProperty('my-layer', 'visibility');
```

返回**`地图`** `this`

### getLight
返回灯光对象的值。

返回**`Object`**样式的 light Light 属性。

### setTerrain
设置样式的地形属性。

#### Parameters
- `terrain` **TerrainSpecification**要设置的地形属性。如果提供`null`或`undefined`，则函数会移除地形。

#### Examples
```
map.addSource('dem', {
    'type': 'raster-dem',
    'url': 'your url',
    'tileSize': 512,
    'maxzoom': 14
});
// add the DEM source as a terrain layer with exaggerated height
map.setTerrain({ 'source': 'dem', 'exaggeration': 1.5 });
```

返回**`地图`** `this`

### getTerrain
返回地形规范或`null`地形未在地图上设置。

返回**`Object`**地形的地形规范属性。

### setFog
设置样式的雾属性。

#### Parameters
- `fog` **FogSpecification**要设置的雾属性。 如果提供`null`或`undefined`，则此函数调用将从地图中移除雾。

#### Examples
```
map.setFog({
 "range": [1.0, 12.0],
 "color": 'white',
 "horizon-blend": 0.1
});
```

返回**`地图`** `this`

### getFog
返回雾规范或`null`地图上是否未设置雾。

返回**`Object`**样式的雾雾规范属性。

### queryTerrainElevation
查询当前加载的某个地理位置的高程数据。`meters`相对于平均海平面返回高程。`null`如果`terrain`已禁用或尚未加载该位置的地形数据，则返回。

为了保证加载地形数据，确保地理位置可见，等待`idle`事件发生。

#### Parameters
- `lnglat` **[LngLatLike][284]**要查询的地理位置。
- `options` **`海拔查询选项`？**选项对象
    - `options.exaggerated` **`boolean`**当`true`返回具有`exaggeration`来自已应用样式的值的地形高程时。当`false`，返回未应用样式的基础数据的原始值。（可选，默认`true`）

#### Examples
```
var coordinate = [-122.420679, 37.772537];
var elevation = map.queryTerrainElevation(coordinate);
```

返回**( `number`| null)**以米为单位的海拔高度

### setFeatureState

设置`state`特征的 。功能`state`是在运行时分配给功能的一组用户定义的键值对。使用此方法时，`state`对象将与特征状态中的任何现有键值对合并。要素由其`feature.id`属性标识，该属性可以是任何数字或字符串。

此方法只能用于具有`feature.id`属性的源。该`feature.id`属性可以通过三种方式进行定义：

- 对于矢量或 GeoJSON 源，包括`id`原始数据文件中的属性。
- 对于矢量或 GeoJSON 源，使用 ``promoteId`` 定义源时的选项。
- 对于 GeoJSON 源，使用 ``generateId``选项`id`根据源数据中的特征索引自动分配一个。如果使用 更改要素数据`map.getSource('some id').setData(..)`，则可能需要考虑更新的`id`值重新应用状态。

_注意：您可以使用``feature-state`` 表达式出于样式目的访问功能状态对象中的值。_

#### Parameters
- `feature` **`Object`**特征标识符。从`Map#queryRenderedFeatures`或事件处理程序返回的特征对象 可用作特征标识符。
    - `feature.id` **( `number`| `string`) 功能的**唯一 ID。可以是整数或字符串，但仅当``promoteId`` 选项已应用于源或字符串可以转换为整数。
    - `feature.source` **`string`** 要素的矢量或 GeoJSON 源的 ID。
    - `feature.sourceLayer` **`string`?** （可选）_对于矢量切片源，`sourceLayer`是必需的。_
- `state` **`Object`**一组键值对。这些值应该是有效的 JSON 类型。

#### Examples
```
// When the mouse moves over the `my-layer` layer, update
// the feature state for the feature under the mouse
map.on('mousemove', 'my-layer', function(e) {
  if (e.features.length > 0) {
    map.setFeatureState({
      source: 'my-source',
      sourceLayer: 'my-source-layer',
      id: e.features[0].id,
    }, {
      hover: true
    });
  }
});
```

返回**[Map][1]**地图对象。

### removeFeatureState
删除`state`功能的 ，将其设置回默认行为。如果仅`feature.source`指定了 a ，它将从该源中删除所有功能的状态。如果`feature.id`还指定了，它将删除该功能状态的所有键。如果`key`还指定了，它只会从该功能的状态中删除该键。要素由其`feature.id`属性标识，该属性可以是任何数字或字符串。

#### Parameters
- `feature` **`Object`**在哪里删除状态的标识符。它可以是来源、功能或功能的特定键。从`Map#queryRenderedFeatures`或事件处理程序返回的特征对象可用作特征标识符。
    - `feature.id` **( `number`| `string`) 功能的**唯一 ID。可以是整数或字符串，但仅当``promoteId`` 选项已应用于源或字符串可以转换为整数。
    - `feature.source` **`string`** 要素的矢量或 GeoJSON 源的 ID。
    - `feature.sourceLayer` **`string`?** （可选）_对于矢量切片源，`sourceLayer`是必需的。_
- `key` **`string`** （可选）要重置的功能状态的键。

#### Examples
```
// Reset the entire state object for all features
// in the `my-source` source
map.removeFeatureState({
  source: 'my-source'
});
```

```
// When the mouse leaves the `my-layer` layer,
// reset the entire state object for the
// feature under the mouse
map.on('mouseleave', 'my-layer', function(e) {
  map.removeFeatureState({
    source: 'my-source',
    sourceLayer: 'my-source-layer',
    id: e.features[0].id
  });
});
```

```
// When the mouse leaves the `my-layer` layer,
// reset only the `hover` key-value pair in the
// state for the feature under the mouse
map.on('mouseleave', 'my-layer', function(e) {
  map.removeFeatureState({
    source: 'my-source',
    sourceLayer: 'my-source-layer',
    id: e.features[0].id
  }, 'hover');
});
```

### getFeatureState
获取`state`功能的 。功能`state`是在运行时分配给功能的一组用户定义的键值对。要素由其`feature.id`属性标识，该属性可以是任何数字或字符串。

_注意：要访问功能状态对象中的值以设置功能样式，请使用``feature-state`表达式 `._

#### Parameters
- `feature` **`Object`**特征标识符。从`Map#queryRenderedFeatures`或事件处理程序返回的特征对象 可用作特征标识符。
    - `feature.id` **( `number`| `string`) 功能的**唯一 ID。可以是整数或字符串，但仅当``promoteId`` 选项已应用于源或字符串可以转换为整数。
    - `feature.source` **`string`** 要素的矢量或 GeoJSON 源的 ID。
    - `feature.sourceLayer` **`string`?** （可选）_对于矢量切片源，`sourceLayer`是必需的。_

#### Examples
```
// When the mouse moves over the `my-layer` layer,
// get the feature state for the feature under the mouse
map.on('mousemove', 'my-layer', function(e) {
  if (e.features.length > 0) {
    map.getFeatureState({
      source: 'my-source',
      sourceLayer: 'my-source-layer',
      id: e.features[0].id
    });
  }
});
```

返回**`Object`**功能状态：在运行时分配给功能的一组键值对。

### getContainer
返回地图的包含 HTML 元素。

返回**`HTMLElement`**地图的容器。

### getCanvasContainer

返回包含地图`&lt;canvas>`元素的 HTML元素。

如果要将非叠加层添加到地图，则应将它们附加到此元素。

这是地图交互性（例如平移和缩放）的事件绑定所附加到的元素。它将接收来自子元素（例如 ）的冒泡事件`&lt;canvas>`，但不会接收来自地图控件的冒泡事件。

返回**`HTMLElement`**地图的容器`&lt;canvas>`。

### getCanvas

返回地图的`&lt;canvas>`元素。

返回**`HTMLCanvasElement `**地图的`&lt;canvas>`元素。

### loaded
返回一个布尔值，指示地图是否已完全加载。

返回`false`如果样式还没有完全加载，或者如果已经更改了源或风格还没有完全加载。

返回**`boolean`**一个布尔值，指示地图是否已完全加载。

### remove
清理并释放与此地图关联的所有内部资源。

这包括 DOM 元素、事件绑定、Web Worker 和 WebGL 资源。

当您使用完地图并希望确保它不再消耗浏览器资源时，请使用此方法。之后，您不得在地图上调用任何其他方法。

### triggerRepaint

触发单帧渲染。当图层的属性或与图层源关联的属性发生更改时，将此方法与自定义图层一起使用以重新绘制地图。在渲染下一帧之前多次调用它仍然会导致只渲染一个帧。

#### Examples
```
map.triggerRepaint();
```

### showTileBoundaries
获取和设置一个布尔值，指示地图是否将围绕每个图块和图块 ID 呈现轮廓。这些图块边界对于调试很有用。

第一个矢量源的未压缩文件大小绘制在每个图块的左上角，在图块 ID 旁边。

类型： `boolean`

#### Examples
```
map.showTileBoundaries = true;
```

### showTerrainWireframe
获取并设置一个布尔值，指示地图是否将在显示的地形顶部呈现线框。用于调试。

线框始终为红色，仅在地形处于活动状态时绘制。

类型： `boolean`

#### Examples
```
map.showTerrainWireframe = true;
```

### showPadding
获取并设置一个布尔值，指示地图是否将填充偏移可视化。

类型： `boolean`

### showCollisionBoxes
获取和设置一个布尔值，指示地图是否将围绕数据源中的所有符号呈现框，显示哪些符号已渲染或由于碰撞而隐藏。此信息对调试很有用。

类型： `boolean`

### repaint
获取和设置一个布尔值，指示地图是否会连续重绘。此信息可用于分析性能。

类型： `boolean`

### version
正在使用的版本。

类型： `string`

### getCenter

返回地图的地理中心点。

#### Examples
```
// return a LngLat object such as {lng: 0, lat: 0}
var center = map.getCenter();
// access longitude and latitude values directly
var {longitude, latitude} = map.getCenter();
```

返回**[LngLat][230]**地图的地理中心点。

### setCenter
设置地图的地理中心点。相当于`jumpTo({center: center})`。

#### Parameters
- `center` **[LngLatLike][284]**要设置的中心点。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
map.setCenter([-74, 38]);
```

返回**`地图`** `this`

### panBy

按指定的偏移量平移地图。

#### Parameters
- `offset` **[PointLike][166]** `x`和`y`平移地图所**`依据的`**坐标。
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### panTo

使用动画过渡将地图平移到指定位置。

#### Parameters
- `lnglat` **`LngLatLike 要将`**地图平**`移到`**的位置。
- `options` **`动画选项`？**描述过渡目标和动画的选项。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
map.panTo([-74, 38]);
```

```
// Specify that the panTo animation should last 5000 milliseconds.
map.panTo([-74, 38], {duration: 5000});
```

返回**`地图`** `this`

### getZoom
返回地图的当前缩放级别。

#### Examples
```
map.getZoom();
```

返回**`number`**地图的当前缩放级别。

### setZoom
设置地图的缩放级别。相当于`jumpTo({zoom: zoom})`。

#### Parameters
- `zoom` **`number`** 要设置的缩放级别 (0-20)。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// Zoom to the zoom level 5 without an animated transition
map.setZoom(5);
```

返回**`地图`** `this`

### zoomTo
使用动画过渡将地图缩放到指定的缩放级别。

#### Parameters
- `zoom` **`number`** 要过渡到的缩放级别。
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// Zoom to the zoom level 5 without an animated transition
map.zoomTo(5);
// Zoom to the zoom level 8 with an animated transition
map.zoomTo(8, {
  duration: 2000,
  offset: [100, 50]
});
```

返回**`地图`** `this`

### zoomIn
将地图的缩放级别增加 1。

#### Parameters
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// zoom the map in one level with a custom animation duration
map.zoomIn({duration: 1000});
```

返回**`地图`** `this`

### zoomOut
将地图的缩放级别降低 1。

#### Parameters
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// zoom the map out one level with a custom animation offset
map.zoomOut({offset: [80, 60]});
```

返回**`地图`** `this`

### getBearing

返回地图的当前方位。方位是“向上”的罗盘方向；例如，90° 的方位角使地图定向，使东面朝上。

返回**`number`**地图的当前方位。

### setBearing
设置地图的方位（旋转）。方位是“向上”的罗盘方向；例如，90° 的方位角使地图定向，使东面朝上。

相当于`jumpTo({bearing: bearing})`。

#### Parameters
- `bearing` **`number`** 所需的轴承。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// rotate the map to 90 degrees
map.setBearing(90);
```

返回**`地图`** `this`

### getPadding
返回在地图视口周围应用的当前填充。

返回**[PaddingOptions][196]**地图视口周围的当前填充。

### setPadding
设置视口周围的填充（以像素为单位）。

相当于`jumpTo({padding: padding})`。

#### Parameters
- `padding` **[PaddingOptions][196]**所需的填充。格式：{左：数字，右：数字，上：数字，下：数字}
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// Sets a left padding of 300px, and a top padding of 50px
map.setPadding({ left: 300, top: 50 });
```

返回**`地图`** `this`

### rotateTo
使用动画过渡将地图旋转到指定的方位。方位是“向上”的罗盘方向；例如，90° 的方位角使地图定向，使东面朝上。

#### Parameters
- `bearing` **`number`** 所需的轴承。
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### resetNorth
旋转地图，使北方向上（0° 方位角），并带有动画过渡。

#### Parameters
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### resetNorthPitch
旋转和倾斜地图，使北朝上（0° 方位角）且俯仰角为 0°，并带有动画过渡。

#### Parameters
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### snapToNorth
如果当前方位足够接近它（即在`bearingSnap`阈值内），则捕捉地图使北朝上（0° 方位 ）。

#### Parameters
- `options` **`动画选项`？**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### getPitch
返回地图的当前倾斜度（倾斜度）。

返回**`number`**地图的当前间距，以距屏幕平面的度数为单位。

### setPitch
设置地图的倾斜度（倾斜度）。相当于`jumpTo({pitch: pitch})`。

#### Parameters
- `pitch` **`number`** 要设置的间距，以距屏幕平面的度数为单位 (0-60)。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### cameraForBounds
#### Parameters
- `bounds` **[LngLatBoundsLike][299]**计算视口中这些边界的中心，并使用最高缩放级别，包括`Map#getMaxZoom()`适合视口的缩放级别。LngLatBounds 表示一个始终与轴承 0 轴对齐的框。
- `options` **`相机选项`？**选项对象。
    - `options.padding` **( `number`| [PaddingOptions][196] )？**添加到给定边界的填充量（以像素为单位）。
    - `options.bearing` **`number`**动画结束时所需的地图方位，以度为单位。（可选，默认`0`）
    - `options.offset` **[PointLike][166]**相对于地图中心的给定边界的中心，以像素为单位。（可选，默认`[0,0]`）
    - `options.maxZoom` **`number`?** 相机过渡到指定边界时允许的最大缩放级别。

#### Examples
```
var bbox = [[-79, 43], [-73, 45]];
var newCameraTransform = map.cameraForBounds(bbox, {
  padding: {top: 10, bottom:25, left: 15, right: 5}
});
```

返回**（[CameraOptions][194] |无效）**如果地图能够适合提供的界限，收益`CameraOptions`有 `center`，`zoom`和`bearing`。如果地图无法适应，方法将发出警告并返回未定义。

### fitBounds

平移和缩放地图以将其可见区域包含在指定的地理边界内。如果方位角非零，此函数还会将地图的方位角重置为 0。如果在地图上设置了填充，则边界适合插图。

#### Parameters
- `bounds` **[LngLatBoundsLike][299]**在视口中居中这些边界，并使用最高缩放级别，包括`Map#getMaxZoom()`适合它们在视口中的缩放级别。
- `options` **`Object`?** 除了以下字段之外，Options 还支持[AnimationOptions][195]和[CameraOptions][194]中的所有属性。
    - `options.padding` **( `number`| [PaddingOptions][196] )？**添加到给定边界的填充量（以像素为单位）。
    - `options.linear` **`boolean`**如果`true`，则地图使用 `Map#easeTo 进行转换`。如果`false`，则地图使用`Map#flyTo 进行转换`。有关可用选项的信息，请参阅这些函数和[AnimationOptions][195]。（可选，默认`false`）
    - `options.easing` **功能？**动画过渡的缓动函数。请参阅`动画选项`。
    - `options.offset` **[PointLike][166]**相对于地图中心的给定边界的中心，以像素为单位。（可选，默认`[0,0]`）
    - `options.maxZoom` **`number`?** 当地图视图转换到指定边界时允许的最大缩放级别。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
var bbox = [[-79, 43], [-73, 45]];
map.fitBounds(bbox, {
  padding: {top: 10, bottom:25, left: 15, right: 5}
});
```

返回**`地图`** `this`

### fitScreenCoordinates

一旦地图旋转到指定的方位，平移、旋转和缩放地图以适应由点 p0 和 p1 构成的框。要缩放而不旋转，请传入当前地图方位。

#### Parameters
- `p0` **[PointLike][166]**屏幕上的第一个点，以像素坐标表示
- `p1` **[PointLike][166]**屏幕上的第二个点，以像素坐标表示
- `bearing` **`number`**动画结束时所需的地图方位，以度为单位。如果贴图具有非零间距，则忽略此值。
- `options` **任何？**选项对象。
    - `options.padding` **( `number`| [PaddingOptions][196] )？**添加到给定边界的填充量（以像素为单位）。
    - `options.linear` **`boolean`**如果`true`，则地图使用 `Map#easeTo 进行转换`。如果`false`，则地图使用`Map#flyTo 进行转换`。有关可用选项的信息，请参阅这些函数和[AnimationOptions][195]。（可选，默认`false`）
    - `options.easing` **功能？**动画过渡的缓动函数。请参阅`动画选项`。
    - `options.offset` **[PointLike][166]**相对于地图中心的给定边界的中心，以像素为单位。（可选，默认`[0,0]`）
    - `options.maxZoom` **`number`?** 当地图视图转换到指定边界时允许的最大缩放级别。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
var p0 = [220, 400];
var p1 = [500, 900];
map.fitScreenCoordinates(p0, p1, map.getBearing(), {
  padding: {top: 10, bottom:25, left: 15, right: 5}
});
```

返回**`地图`** `this`

### jumpTo

更改中心、缩放、方位和俯仰的任意组合，无需动画过渡。对于 中未指定的任何详细信息，地图将保留其当前值`options`。

#### Parameters
- `options` **[CameraOptions][194]**选项对象。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// jump to coordinates at current zoom
map.jumpTo({center: [0, 0]});
// jump with zoom, pitch, and bearing options
map.jumpTo({
  center: [0, 0],
  zoom: 8,
  pitch: 45,
  bearing: 90
});
```

返回**`地图`** `this`

### getFreeCameraOptions
返回相机实体的位置和方向。

返回**[FreeCameraOptions][309]**相机状态

### setFreeCameraOptions
`FreeCameraOptions`提供对底层相机实体的更直接访问。为了向后兼容，使用此 API 的状态集也必须是可表示的 `CameraOptions`。如果向俯仰和方位表示的转换不明确，参数将被限制在有效范围内或作为无效丢弃。例如，如果导致相机颠倒、四元数长度为零或间距超过最大间距限制，则方向可能无效。

#### Parameters
- `options` **[FreeCameraOptions][309]** `FreeCameraOptions`对象
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### easeTo

更改的任意组合`center`，`zoom`，`bearing`，`pitch`，并`padding`与新老值之间动画转换。对于 中未指定的任何详细信息，地图将保留其当前值`options`。

注意：如果用户`reduced motion`在其操作系统中启用了辅助功能，则转换将立即发生，除非`options`包含`essential: true`.

#### Parameters
- `options` **任何**描述过渡目标和动画的选项。接受[CameraOptions][194]和[AnimationOptions][195]。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

返回**`地图`** `this`

### flyTo

改变中心、缩放、方位和俯仰的任意组合，沿着一条唤起飞行的曲线动画过渡。动画无缝地结合了缩放和平移，以帮助用户即使在穿越很远的距离后也能保持她的方位。

注意：动画将被跳过，这将`jumpTo` 与用户`reduced motion`在其操作系统中启用辅助功能时的行为等效，除非 'options' 包含`essential: true`.

#### Parameters
- `options` **`Object`**描述过渡目标和动画的选项。接受[CameraOptions][194]、[AnimationOptions][195]和以下附加选项。
    - `options.curve` **`number`**沿飞行路径发生的缩放“曲线”。高值最大化放大动画的缩放，而低值最小化缩放以获得更接近`Map#easeTo`的效果。1.42 是参与者在`van Wijk (2003) 中`讨论的用户研究中选择的平均值 ``. 的值 `Math.pow(6, 0.25)`将等价于均方根平均速度。值为 1 将产生圆周运动。（可选，默认`1.42`）
    - `options.minZoom` **`number`?** 飞行路径峰值处的基于零的缩放级别。如果 `options.curve`指定，则忽略此选项。
    - `options.speed` **`number`**相对于 定义的动画的平均速度 `options.curve`。速度为 1.2 意味着地图似乎每秒沿着飞行路径移动 1.2 倍`options.curve`屏幕。一_屏_是地图的可见跨度。它不对应于固定的物理距离，而是因缩放级别而异。（可选，默认`1.2`）
    - `options.screenSpeed` **`number`?** 假设线性时间曲线，以每秒屏幕数为单位测量的动画平均速度。如果`options.speed`指定，则忽略此选项。
    - `options.maxDuration` **`number`?** 动画的最长持续时间，以毫秒为单位。如果持续时间超过最大持续时间，则重置为 0。
- `eventData` **`Object`?** 要添加到此方法触发的事件的事件对象的附加属性。

#### Examples
```
// fly with default options to null island
map.flyTo({center: [0, 0], zoom: 9});
// using flyTo options
map.flyTo({
  center: [0, 0],
  zoom: 9,
  speed: 0.2,
  curve: 1,
  easing(t) {
    return t;
  }
});
```

返回**`地图`** `this`

### stop
停止任何正在进行的动画过渡。

返回**`地图`** `this`

### resize
在调整地图大小后立即触发。

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// immediately after the map has been resized.
map.on('resize', function() {
  console.log('A resize event occurred.');
});
```

### remove
在使用`Map.event:remove 删除`地图后立即`触发`。

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just after the map is removed.
map.on('remove', function() {
  console.log('A remove event occurred.');
});
```

### mousedown

当在地图内按下定位设备（通常是鼠标）时触发。

**注意：**此事件与可选`layerId`参数兼容。如果`layerId`作为第二个参数包含在`Map#on 中`，则仅当在指定图层的可见部分内按下光标时，事件侦听器才会触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('mousedown', function() {
  console.log('A mousedown event has occurred.');
});
```

```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener for a specific layer
map.on('mousedown', 'poi-label', function() {
  console.log('A mousedown event has occurred on a visible portion of the poi-label layer.');
});
```

### mouseup

当定位设备（通常是鼠标）在地图内释放时触发。

**注意：**此事件与可选`layerId`参数兼容。如果`layerId`在`Map#on 中`作为第二个参数包含在内，则仅当在指定图层的可见部分内释放光标时，事件侦听器才会触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('mouseup', function() {
  console.log('A mouseup event has occurred.');
});
```

```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener for a specific layer
map.on('mouseup', 'poi-label', function() {
  console.log('A mouseup event has occurred on a visible portion of the poi-label layer.');
});
```

### mouseover

当定位设备（通常是鼠标）在地图内移动时触发。当您在包含地图的网页上移动光标时，每次进入地图或任何子元素时都会触发该事件。

**注意：**此事件与可选`layerId`参数兼容。如果`layerId`作为第二个参数包含在`Map#on 中`，则仅当光标移动到指定图层的可见部分内时，事件侦听器才会触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('mouseover', function() {
  console.log('A mouseover event has occurred.');
});
```

```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener for a specific layer
map.on('mouseover', 'poi-label', function() {
  console.log('A mouseover event has occurred on a visible portion of the poi-label layer.');
});
```

### mousemove

当光标在地图内时移动定点设备（通常是鼠标）时触发。当您在地图上移动光标时，每次光标在地图内更改位置时都会触发该事件。

**注意：**此事件与可选`layerId`参数兼容。如果`layerId`作为第二个参数包含在`Map#on 中`，则仅当光标位于指定图层的可见部分内时，事件侦听器才会触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('mousemove', function() {
  console.log('A mousemove event has occurred.');
});
```

```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener for a specific layer
map.on('mousemove', 'poi-label', function() {
  console.log('A mousemove event has occurred on a visible portion of the poi-label layer.');
});
```

### click

当在地图上的同一点按下并释放定位设备（通常是鼠标）时触发。

**注意：**此事件与可选`layerId`参数兼容。如果`layerId`作为第二个参数包含在`Map#on 中`，则仅当按下和释放的点包含指定图层的可见部分时，事件侦听器才会触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('click', function(e) {
  console.log('A click event has occurred at ' + e.lngLat);
});
```

```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener for a specific layer
map.on('click', 'poi-label', function(e) {
  console.log('A click event has occurred on a visible portion of the poi-label layer at ' + e.lngLat);
});
```

### dblclick
当定位设备（通常是鼠标）在地图上的同一点快速连续按下和释放两次时触发。

**注意：**此事件与可选`layerId`参数兼容。如果`layerId`作为第二个参数包含在`Map#on 中`，则仅当单击两次的点包含指定图层的可见部分时，事件侦听器才会触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('dblclick', function(e) {
  console.log('A dblclick event has occurred at ' + e.lngLat);
});
```

```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener for a specific layer
map.on('dblclick', 'poi-label', function(e) {
  console.log('A dblclick event has occurred on a visible portion of the poi-label layer at ' + e.lngLat);
});
```

### mouseenter

当定点设备（通常是鼠标）从该图层外部或地图画布外部进入指定图层的可见部分时触发。

**重要提示：**只有当`Map#on`包含三个参数时才能侦听此事件，其中第二个参数指定所需的层。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener
map.on('mouseenter', 'water', function() {
  console.log('A mouseenter event occurred on a visible portion of the water layer.');
});
```

### mouseleave

当定点设备（通常是鼠标）离开指定图层的可见部分或从指定图层移动到地图画布外时触发。

**注意：**要检测鼠标何时离开画布，独立于图层，请改用`Map.event:mouseout`。

**重要提示：**只有当`Map#on`包含三个参数时才能侦听此事件，其中第二个参数指定所需的层。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the pointing device leaves
// a visible portion of the specified layer.
map.on('mouseleave', 'water', function() {
  console.log('A mouseleave event occurred.');
});
```

### mouseout
当点设备（通常是鼠标）离开地图的画布时触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the pointing device leave's
// the map's canvas.
map.on('mouseout', function() {
  console.log('A mouseout event occurred.');
});
```

### contextmenu
单击鼠标右键或在地图内按下上下文菜单键时触发。

#### Properties
- `data` **`地图鼠标事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the right mouse button is
// pressed within the map.
map.on('contextmenu', function() {
  console.log('A contextmenu event occurred.');
});
```

### wheel
当一个 ``wheel``事件发生在地图内。

#### Properties
- `data` **`地图轮事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when a wheel event occurs within the map.
map.on('wheel', function() {
  console.log('A wheel event occurred.');
});
```

### touchstart

当一个 ``touchstart`` 事件发生在地图内。

#### Properties
- `data` **[MapTouchEvent][232]** // 初始化地图 var map = new vjmap.Map({ // 地图选项 }); // 设置一个事件侦听器，当地图中发生 touchstart 事件时触发该事件。map.on('touchstart', function() { console.log('A touchstart 事件发生。'); });

### touchend

当一个 ``touchend`` 事件发生在地图内。

#### Properties
- `data` **`地图触摸事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when a touchstart event occurs within the map.
map.on('touchstart', function() {
  console.log('A touchstart event occurred.');
});
```

### touchmove

当一个 ``touchmove`` 事件发生在地图内。

#### Properties
- `data` **`地图触摸事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when a touchmove event occurs within the map.
map.on('touchmove', function() {
  console.log('A touchmove event occurred.');
});
```

### touchcancel
当一个 ``touchcancel`` 事件发生在地图内。

#### Properties
- `data` **`地图触摸事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when a touchcancel event occurs within the map.
map.on('touchcancel', function() {
  console.log('A touchcancel event occurred.');
});
```

### movestart
作为用户交互或`Map#jumpTo`等方法的结果，在地图开始从一个视图过渡到另一个视图之前`触发`。

#### Properties
- `data` **{originalEvent: `DragEvent `}**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just before the map begins a transition
// from one view to another.
map.on('movestart', function() {
  console.log('A movestart` event occurred.');
});
```

### move

作为用户交互或`Map#flyTo`等方法的结果，在从一个视图到另一个视图的动画过渡期间重复`触发`。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// repeatedly during an animated transition.
map.on('move', function() {
  console.log('A move event occurred.');
});
```

### moveend

作为用户交互或`Map#jumpTo`等方法的结果，在地图完成从一个视图到另一个视图的转换后`立即触发`。

#### Properties
- `data` **{originalEvent: `DragEvent `}**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just after the map completes a transition.
map.on('moveend', function() {
  console.log('A moveend event occurred.');
});
```

### dragstart
当“拖动平移”交互开始时触发。请参阅[DragPanHandler][191]。

#### Properties
- `data` **{originalEvent: `DragEvent `}**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when a "drag to pan" interaction starts.
map.on('dragstart', function() {
  console.log('A dragstart event occurred.');
});
```

### drag
在“拖动平移”交互期间反复触发。请参阅[DragPanHandler][191]。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// repeatedly  during a "drag to pan" interaction.
map.on('drag', function() {
  console.log('A drag event occurred.');
});
```

### dragend

当“拖动平移”交互结束时触发。请参阅[DragPanHandler][191]。

#### Properties
- `data` **{originalEvent: `DragEvent `}**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when a "drag to pan" interaction ends.
map.on('dragend', function() {
  console.log('A dragend event occurred.');
});
```

### zoomstart
作为用户交互或`Map#flyTo`等方法的结果，在地图开始从一个缩放级别过渡到另一个缩放级别之前`触发`。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just before a zoom transition starts.
map.on('zoomstart', function() {
  console.log('A zoomstart event occurred.');
});
```

### zoom

作为用户交互或`Map#flyTo`等方法的结果，在从一个缩放级别到另一个缩放级别的动画过渡期间重复`触发`。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// repeatedly during a zoom transition.
map.on('zoom', function() {
  console.log('A zoom event occurred.');
});
```

### zoomend
作为用户交互或`Map#flyTo`等方法的结果，在地图完成从一个缩放级别到另一个缩放级别的转换后`立即触发`。缩放过渡通常会在渲染完成之前结束，因此如果您需要等待渲染完成，请改用`Map#idle`事件。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just after a zoom transition finishes.
map.on('zoomend', function() {
  console.log('A zoomend event occurred.');
});
```

### rotatestart
当“拖动旋转”交互开始时触发。请参阅[DragRotateHandler][192]。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just before a "drag to rotate" interaction starts.
map.on('rotatestart', function() {
  console.log('A rotatestart event occurred.');
});
```

### rotate
在“拖动以旋转”交互期间反复触发。请参阅[DragRotateHandler][192]。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// repeatedly during "drag to rotate" interaction.
map.on('rotate', function() {
  console.log('A rotate event occurred.');
});
```

### rotateend
当“拖动旋转”交互结束时触发。请参阅[DragRotateHandler][192]。

#### Properties
- `data` **( [MapMouseEvent][226] | [MapTouchEvent][232] )**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just after a "drag to rotate" interaction ends.
map.on('rotateend', function() {
  console.log('A rotateend event occurred.');
});
```

### pitchstart
每当地图的俯仰（倾斜）由于用户交互或`Map#flyTo`等方法而开始发生变化时`触发`。

#### Properties
- `data` **地图事件数据**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just before a pitch (tilt) transition starts.
map.on('pitchstart', function() {
  console.log('A pitchstart event occurred.');
});
```

### pitch
作为用户交互或`Map#flyTo`等方法的结果，在一个状态和另一个状态之间的地图俯仰（倾斜）动画期间重复`触发`。

#### Properties
- `data` **地图事件数据**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// repeatedly during a pitch (tilt) transition.
map.on('pitch', function() {
  console.log('A pitch event occurred.');
});
```

### pitchend
由于用户交互或`Map#flyTo 之类的`方法，在地图的俯仰（倾斜）完成更改后立即`触发`。

#### Properties
- `data` **地图事件数据**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just after a pitch (tilt) transition ends.
map.on('pitchend', function() {
  console.log('A pitchend event occurred.');
});
```

### boxzoomstart
当“框缩放”交互开始时触发。请参阅[BoxZoomHandler][178]。

#### Properties
- `data` **`地图框缩放事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just before a "box zoom" interaction starts.
map.on('boxzoomstart', function() {
  console.log('A boxzoomstart event occurred.');
});
```

### boxzoomend
当“框缩放”交互结束时触发。请参阅[BoxZoomHandler][178]。

类型： `Object`

#### Properties
- `data` **`地图框缩放事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just after a "box zoom" interaction ends.
map.on('boxzoomend', function() {
  console.log('A boxzoomend event occurred.');
});
```

### boxzoomcancel
当用户取消“框缩放”交互或边界框不满足最小尺寸阈值时触发。请参阅[BoxZoomHandler][178]。

#### Properties
- `data` **`地图框缩放事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// the user cancels a "box zoom" interaction.
map.on('boxzoomcancel', function() {
  console.log('A boxzoomcancel event occurred.');
});
```

### webglcontextlost
当 WebGL 上下文丢失时触发。

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the WebGL context is lost.
map.on('webglcontextlost', function() {
  console.log('A webglcontextlost event occurred.');
});
```

### webglcontextrestored
当 WebGL 上下文恢复时触发。

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the WebGL context is restored.
map.on('webglcontextrestored', function() {
  console.log('A webglcontextrestored event occurred.');
});
```

### load

在下载了所有必要的资源并且地图的第一次视觉完整渲染发生后立即触发。

类型： `Object`

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the map has finished loading.
map.on('load', function() {
  console.log('A load event occurred.');
});
```

### render
每当地图绘制到屏幕时触发，作为结果

- 更改地图的位置、缩放、俯仰或方位
- 地图样式的更改
- 对 GeoJSON 源的更改
- 加载矢量切片、GeoJSON 文件、字形或精灵

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// whenever the map is drawn to the screen.
map.on('render', function() {
  console.log('A render event occurred.');
});
```

### idle
在地图进入“空闲”状态之前渲染的最后一帧之后触发：

- 没有正在进行的相机转换
- 当前请求的所有图块都已加载
- 所有淡入淡出/过渡动画已完成

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// just before the map enters an "idle" state.
map.on('idle', function() {
  console.log('A idle event occurred.');
});
```

### error
发生错误时触发。这是主要错误报告机制。我们使用事件而不是`throw`更好地适应异步操作。如果没有侦听器绑定到`error`事件，错误将打印到控制台。

#### Properties
- `data` **{错误：{消息：`string`}}**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when an error occurs.
map.on('error', function() {
  console.log('A error event occurred.');
});
```

### data

当任何地图数据加载或更改时触发。有关 详细信息，请参阅[MapDataEvent][237]。

#### Properties
- `data` **`地图数据事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when map data loads or changes.
map.on('data', function() {
  console.log('A data event occurred.');
});
```

### styledata
当地图的样式加载或更改时触发。有关详细信息，请参阅 [MapDataEvent][237]。

#### Properties
- `data` **`地图数据事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when the map's style loads or changes.
map.on('styledata', function() {
  console.log('A styledata event occurred.');
});
```

### sourcedata
当地图源之一加载或更改时触发，包括属于源的图块加载或更改。有关详细信息，请参阅[MapDataEvent][237]。

#### Properties
- `data` **`地图数据事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when one of the map's sources loads or changes.
map.on('sourcedata', function() {
  console.log('A sourcedata event occurred.');
});
```

### dataloading
当任何地图数据（样式、源、图块等）开始异步加载或更改时触发。所有`dataloading`事件后跟一个`data` 或`error`事件。有关详细信息，请参阅[MapDataEvent][237]。

#### Properties
- `data` **`地图数据事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// when any map data begins loading
// or changing asynchronously.
map.on('dataloading', function() {
  console.log('A dataloading event occurred.');
});
```

### styledataloading
当地图的样式开始异步加载或更改时触发。所有`styledataloading`事件后跟一个`styledata` 或`error`事件。有关详细信息，请参阅[MapDataEvent][237]。

#### Properties
- `data` **`地图数据事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// map's style begins loading or
// changing asyncronously.
map.on('styledataloading', function() {
  console.log('A styledataloading event occurred.');
});
```

### sourcedataloading
当地图的源之一开始异步加载或更改时触发。所有`sourcedataloading`事件后跟一个`sourcedata`或`error`事件。有关详细信息，请参阅[MapDataEvent][237]。

#### Properties
- `data` **`地图数据事件`**

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// map's sources begin loading or
// changing asyncronously.
map.on('sourcedataloading', function() {
  console.log('A sourcedataloading event occurred.');
});
```

### styleimagemissing

当样式所需的图标或图案丢失时触发。可以在此事件侦听器回调中使用`Map#addImage`添加丢失的图像，以防止跳过图像。此事件可用于动态生成图标和图案。

#### Properties
- `id` **`string`** 缺失图像的 id。

#### Examples
```
// Initialize the map
var map = new vjmap.Map({ // map options });
// Set an event listener that fires
// an icon or pattern is missing.
map.on('styleimagemissing', function() {
  console.log('A styleimagemissing event occurred.');
});
```

## IControl
添加到地图的交互式控件界面。这是实现者建模的规范：它不是导出的方法或类。

控件必须实现`onAdd`和`onRemove`，并且必须拥有一个元素，通常是一个`div`元素。要使用默认控件样式，请将`vjmap-ctrl`类添加到控件的节点。

### Examples
```
// Control implemented as ES6 class
class HelloWorldControl {
    onAdd(map) {
        this._map = map;
        this._container = document.createElement('div');
        this._container.className = 'vjmap-ctrl';
        this._container.textContent = 'Hello, world';
        return this._container;
    }

    onRemove() {
        this._container.parentNode.removeChild(this._container);
        this._map = undefined;
    }
}

// Control implemented as ES5 prototypical class
function HelloWorldControl() { }

HelloWorldControl.prototype.onAdd = function(map) {
    this._map = map;
    this._container = document.createElement('div');
    this._container.className = 'vjmap-ctrl';
    this._container.textContent = 'Hello, world';
    return this._container;
};

HelloWorldControl.prototype.onRemove = function () {
     this._container.parentNode.removeChild(this._container);
     this._map = undefined;
};
```

### onAdd
在地图上注册一个控件并让它有机会注册事件侦听器和资源。该方法由`Map#addControl` 内部调用。

#### Parameters
- `map` **`映射`**此控件将添加到的映射

返回**`HTMLElement`**控件的容器元素。这应该由控件创建并由 onAdd 返回而不附加到 DOM：地图将根据需要将控件的元素插入到 DOM 中。

### onRemove
取消注册地图上的控件并让它有机会分离事件侦听器和资源。该方法由`Map#removeControl` 内部调用。

#### Parameters
- `map` **`映射`**此控件将从中删除的映射

返回**`undefined`**此方法不需要返回值

### getDefaultPosition
（可选）为此控件提供默认位置。如果实现了该方法并且`在`没有`position` 参数的情况下调用`Map#addControl`，则 getDefaultPosition 返回的值将用作控件的位置。

返回**`string`**一个控件位置，它是 addControl 中有效值之一。

## point
一个``Point`几何 `对象，它具有 `x`和`y`表示在像素的屏幕坐标特性。

类型： `Object`

### Examples
```
var point = new vjmap.Point(-77, 38);
```

## PointLike
甲`点`或代表两个数字的阵列`x`和`y`以像素为单位的屏幕坐标。

类型：（`点`| `Array`&lt; `number`\>）

### Examples
```
var p1 = new vjmap.Point(-77, 38); // a PointLike which is a Point
var p2 = [-77, 38]; // a PointLike which is an array of two numbers
```

## ProxySourceCache
**扩展 SourceCache**

代理源缓存获得理想的屏幕图块覆盖坐标。所有其他源缓存的坐标被映射到代理坐标的子区域（反之亦然，来自所有源缓存的较大切片的子区域被映射到完整的代理切片）。这发生在 Terrain.updateTileBinding 中的每次绘制调用中。方法在这里用于地形：所有源缓存的所有可见源图块都被渲染到代理源缓存纹理，然后覆盖在地形上。它在未来可重用于处理过度调用，因为桶只能为代理瓦片内容构建，而不是为完全过度调用的矢量瓦片构建。

### Parameters
- `map` **`地图`**

## ProxiedTileID
**扩展 OverscaledTileID**

Canonical、wrap 和 overscaledZ 包含原始源缓存瓦片的信息。此图块被正交渲染到代理图块（由 proxyTileKey 定义）。posMatrix 保存用于将原始图块内容渲染到代理图块的正交、缩放和平移信息。代理图块覆盖原始图块的整个或子矩形。

### Parameters
- `tileID` **超大TileID**
- `proxyTileKey` **`number`**
- `projMatrix` **`Float32Array `**

## ElevationQueryOptions
`Map#queryTerrainElevation`和`Map#unproject3d 的`通用选项，用于控制高程数据的返回方式。

类型： `Object`

### Properties
- `exaggerated` **`boolean`**当设置为`true`返回`exaggeration`已应用样式上的地形的高程值时，当`false`它返回未应用样式的基础数据的原始值时。

## Elevation
提供对来自 raster-dem 源缓存的高程数据的访问。

### getAtPointOrZero
周围的帮助`getAtPoint`程序保证返回一个数值。

#### Parameters
- `point` **`墨卡托坐标`**
- `defaultIfNotLoaded` **`number`** （可选，默认`0`）

返回 **`number`**

### getAtPoint
指定点的海拔高度（以米为单位）。

#### Parameters
- `point` **[MercatorCoordinate][300]**点的**`墨`**卡托坐标。
- `defaultIfNotLoaded` **`number`** 如果未加载提供的点的 dem 磁贴，则返回的值
- `exaggerated` **`boolean`** （可选，默认`true`）

**`number`**以米为单位返回海拔高度。如果没有加载的包含所请求点高程信息的图块，则返回`defaultIfNotLoaded`。不调用网络请求来获取数据。

### getMinMaxForTile
获取由 标识的图块的最低和最高高度`tileID`。

#### Parameters
- `tileID` **OverscaledTileID**是我们从中读取信息的 DEM 切片的子切片（或覆盖相同的空间）。

返回**{min: `number`, max: `number`}?** 最小和最大海拔。

### getMinElevationBelowMSL
获取可见图块低于 MSL 的最低高度。此函数考虑了地形夸大，并且基于最大 DEM 误差是保守的，不要期望此函数提供准确的值。如果没有可见的负高程，则此函数返回 0。

返回**`number`**所有可见图块低于海平面的最小海拔。

### raycast
对屏幕上的可见 DEM 图块执行光线投射并返回沿光线行进的距离。位置的 x 和 y 分量预计在标准化墨卡托坐标 \[0, 1\] 和 z 以米为单位。

#### Parameters
- `position` **vec3**射线原点。
- `dir` **vec3**射线方向。
- `exaggeration` **`number`** 地形夸张。

返回**`number`?**

### pointCoordinate
给定屏幕上的一个点，返回地形上的 3D MercatorCoordinate。包装`raycast`.

#### Parameters
- `screenPoint` **[Point][165]**左上角原点坐标系中以像素为单位的屏幕点。

返回**vec3**如果与地形有交点，则返回 3D 墨卡托坐标的交点，如 vec3(x, y, z)，否则为 null。

## DEMSampler
Helper 类计算并缓存在切片级别查找高程偏移所需的数据。

### Parameters
- `demTile` **Tile**
- `scale` **`number`**
- `offset` **\[ `number`, `number`\]**

## BoxZoomHandler

将`BoxZoomHandler`允许用户放大地图，以适应边框内。通过`shift`在拖动光标的同时单击并按住来定义边界框。

### Parameters
- `map` **`地图`**
- `options` **{clickTolerance：`number`}**

### isEnabled
返回一个布尔值，指示是否启用“框缩放”交互。

如果启用了“框缩放”交互，则返回。**`boolean`** `true`

### isActive
返回一个布尔值，指示“框缩放”交互是否处于活动状态，即当前正在使用。

返回如果“框放大”作用是积极的。**`boolean`** `true`

### enable
启用“框缩放”交互。

#### Examples
```
map.boxZoom.enable();
```

### disable
禁用“框缩放”交互。

#### Examples
```
map.boxZoom.disable();
```

## TouchPitchHandler
**扩展 TwoTouchHandler**


在`TouchPitchHandler`由地图拖动向上和向下两个手指，用户可以间距。

### isEnabled
返回一个布尔值，指示是否启用了“拖动到音高”交互。

如果启用了“拖动到音高”交互，则返回。**`boolean`** `true`

### isActive
返回一个布尔值，指示“拖动到音高”交互是否处于活动状态，即当前正在使用。

返回如果“拖动间距”互动是有效的。**`boolean`** `true`

### enable
启用“拖动到音高”交互。

#### Examples
```
map.touchPitch.enable();
```

### disable
禁用“拖动到音高”交互。

#### Examples
```
map.touchPitch.disable();
```

## KeyboardHandler

将`KeyboardHandler`允许用户放大，缩小，旋转，并使用以下键盘快捷键平移地图：

- `=`/ `+`：将缩放级别增加 1。
- `Shift-=`/ `Shift-+`：将缩放级别增加 2。
- `-`：将缩放级别降低 1。
- `Shift--`：将缩放级别降低 2。
- 箭头键：平移 100 像素。
- `Shift+⇢`：将旋转增加 15 度。
- `Shift+⇠`：将旋转减少 15 度。
- `Shift+⇡`：将音高增加 10 度。
- `Shift+⇣`：将音高降低 10 度。

### enable
启用“键盘旋转和缩放”交互。

#### Examples
```
map.keyboard.enable();
```

### disable
禁用“键盘旋转和缩放”交互。

#### Examples
```
map.keyboard.disable();
```

### isEnabled
返回一个布尔值，指示是否启用“键盘旋转和缩放”交互。

返回是否启用了“键盘旋转和缩放”交互。**`boolean`** `true`

### isActive
如果处理程序已启用并检测到缩放/旋转手势的开始，则返回 true。

返回处理程序是否已启用并已检测到缩放/旋转手势的开始。**`boolean`** `true`

### disableRotation
禁用“键盘平移/旋转”交互，启用“键盘缩放”交互。

#### Examples
```
map.keyboard.disableRotation();
```

### enableRotation
启用“键盘平移/旋转”交互。

#### Examples
```
map.keyboard.enable();
  map.keyboard.enableRotation();
```

## ScrollZoomHandler

将`ScrollZoomHandler`允许用户通过滚动缩放地图。

### Parameters
- `map` **`地图`**
- `handler` **处理程序管理器**

### setZoomRate
设置触控板的缩放率。

#### Parameters
- `zoomRate` **`number`**用于将触控板移动缩放到缩放值的速率。（可选，默认`1/100`）

#### Examples
```
// Speed up trackpad zoom
map.scrollZoom.setZoomRate(1/25);
```

### setWheelZoomRate
设置鼠标滚轮的缩放率。

#### Parameters
- `wheelZoomRate` **`number`**用于将鼠标滚轮移动缩放到缩放值的速率。（可选，默认`1/450`）

#### Examples
```
// Slow down zoom of mouse wheel
map.scrollZoom.setWheelZoomRate(1/600);
```

### isEnabled
返回一个布尔值，指示是否启用了“滚动缩放”交互。

如果启用了“滚动缩放”交互，则返回。**`boolean`** `true`

### enable
启用“滚动缩放”交互。

#### Parameters
- `options` **`Object`?** 选项对象。
    - `options.around` **`string`?** 如果传递“center”，地图将围绕地图中心缩放

#### Examples
```
map.scrollZoom.enable();
```

```
map.scrollZoom.enable({ around: 'center' })
```

### disable
禁用“滚动缩放”交互。

#### Examples
```
map.scrollZoom.disable();
```

## DoubleClickZoomHandler

将`DoubleClickZoomHandler`允许用户在通过双击或双攻一个点缩放地图。

### Parameters
- `clickZoom` **单击缩放处理程序**
- `TapZoom` **TapZoomHandler**

### enable
启用“双击缩放”交互。

#### Examples
```
map.doubleClickZoom.enable();
```

### disable
禁用“双击缩放”交互。

#### Examples
```
map.doubleClickZoom.disable();
```

### isEnabled
返回一个布尔值，指示是否启用“双击缩放”交互。

如果启用了“双击缩放”交互，则返回。**`boolean`** `true`

### isActive
返回一个布尔值，指示“双击缩放”交互是否处于活动状态，即当前正在使用。

返回如果“双击缩放”互动是有效的。**`boolean`** `true`

## DragPanHandler

将`DragPanHandler`允许用户通过点击并拖动光标以平移地图。

### Parameters
- `el` **`HTMLElement`**
- `mousePan` **鼠标平移处理器**
- `touchPan` **触摸屏处理器**

### enable
启用“拖动平移”交互。

#### Parameters
- `options` **`Object`?** 选项对象。
    - `options.linearity` **`number`**用于缩放拖动速度的因子（可选，默认`0`）
    - `options.easing` `map.panTo`应用拖动时应用的**函数**缓动函数。（可选，默认`bezier(0,0,0.3,1)`）
    - `options.maxSpeed` **`number`**阻力速度的最大值。（可选，默认`1400`）
    - `options.deceleration` **`number`**平底锅结束后速度降低的速率。（可选，默认`2500`）

#### Examples
```
map.dragPan.enable();
```

```
map.dragPan.enable({
     linearity: 0.3,
     easing: bezier(0, 0, 0.3, 1),
     maxSpeed: 1400,
     deceleration: 2500,
  });
```

### disable
禁用“拖动平移”交互。

#### Examples
```
map.dragPan.disable();
```

### isEnabled
返回一个布尔值，指示是否启用了“拖动平移”交互。

如果启用了“拖动平移”交互，则返回。**`boolean`** `true`

### isActive
返回一个布尔值，指示“拖动平移”交互是否处于活动状态，即当前正在使用。

返回如果“拖动进行平移”互动是有效的。**`boolean`** `true`

## DragRotateHandler

在`DragRotateHandler`允许用户通过点击并拖动光标按住鼠标右键或向旋转地图`ctrl`键。

### Parameters
- `options` **`Object`?**
- `mouseRotate` **鼠标旋转处理程序**
- `mousePitch` **鼠标音调处理程序**

### enable
启用“拖动旋转”交互。

#### Examples
```
map.dragRotate.enable();
```

### disable
禁用“拖动旋转”交互。

#### Examples
```
map.dragRotate.disable();
```

### isEnabled
返回一个布尔值，指示是否启用“拖动旋转”交互。

如果启用了“拖动旋转”交互，则返回。**`boolean`** `true`

### isActive
返回一个布尔值，指示“拖动旋转”交互是否处于活动状态，即当前正在使用。

返回如果“拖动以旋转”互动是有效的。**`boolean`** `true`

## TouchZoomRotateHandler

将`TouchZoomRotateHandler`允许用户放大和捏在触摸屏上旋转地图。

他们可以通过双击和拖动用一根手指进行缩放。在第二次点击时，按住手指并向上或向下拖动以放大或缩小。

### Parameters
-   `el` **`HTMLElement`** 
-   `touchZoom` **TouchZoomHandler** 
-   `touchRotate` **TouchRotateHandler** 
-   `tapDragZoom` **TapDragZoomHandler** 

### enable
启用“捏合旋转和缩放”交互。

#### Parameters
- `options` **`Object`?** 选项对象。
    - `options.around` **`string`?** 如果传递“center”，地图将围绕中心缩放

#### Examples
```
map.touchZoomRotate.enable();
```

```
map.touchZoomRotate.enable({ around: 'center' });
```

### disable
禁用“捏合旋转和缩放”交互。

#### Examples
```
map.touchZoomRotate.disable();
```

### isEnabled
返回一个布尔值，指示是否启用了“捏合旋转和缩放”交互。

返回如果“掐去旋转和缩放”启用互动。**`boolean`** `true`

### isActive
如果处理程序已启用并检测到缩放/旋转手势的开始，则返回 true。

返回 **`boolean`**

### disableRotation
禁用“捏合旋转”交互，启用“捏合缩放”交互。

#### Examples
```
map.touchZoomRotate.disableRotation();
```

### enableRotation
启用“捏合旋转”交互。

#### Examples
```
map.touchZoomRotate.enable();
  map.touchZoomRotate.enableRotation();
```

## CameraOptions

常见的选项`地图＃jumpTo`，`地图＃easeTo`和`地图＃一个FlyTo`，控制摄像机的所需位置，缩放，轴承，和俯仰。所有属性都是可选的，当省略某个属性时，该属性的当前相机值将保持不变。

类型： `Object`

### Properties
- `center` **[LngLatLike][284]**所需的中心。
- `zoom` **`number`** 所需的缩放级别。
- `bearing` **`number`**以度为单位的所需方位。方位是“向上”的罗盘方向。例如，`bearing: 90`调整地图的方向，使东方朝上。
- `pitch` **`number`**所需的度数。俯仰角是与地平线的角度，以度为单位，范围在 0 到 60 度之间。例如，pitch: 0 提供了直视地图的外观，而 pitch: 60 使用户的视角向地平线倾斜。增加间距值通常用于显示 3D 对象。
- `around` **[LngLatLike][284]**如果`zoom`指定，则`around`确定缩放的中心点。
- `padding` **[PaddingOptions][196]**应用在视口每一侧以移动消失点的尺寸（以像素为单位）。

### Examples
```
// set the map's initial perspective with CameraOptions
var map = new vjmap.Map({
  container: 'map',
  style: 'your style',
  center: [-73.5804, 45.53483],
  pitch: 60,
  bearing: -60,
  zoom: 10
});
```

## AnimationOptions

涉及动画的地图移动方法常见的选项，例如`Map#panBy`和 `Map#easeTo`，控制动画的持续时间`和缓动`功能。所有属性都是可选的。

类型： `Object`

### Properties
- `duration` **`number`** 动画的持续时间，以毫秒为单位。
- `easing` **函数**一个函数在 0..1 范围内花费时间并返回一个数字，其中 0 是初始状态，1 是最终状态。
- `offset` 动画结束时目标中心相对于真实地图容器中心的**[PointLike][166]**。
- `animate` **`boolean`**如果`false`，则不会发生动画。
- `essential` **`boolean`**如果`true`，则动画被认为是必不可少的，不会受到 ``prefers-reduced-motion` `.

## PaddingOptions

用于在调用`Map#fitBounds`、`Map#fitScreenCoordinates`和`Map#setPadding`等方法时设置填充的选项。调整这些选项以设置添加到画布边缘的像素填充量。在所有边缘或每个边缘的单个值上设置统一的填充。此对象的所有属性必须是非负整数。

类型： `Object`

### Properties
- `top` **`number`** 从地图画布顶部以像素为单位的填充。
- `bottom` **`number`** 以像素为单位从地图画布底部填充。
- `left` **`number`** 从地图画布左侧以像素为单位的填充。
- `right` **`number`** 从地图画布右侧以像素为单位的填充。

### Examples
```
var bbox = [[-79, 43], [-73, 45]];
map.fitBounds(bbox, {
  padding: {top: 10, bottom:25, left: 15, right: 5}
});
```

```
var bbox = [[-79, 43], [-73, 45]];
map.fitBounds(bbox, {
  padding: 20
});
```

## NavigationControl

一个`NavigationControl`控件包含缩放按钮和一个指南针。使用`Map#addControl`将此控件添加到地图。

### Parameters
- `options` **`Object`?**
    - `options.showCompass` **`布尔值 `**如果`true`包含指南针按钮。（可选，默认`true`）
    - `options.showZoom` **`布尔值 `**如果`true`包括放大和缩小按钮。（可选，默认`true`）
    - `options.visualizePitch` **`布尔值 `**如果`true`通过旋转罗盘的 X 轴来可视化俯仰。（可选，默认`false`）

### Examples
```
var nav = new vjmap.NavigationControl();
map.addControl(nav, 'top-left');
```

## GeolocateControl
**扩展事件**


一个`GeolocateControl`控件提供了使用浏览器的地理位置API，以在地图上定位用户的按钮。使用`Map#addControl`将此控件添加到地图。

并非所有浏览器都支持地理定位，一些用户可能会禁用该功能。对包括 Chrome 在内的现代浏览器的地理定位支持要求站点通过 HTTPS 提供服务。如果地理定位支持不可用，则 GeolocateControl 将显示为禁用。

应用的缩放级别将取决于设备提供的地理位置的准确性。

GeolocateControl 有两种模式。如果`trackUserLocation`是`false`（默认），则控件充当按钮，按下按钮时会将地图的相机设置为定位用户位置。如果用户移动，地图将不会更新。这最适合桌面。如果`trackUserLocation`是`true`，控制作为一个拨动按钮活性当用户的位置被主动监视更改。在这种模式下 GeolocateControl 具有三种交互状态：

- active - 随着用户位置的变化，地图的相机会自动更新，将位置点保持在中心。初始状态和单击`GeolocateControl`按钮时。
- 被动 - 用户的位置点会自动更新，但地图的相机不会。在用户启动地图移动时发生。
- 禁用 - 如果地理位置不可用、禁用或被拒绝，则会发生。

这些交互状态不能以编程方式控制，而是根据用户交互设置。

### Parameters
- `options` **`Object`?**
    - `options.positionOptions` **`Object`**地理定位 API `PositionOptions `目的。（可选，默认`{enableHighAccuracy:false,timeout:6000}`）
    - `options.fitBoundsOptions` **`Object`**一个`Map#fitBounds`选项对象，当地图被平移和缩放到用户的位置时使用。默认值是使用`maxZoom`15 来限制地图为非常准确的位置放大的距离。（可选，默认`{maxZoom:15}`）
    - `options.trackUserLocation` **`Object`**如果`true`Geolocate Control 变成一个切换按钮，并且当它处于活动状态时，地图将随着用户位置的变化接收更新。（可选，默认`false`）
    - `options.showAccuracyCircle` **`Object`**默认情况下，如果 showUserLocation 为`true`，则会在用户位置周围绘制一个透明圆圈，指示用户位置的准确性（95% 置信度）。设置`false`为禁用。当 showUserLocation 为 时始终禁用`false`。（可选，默认`true`）
    - `options.showUserLocation` **`Object`**默认情况下，用户所在位置的地图上将显示一个点。设置`false`为禁用。（可选，默认`true`）

### Examples
```
map.addControl(new vjmap.GeolocateControl({
    positionOptions: {
        enableHighAccuracy: true
    },
    trackUserLocation: true
}));
```

### trigger
以编程方式请求地图并将其移动到用户的位置。

#### Examples
```
// Initialize the geolocate control.
var geolocate = new vjmap.GeolocateControl({
 positionOptions: {
   enableHighAccuracy: true
 },
 trackUserLocation: true
});
// Add the control to the map.
map.addControl(geolocate);
map.on('load', function() {
  geolocate.trigger();
});
```

返回**`boolean`**返回`false`如果之前控制被添加到地图叫，否则返回`true`。

### geolocate
在每次成功返回的 Geolocation API 位置更新上触发。

#### Properties
- `data` **`位置 `**返回的`位置 ``Geolocation.getCurrentPosition()`回调中的对象 ``或`Geolocation.watchPosition() `.

#### Examples
```
// Initialize the geolocate control.
var geolocate = new vjmap.GeolocateControl({
  positionOptions: {
      enableHighAccuracy: true
  },
  trackUserLocation: true
});
// Add the control to the map.
map.addControl(geolocate);
// Set an event listener that fires
// when a geolocate event occurs.
geolocate.on('geolocate', function() {
  console.log('A geolocate event has occurred.')
});
```

### error
在作为错误返回的每个 Geolocation API 位置更新时触发。

#### Properties
- `data` **`位置误差 `**返回的`PositionError ``Geolocation.getCurrentPosition()`回调中的对象 ``或`Geolocation.watchPosition() `.

#### Examples
```
// Initialize the geolocate control.
var geolocate = new vjmap.GeolocateControl({
  positionOptions: {
      enableHighAccuracy: true
  },
  trackUserLocation: true
});
// Add the control to the map.
map.addControl(geolocate);
// Set an event listener that fires
// when an error event occurs.
geolocate.on('error', function() {
  console.log('An error event has occurred.')
});
```

### outofmaxbounds
在每个 Geolocation API 位置更新时触发，该位置更新返回成功，但用户位置超出地图 maxBounds。

#### Properties
- `data` **`位置 `**返回的`位置 ``Geolocation.getCurrentPosition()`回调中的对象 ``或`Geolocation.watchPosition() `.

#### Examples
```
// Initialize the geolocate control.
var geolocate = new vjmap.GeolocateControl({
  positionOptions: {
      enableHighAccuracy: true
  },
  trackUserLocation: true
});
// Add the control to the map.
map.addControl(geolocate);
// Set an event listener that fires
// when an outofmaxbounds event occurs.
geolocate.on('outofmaxbounds', function() {
  console.log('An outofmaxbounds event has occurred.')
});
```

### trackuserlocationstart
当 Geolocate Control 更改为活动锁定状态时触发，该状态发生在第一次为用户成功获取 Geolocation API 位置时（随后将发生 geolocate 事件），或者用户在使用最后一个的后台状态时单击 geolocate 按钮已知位置重新定位地图并进入活动锁定状态（除非用户的位置发生变化，否则不会发生地理定位事件）。

#### Examples
```
// Initialize the geolocate control.
var geolocate = new vjmap.GeolocateControl({
  positionOptions: {
      enableHighAccuracy: true
  },
  trackUserLocation: true
});
// Add the control to the map.
map.addControl(geolocate);
// Set an event listener that fires
// when a trackuserlocationstart event occurs.
geolocate.on('trackuserlocationstart', function() {
  console.log('A trackuserlocationstart event has occurred.')
});
```

### trackuserlocationend
当 Geolocate Control 更改为后台状态时触发，当用户在活动位置锁定期间更改相机时会发生这种情况。这仅在 trackUserLocation 为 true 时适用。在后台状态下，地图上的点会随着位置更新而更新，但相机不会。

#### Examples
```
// Initialize the geolocate control.
var geolocate = new vjmap.GeolocateControl({
  positionOptions: {
      enableHighAccuracy: true
  },
  trackUserLocation: true
});
// Add the control to the map.
map.addControl(geolocate);
// Set an event listener that fires
// when a trackuserlocationend event occurs.
geolocate.on('trackuserlocationend', function() {
  console.log('A trackuserlocationend event has occurred.')
});
```

## AttributionControl
一个`AttributionControl`控件显示地图的`属性信息`. 使用`Map#addControl`将此控件添加到地图。

### Parameters
- `options` **`Object`?** （可选，默认`{}`）
    - `options.compact` **`boolean`?** 如果`true`，则强制使用紧凑属性，在鼠标悬停时显示完整属性。如果`false`，则强制执行完全归因控制。默认为响应式属性，当地图宽度小于 640 像素时会折叠。**如果可以轻松地放置在地图上，则不应折叠归因。`compact`仅当地图大小无法适应`默认属性`时，才应用于修改`默认属性` 当默认设置的自动紧凑调整大小不够时。**
    - `options.customAttribution` **( `string`| `Array`&lt; `string`\>)？**除了任何其他属性之外要显示的一个或多个字符串。您还可以在使用`customAttribution 选项`初始化地图时设置自定义属性 ``.

### Examples
```
var map = new vjmap.Map({attributionControl: false})
    .addControl(new vjmap.AttributionControl({
        customAttribution: 'Map design by me'
    }));
```

## ScaleControl
甲`ScaleControl`控制显示的距离的地图可以在地面上对应的距离上的比率。使用`Map#addControl`将此控件添加到地图。

### Parameters
- `options` **`Object`?**
    - `options.maxWidth` **`number`**缩放控件的最大长度（以像素为单位）。（可选，默认`'100'`）
    - `options.unit` **`string`**距离单位（`'imperial'`、`'metric'`或`'nautical'`）。（可选，默认`'metric'`）

### Examples
```
var scale = new vjmap.ScaleControl({
    maxWidth: 80,
    unit: 'imperial'
});
map.addControl(scale);

scale.setUnit('metric');
```

### setUnit
设置距离的比例单位

#### Parameters
- `unit` **Unit**距离的单位（`'imperial'`、`'metric'`或`'nautical'`）。

## FullscreenControl

甲`FullscreenControl`控制包含用于进出的全屏模式切换地图的按钮。查看`requestFullScreen` `兼容性表 ](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen#browser_compatibility)对于支持的浏览器。使用[Map#addControl`将此控件添加到地图。

### Parameters
- `options` **`Object`?**
    - `options.container` **`HTMLElement`?** `container`是`兼容的 DOM 元素 `这应该是全屏的。默认情况下，地图容器元素将全屏显示。

### Examples
```
map.addControl(new vjmap.FullscreenControl({container: document.querySelector('body')}));
```

## Popup
**扩展事件**


一个弹出组件。

### Parameters
- `options` **`Object`?**
    - `options.closeButton` **`boolean`**如果`true`，弹出窗口的右上角将出现一个关闭按钮。（可选，默认`true`）
    - `options.closeOnClick` **`boolean`**如果`true`，则单击地图时将关闭弹出窗口。（可选，默认`true`）
    - `options.closeOnMove` **`boolean`**如果`true`，则当地图移动时弹出窗口将关闭。（可选，默认`false`）
    - `options.focusAfterOpen` **`boolean`**如果`true`，则弹出窗口将尝试聚焦弹出窗口内的第一个可聚焦元素。（可选，默认`true`）
    - `options.anchor` **`string`?** 一个字符串，指示应该通过`Popup#setLngLat`定位到最接近坐标集的`Popup 部分`。选项包括`'center'`，`'top'`，`'bottom'`，`'left'`，`'right'`，`'top-left'`， `'top-right'`，`'bottom-left'`，和`'bottom-right'`。如果未设置，锚点将被动态设置以确保弹出窗口位于地图容器内，并且优先选择`'bottom'`。
    - `options.offset` **( `number`| [PointLike][166] | `Object`)？** 应用于弹出窗口位置的像素偏移指定为：- 指定与弹出窗口位置距离的单个数字
        - 指定常量偏移量的[PointLike][166]
        - [Point][165] s的对象，指定每个锚点位置的偏移量负偏移表示向左和向上。
    - `options.className` **`string`?** 添加到弹出容器的以空格分隔的 CSS 类名
    - `options.maxWidth` **`string`** 设置弹出窗口最大宽度的 CSS 属性的字符串，例如`'300px'`. 要确保弹出窗口调整大小以适合其内容，请将此属性设置为`'none'`。可用值可以在这里找到：`https` : `//developer.mozilla.org/en-US/docs/Web/CSS/max-width `（可选，默认`'240px'`）

### Examples
```
var markerHeight = 50, markerRadius = 10, linearOffset = 25;
var popupOffsets = {
 'top': [0, 0],
 'top-left': [0,0],
 'top-right': [0,0],
 'bottom': [0, -markerHeight],
 'bottom-left': [linearOffset, (markerHeight - markerRadius + linearOffset) * -1],
 'bottom-right': [-linearOffset, (markerHeight - markerRadius + linearOffset) * -1],
 'left': [markerRadius, (markerHeight - markerRadius) * -1],
 'right': [-markerRadius, (markerHeight - markerRadius) * -1]
 };
var popup = new vjmap.Popup({offset: popupOffsets, className: 'my-class'})
  .setLngLat(e.lngLat)
  .setHTML("&lt;h1>Hello World!&lt;/h1>")
  .setMaxWidth("300px")
  .addTo(map);
```

### addTo

将弹出窗口添加到地图。

#### Parameters
- `map` **[Map][1]**要添加弹出窗口的地图。

#### Examples
```
new vjmap.Popup()
  .setLngLat([0, 0])
  .setHTML("&lt;h1>Null Island&lt;/h1>")
  .addTo(map);
```

返回**`弹出窗口`** `this`

### isOpen
如果弹出窗口是打开的，如果它是关闭的，则返回。**`boolean`** `true``false`

### remove
从已添加到的地图中删除弹出窗口。

#### Examples
```
var popup = new vjmap.Popup().addTo(map);
popup.remove();
```

返回**`弹出窗口`** `this`

### getLngLat
返回弹出窗口锚点的地理位置。

结果的经度可能与先前设置的经度相差 360 度的倍数，`setLngLat`因为`Popup`将锚定经度包装在世界的副本上以保持弹出窗口在屏幕上。

返回**[LngLat][230]**弹出窗口锚点的地理位置。

### setLngLat
设置弹出窗口锚点的地理位置，并将弹出窗口移动到它。替换 trackPointer() 行为。

#### Parameters
- `lnglat` **[LngLatLike][284]**设置为弹出窗口锚点的地理位置。

返回**`弹出窗口`** `this`

### trackPointer
使用指针设备将弹出锚点跟踪到屏幕上的光标位置（它将在触摸屏上隐藏）。替换`setLngLat`行为。对于大多数用例，将`closeOnClick`和设置`closeButton`为`false`。

#### Examples
```
var popup = new vjmap.Popup({ closeOnClick: false, closeButton: false })
  .setHTML("&lt;h1>Hello World!&lt;/h1>")
  .trackPointer()
  .addTo(map);
```

返回**`弹出窗口`** `this`

### getElement
返回`Popup`的 HTML 元素。

#### Examples
```
// Change the `Popup` element's font size
var popup = new vjmap.Popup()
  .setLngLat([-96, 37.8])
  .setHTML("&lt;p>Hello World!&lt;/p>")
  .addTo(map);
var popupElem = popup.getElement();
popupElem.style.fontSize = "25px";
```

返回**`HTMLElement`**元素

### setText
将弹出窗口的内容设置为一串文本。

此函数创建一个`文本 `DOM 中的节点，因此它无法插入原始 HTML。如果弹出内容是用户提供的，请使用此方法来防止 XSS。

#### Parameters
- `text` **`string`** 弹出窗口的文本内容。

#### Examples
```
var popup = new vjmap.Popup()
  .setLngLat(e.lngLat)
  .setText('Hello, world!')
  .addTo(map);
```

返回**`弹出窗口`** `this`

### setHTML

将弹出窗口的内容设置为作为字符串提供的 HTML。

此方法不执行 HTML 过滤或清理，并且必须仅用于受信任的内容。如果内容是不受信任的文本字符串，请考虑`Popup#setText`。

#### Parameters
- `html` **`string`** 表示弹出窗口的 HTML 内容的字符串。

#### Examples
```
var popup = new vjmap.Popup()
  .setLngLat(e.lngLat)
  .setHTML("&lt;h1>Hello World!&lt;/h1>")
  .addTo(map);
```

返回**`弹出窗口`** `this`

### getMaxWidth
返回弹出窗口的最大宽度。

返回**`string`**弹出窗口的最大宽度。

### setMaxWidth
设置弹出窗口的最大宽度。这是设置 CSS 属性`max-width`。可用值可以在这里找到：`https` : `//developer.mozilla.org/en-US/docs/Web/CSS/max-width `

#### Parameters
- `maxWidth` **`string`** 表示最大宽度值的字符串。

返回**`弹出窗口`** `this`

### setDOMContent
将弹出窗口的内容设置为作为 DOM 节点提供的元素。

#### Parameters
- `htmlNode` **`节点 `** 用作弹出窗口内容的 DOM 节点。

#### Examples
```
// create an element with the popup content
var div = window.document.createElement('div');
div.innerHTML = 'Hello, world!';
var popup = new vjmap.Popup()
  .setLngLat(e.lngLat)
  .setDOMContent(div)
  .addTo(map);
```

返回**`弹出窗口`** `this`

### addClassName
将 CSS 类添加到弹出式容器元素。

#### Parameters
- `className` **`string`** 要添加到弹出式容器的具有 CSS 类名的非空字符串

#### Examples
```
let popup = new vjmap.Popup()
popup.addClassName('some-class')
```

### removeClassName
从弹出式容器元素中删除 CSS 类。

#### Parameters
- `className` **`string`** 要从弹出式容器中删除的具有 CSS 类名的非空字符串

#### Examples
```
let popup = new vjmap.Popup()
popup.removeClassName('some-class')
```

### setOffset
设置弹出窗口的偏移量。

#### Parameters
- `offset` **抵消？**设置弹出窗口的偏移量。

返回**`弹出窗口`** `this`

### toggleClassName
在弹出容器上添加或删除给定的 CSS 类，具体取决于容器当前是否具有该类。

#### Parameters
- `className` **`string`** 要添加/删除的带有 CSS 类名的非空字符串

#### Examples
```
let popup = new vjmap.Popup()
popup.toggleClassName('toggleClass')
```

返回**`boolean`**如果取出假回报类，如果加入的类，然后返回true

### open
当手动或以编程方式打开弹出窗口时触发。

类型： `Object`

#### Properties
- `popup` 已打开的**`弹出`**对象

#### Examples
```
// Create a popup
var popup = new vjmap.Popup();
// Set an event listener that will fire
// any time the popup is opened
popup.on('open', function(){
  console.log('popup was opened');
});
```

### close
当手动或以编程方式关闭弹出窗口时触发。

类型： `Object`

#### Properties
- `popup` 已关闭的**`弹出`**对象

#### Examples
```
// Create a popup
var popup = new vjmap.Popup();
// Set an event listener that will fire
// any time the popup is closed
popup.on('close', function(){
  console.log('popup was closed');
});
```

## MapMouseEvent
**扩展对象**


`MapMouseEvent`是其他类使用的类，用于生成特定类型的鼠标事件，例如“单击”或“悬停”。有关可用事件的完整列表，请参阅``Map`events`。

### Parameters
- `type` **`string`**
- `map` **`地图`**
- `originalEvent` **`鼠标事件 `**
- `data` **`Object`** （可选，默认`{}`）

### Examples
```
// Example of a MapMouseEvent of type "click"
{
    lngLat: {
        lng: 40.203,
        lat: -74.451
    },
    originalEvent: {...},
    point: {
        x: 266,
        y: 464
    },
     target: {...},
     type: "click"
}
```

### type
始发事件的类型。有关可用事件的完整列表，请参阅``Map`events`。

类型：（`"mousedown"`| `"mouseup"`| `"click"`| `"dblclick"`| `"mousemove"`| `"mouseover"`| `"mouseenter"`| `"mouseleave"`| `"mouseout"`| `"contextmenu"`）

### target
`Map`触发事件的对象。

类型：`地图`

### originalEvent
引发地图事件的 DOM 事件。

类型：`鼠标事件 `

### point
鼠标光标的像素坐标，相对于地图并从左上角开始测量。

类型：`点`

### LngLat
鼠标光标在地图上的地理位置。

类型：[LngLat][230]

### preventDefault
阻止地图对事件的后续默认处理。

调用此方法将阻止以下默认地图行为：

- 在`mousedown`事件上，`DragPanHandler][191]的行为[`
- 在`mousedown`事件上，`DragRotateHandler][192]的行为[`
- 在`mousedown`事件上，`BoxZoomHandler][178]的行为[`
- 在`dblclick`事件上，`DoubleClickZoomHandler][190]的行为[`

## MapTouchEvent
**扩展对象**


`MapTouchEvent`是其他类用来生成特定类型的鼠标事件的类，例如“touchstart”或“touchend”。有关可用事件的完整列表，请参阅``Map`events`。

### Parameters
- `type` **`string`**
- `map` **`地图`**
- `originalEvent` **`触摸事件 `**

### Examples
```
// Example of a MapTouchEvent of type "touch"
{
  lngLat: {
     lng: 40.203,
     lat: -74.451
  },
  lngLats: [
     {
        lng: 40.203,
        lat: -74.451
     }
  ],
  originalEvent: {...},
  point: {
     x: 266,
     y: 464
  },
  points: [
     {
        x: 266,
        y: 464
     }
  ]
  preventDefault(),
  target: {...},
  type: "touchstart"
}
```

### type
始发事件的类型。有关可用事件的完整列表，请参阅``Map`events`。

类型：( `"touchstart"`| `"touchend"`| `"touchcancel"`)

### target
`Map`触发事件的对象。

类型：`地图`

### originalEvent
引发地图事件的 DOM 事件。

类型：`触摸事件 `

### LngLat
地图上触摸事件点中心的地理位置。

类型：[LngLat][230]

### point
触摸事件点中心的像素坐标，相对于地图，从左上角开始测量。

类型：`点`

### points
对应于`触摸事件的`像素坐标数组 ``touches`` 财产。

类型：`Array`&lt;`点`\>

### lngLats
地图上对应于`触摸事件的`地理位置 ``touches`` 财产。

类型：`Array`&lt; [LngLat][230] >

### preventDefault
阻止地图对事件的后续默认处理。

调用此方法将阻止以下默认地图行为：

- 在`touchstart`事件上，`DragPanHandler][191]的行为[`
- 在`touchstart`事件上，`TouchZoomRotateHandler][193]的行为[`

## MapWheelEvent
**扩展对象**


`MapWheelEvent`是其他类用来生成特定类型的鼠标事件（例如“轮”）的类。有关可用事件的完整列表，请参阅``Map`events`。

### Parameters
- `type` **`string`**
- `map` **`地图`**
- `originalEvent` **`轮事件 `**

### Examples
```
// Example of a MapWheelEvent of type "wheel"
{
  originalEvent: WheelEvent {...},
	 target: Map {...},
	 type: "wheel"
}
```

### type
始发事件的类型。有关可用事件的完整列表，请参阅``Map`events`。

类型： `"wheel"`

### target
`Map`触发事件的对象。

类型：`地图`

### originalEvent
引发地图事件的 DOM 事件。

类型：`WheelEvent `

### preventDefault
阻止地图对事件的后续默认处理。

调用此方法将阻止[ScrollZoomHandler][187]的行为。

## ZoomEvent

`ZoomEvent`是其他类用来生成特定类型的鼠标事件的类，例如“boxzoomstart”或“boxzoomend”。有关可用事件的完整列表，请参阅``Map`events`。

类型： `Object`

### Properties
- `originalEvent` **`鼠标事件 `**触发 boxzoom 事件的 DOM 事件。可以是一个`MouseEvent`或`KeyboardEvent`
- `type` **`string`**始发事件的类型。有关可用事件的完整列表，请参阅``Map`events`。
- `target` **[Map][1]**`Map`触发事件的实例

### Examples
```
// Example of a BoxZoomEvent of type "boxzoomstart"
{
  originalEvent: {...},
  type: "boxzoomstart",
  target: {...}
}
```

## MapDataEvent

`MapDataEvent`是其他类用来生成特定类型的鼠标事件的类，例如“sourcedata”或“dataloading”。有关可用事件的完整列表，请参阅``Map`events`。

类型： `Object`

### Properties
- `type` **`string`**始发事件的类型。有关可用事件的完整列表，请参阅``Map`events`。
- `dataType` **`string`**已更改的数据类型。一个`'source'`或`'style'`，其中`'source'`是指与任何源相关联的数据，以及`'style'`指的是整个`的风格` 被地图使用。
- `isSourceLoaded` **`boolean`?** 如果事件有一个`dataType`，`source`并且源没有未完成的网络请求，则为真。
- `source` **`Object`?** `源`的`样式规范表示 `如果事件有一个`dataType`的`source`。
- `sourceDataType` **`string`?** 如果事件具有`dataType`of`source`并且事件表示内部数据已被接收或更改，则包括在内。可能的值为`metadata`、`content`和`visibility`。
- `tile` **`Object`?** 正在加载或更改的图块，如果事件具有`dataType`of`source`并且该事件与图块的加载相关。
- `coord` **协调？**如果事件有瓷砖的坐标`dataType`的`source`，而该事件涉及到瓷砖的负载。

### Examples
```
// Example of a MapDataEvent of type "sourcedata"
{
  dataType: "source",
  isSourceLoaded: false,
  source: {
    type: "vector",
    url: "your url"
  },
  sourceDataType: "visibility",
  sourceId: "composite",
  style: {...},
  target: {...},
  type: "sourcedata"
}
```

## Marker
**扩展事件**


创建一个标记组件

### Parameters
- `options` **`Object`?**
    - `options.element` **`HTMLElement`?** 用作标记的 DOM 元素。默认为浅蓝色、水滴状的 SVG 标记。
    - `options.anchor` **`string`**一个字符串，指示应该通过`Marker#setLngLat`定位到最接近坐标集的`Marker 部分`。选项包括`'center'`，`'top'`，`'bottom'`，`'left'`，`'right'`，`'top-left'`，`'top-right'`，`'bottom-left'`，和`'bottom-right'`。（可选，默认`'center'`）
    - `options.offset` **`点像`?** 以像素为单位的偏移量，作为要应用的[PointLike][166]对象相对于元素的中心。负数表示向左和向上。
    - `options.color` **`string`**如果未提供 options.element，则用于默认标记的颜色。默认为浅蓝色。（可选，默认`'#3FB1CE'`）
    - `options.scale` **`number`**如果未提供 options.element，则用于默认标记的比例。默认比例对应于 的高度`41px`和宽度`27px`。（可选，默认`1`）
    - `options.draggable` **`boolean`**一个布尔值，指示是否可以将标记拖动到地图上的新位置。（可选，默认`false`）
    - `options.clickTolerance` **`number`**用户在点击标记期间可以移动鼠标指针的最大像素数，以便将其视为有效点击（与标记拖动相反）。默认是继承地图的clickTolerance。（可选，默认`0`）
    - `options.rotation` **`number`**标记相对于其各自`rotationAlignment`设置的旋转角度（以度为单位）。正值将顺时针旋转标记。（可选，默认`0`）
    - `options.pitchAlignment` **`string`** `map`将 与`Marker`地图平面对齐。`viewport`将 与`Marker`视口平面对齐。`auto`自动匹配 的值`rotationAlignment`。（可选，默认`'auto'`）
    - `options.rotationAlignment` **`string`** `map`对齐`Marker`相对于地图的旋转，在地图旋转时保持方位角。相对于视口`viewport`对齐`Marker`的旋转，与地图旋转无关。`auto`相当于`viewport`。（可选，默认`'auto'`）
- `legacyOptions` **选项？**

### Examples
```
var marker = new vjmap.Marker()
  .setLngLat([30.5, 50.5])
  .addTo(map);
```

```
// Set options
var marker = new vjmap.Marker({
    color: "#FFFFFF",
    draggable: true
  }).setLngLat([30.5, 50.5])
  .addTo(map);
```

### addTo
将 附加`Marker`到`Map`对象。

#### Parameters
- `map` **[Map][1]**要添加标记的地图。

#### Examples
```
var marker = new vjmap.Marker()
  .setLngLat([30.5, 50.5])
  .addTo(map); // add the marker to the map
```

返回**`标记`** `this`

### remove
从地图上移除标记

#### Examples
```
var marker = new vjmap.Marker().addTo(map);
marker.remove();
```

返回**`标记`** `this`

### getLngLat

获取标记的地理位置。

结果的经度可能与之前设置的经度相差 360 度的倍数，`setLngLat`因为`Marker`将锚定经度包裹在世界的副本上以将标记保留在屏幕上。

#### Examples
```
// Store the marker's longitude and latitude coordinates in a variable
var lngLat = marker.getLngLat();
// Print the marker's longitude and latitude values in the console
console.log('Longitude: ' + lngLat.lng + ', Latitude: ' + lngLat.lat )
```

返回**[LngLat][230]**一个[LngLat][230]描述标记的位置。

### setLngLat

设置标记的地理位置并移动它。

#### Parameters
- `lnglat` **[LngLat][230]**甲[LngLat][230]描述将标记应位于。

#### Examples
```
// Create a new marker, set the longitude and latitude, and add it to the map
new vjmap.Marker()
  .setLngLat([-65.017, -16.457])
  .addTo(map);
```

返回**`标记`** `this`

### getElement
返回`Marker`的 HTML 元素。

返回**`HTMLElement`**元素

### setPopup

将[Popup][208]绑定到[Marker][238]。

#### Parameters
- `popup` **`弹出窗口`？**[Popup][208]类的一个实例。如果未定义或为空，则在此[Marker][238]实例上设置的任何弹出窗口都未设置。

#### Examples
```
var marker = new vjmap.Marker()
 .setLngLat([0, 0])
 .setPopup(new vjmap.Popup().setHTML("&lt;h1>Hello World!&lt;/h1>")) // add popup
 .addTo(map);
```

返回**`标记`** `this`

### getPopup
返回绑定到`Marker][238]的[Popup][208]实例。[`

#### Examples
```
var marker = new vjmap.Marker()
 .setLngLat([0, 0])
 .setPopup(new vjmap.Popup().setHTML("&lt;h1>Hello World!&lt;/h1>"))
 .addTo(map);

console.log(marker.getPopup()); // return the popup instance
```

返回**`弹出`**窗口

### togglePopup
打开或关闭`弹出`绑定到该实例`标记`，这取决于当前的状态`弹出`。

#### Examples
```
var marker = new vjmap.Marker()
 .setLngLat([0, 0])
 .setPopup(new vjmap.Popup().setHTML("&lt;h1>Hello World!&lt;/h1>"))
 .addTo(map);

marker.togglePopup(); // toggle popup open or closed
```

返回**`标记`** `this`

### getOffset
获取标记的偏移量。

返回**[Point][165]**标记的屏幕坐标（以像素为单位）。

### setOffset
设置标记的偏移量

#### Parameters
- `offset` **[PointLike][166]**作为要应用的[PointLike][166]对象相对于元素中心的偏移量（以像素为单位）。负数表示向左和向上。

返回**`标记`** `this`

### setDraggable
设置`draggable`标记的属性和功能

#### Parameters
- `shouldBeDraggable` **`boolean`**打开/关闭拖动功能（可选，默认`false`）

返回**`标记`** `this`

### isDraggable
如果可以拖动标记，则返回 true

**`boolean`**如果标记是可拖动的，则返回True。

### setRotation
设置`rotation`标记的属性。

#### Parameters
- `rotation` **`number`**标记的旋转角度（顺时针，以度为单位），相对于其各自的`Marker#setRotationAlignment`设置。（可选，默认`0`）

返回**`标记`** `this`

### getRotation
返回标记的当前旋转角度（以度为单位）。

返回**`number`**标记的当前旋转角度。

### setRotationAlignment
设置`rotationAlignment`标记的属性。

#### Parameters
- `alignment` **`string`**设置`rotationAlignment`标记的属性。（可选，默认`'auto'`）

返回**`标记`** `this`

### getRotationAlignment
返回`rotationAlignment`标记的当前属性。

返回**`string`**标记的当前旋转对齐方式。

### setPitchAlignment
设置`pitchAlignment`标记的属性。

#### Parameters
- `alignment` **`string`?** 设置`pitchAlignment`标记的属性。如果对齐是“自动”，它会自动匹配`rotationAlignment`。

返回**`标记`** `this`

### getPitchAlignment
返回`pitchAlignment`标记的当前属性。

返回**`string`**标记的当前音高对齐（以度为单位）。

### dragstart
拖动开始时触发

类型： `Object`

#### Properties
- `marker` 被拖动的**`标记`**对象

### drag
拖动时触发

类型： `Object`

#### Properties
- `marker` 被拖动的**`标记`**对象

### dragend
当标记完成拖动时触发

类型： `Object`

#### Properties
- `marker` 被拖动的**`标记`**对象

## StyleImageInterface

动态生成样式图像的界面。这是实现者建模的规范：它不是导出的方法或类。

可以为每一帧重新绘制实现此接口的图像。它们可用于动画图标和图案或使它们响应用户输入。样式图像可以实现 `StyleImageInterface#render`方法。该方法每帧调用一次，可用于更新图像。

### Properties
- `width` **`number`**
- `height` **`number`**
- `data` **( `Uint8Array `| `Uint8ClampedArray `)**

### Examples
```
var flashingSquare = {
    width: 64,
    height: 64,
    data: new Uint8Array(64 * 64 * 4),

    onAdd: function(map) {
        this.map = map;
    },

    render: function() {
        // keep repainting while the icon is on the map
        this.map.triggerRepaint();

        // alternate between black and white based on the time
        var value = Math.round(Date.now() / 1000) % 2 === 0  ? 255 : 0;

        // check if image needs to be changed
        if (value !== this.previousValue) {
            this.previousValue = value;

            var bytesPerPixel = 4;
            for (var x = 0; x &lt; this.width; x++) {
                for (var y = 0; y &lt; this.height; y++) {
                    var offset = (y * this.width + x) * bytesPerPixel;
                    this.data[offset + 0] = value;
                    this.data[offset + 1] = value;
                    this.data[offset + 2] = value;
                    this.data[offset + 3] = 255;
                }
            }

            // return true to indicate that the image changed
            return true;
        }
    }
 }

 map.addImage('flashing_square', flashingSquare);
```

### render
在将使用图标的每一帧之前调用此方法一次。该方法可以选择`data`使用新图像更新图像的成员。

如果该方法更新图像，它必须返回`true`以提交更改。如果该方法返回`false`或什么都不返回，则假定图像未更改。

如果更新不频繁，使用`Map#updateImage`更新图像而不是实现此方法可能更容易。

如果此方法更新了图像，则返回。如果图像没有改变。**`boolean`** `true``false`

### onAdd
使用`Map#addImage`将图层添加到地图时调用的可选方法。

#### Parameters
- `map` **`地图`**此自定义图层刚刚添加到的地图。

### onRemove
使用`Map#removeImage`从地图中删除图标时调用的可选方法。这使图像有机会清理资源和事件侦听器。

## RequestParameters
`RequestParameters`从 Map.options.transformRequest 回调返回的对象。

类型： `Object`

### Properties
- `url` **`string`** 要请求的 URL。
- `headers` **`Object`** 要与请求一起发送的标头。
- `method` **`string`**请求方法`'GET' | 'POST' | 'PUT'`。
- `body` **`string`** 请求体。
- `type` **`string`**要返回的响应正文类型`'string' | 'json' | 'arrayBuffer'`。
- `credentials` **`string`** `'same-origin'|'include'` 使用 'include' 发送带有跨域请求的 cookie。
- `collectResourceTiming` **`boolean`** 如果为 true，将为这些转换后的请求收集 Resource Timing API 信息，并在相关数据事件的 resourceTiming 属性中返回。

### Examples
```
// use transformRequest to modify requests that begin with `http://myHost`
transformRequest: function(url, resourceType) {
 if (resourceType === 'Source' && url.indexOf('http://myHost') > -1) {
   return {
     url: url.replace('http', 'https'),
     headers: { 'my-custom-header': true },
     credentials: 'include'  // Include cookies for cross-origin requests
   }
  }
 }
```

## QueryGeometry
表示来自 的屏幕空间查询的数据类`Map#queryRenderedFeatures`。所有内部几何图形和数据都旨在是不可变的和只读的。它的生命周期仅适用于查询的持续时间和处理查询时地图的固定状态。

### isPointQuery
如果用户的初始查询是单点，则返回 true

**`boolean`**如果初始查询几何是单个点，则返回True

### bufferedScreenGeometry
由于数据驱动的样式特征不统一大小（例如`circle-radius`），并且可以与其原始位置不同地偏移（例如， with `*-translate`）。这意味着我们必须为每个瓦片扩展我们的查询区域以解释这些属性的变化。每个 tile 在解析时计算一个 tile 级别的最大填充值（以屏幕空间像素为单位），这个函数让我们计算每个 tile 的屏幕空间查询几何的缓冲版本。

#### Parameters
- `buffer` **`number`** 以屏幕空间像素为单位的平铺填充。

返回**`Array`&lt; [Point][165] >**缓冲的查询几何。

### bufferedCameraGeometry
当地图倾斜时，与查询相交的一些 3D 要素将不会在地球表面与查询相交。相反，该特征可能更近，并且仅与查询相交，因为它突出到空中。

这将返回一个几何图形，它是一个凸多边形，它包含查询视锥体和相机下方的点。与 类似`bufferedScreenGeometry`，添加了缓冲以解决油漆属性的变化。

案例1：相机下方的点正好在查询量后面+----------+ | | | | | | \+ + XX XX XX XX XX

情况 2：点在右后方 +---------+ | X | X | XX + X XXX XX XXXX X XXX XX XX X XXX

情况 3：点在左后方 +---------+ X | X | XX | X + X XXXX XX XXX X XXXX X XXXX XXX

#### Parameters
- `buffer` **`number`** 以屏幕空间像素为单位的平铺填充。

返回**`Array`&lt; [Point][165] >**缓冲的查询几何。

### containsTile
检查此查询几何图形中是否包含图块。

#### Parameters
- `tile` **平铺**要检查的平铺。
- `transform` **Transform**当前地图变换。
- `use3D` **`boolean`** 指示是否查询 3D 特征的布尔值。

返回**TilespaceQueryGeometry？**如果 tile 不相交，则返回 undefined

### bufferedscreenmercator
这些方法在由`Transform#pointCoordinate3d`. 图块具有不同的填充值，但是很可能多个图块根据样式共享相同的填充值。在这种情况下，我们希望重用先前计算的地形射线投射的结果。

#### Parameters
- `padding` **`number`**
- `transform` **转换**

返回**`Array`&lt;`墨卡托坐标`\>**

### createFromScreenPoints
帮助构建实例同时考虑当前地图状态的工厂方法。

#### Parameters
- `geometry` **( [PointLike][166] | \` [PointLike` , [PointLike][166] \])**查询几何。
- `transform` **Transform**当前地图变换。

返回**[QueryGeometry][253]** QueryGeometry 类的实例。

## VectorTileSource
**扩展事件**


包含`矢量瓦片格式`矢量瓦片的源 ``. （见`样式规范` 有关选项的详细文档。）

### Parameters
- `id` **`string`**
- `options` **任何**
- `dispatcher` **调度员**
- `eventedParent` **`事件发生`**

### Examples
```
map.addSource('some id', {
    type: 'vector',
    url: 'your url'
});
```

```
map.addSource('some id', {
    type: 'vector',
    tiles: ['https://xxx/{z}/{x}/{y}.mvt'],
    minzoom: 6,
    maxzoom: 14
});
```

```
map.getSource('some id').setUrl("your url");
```

```
map.getSource('some id').setTiles(['https://xxx/{z}/{x}/{y}.mvt']);
```

### setTiles
设置源`tiles`属性并重新渲染地图。

#### Parameters
- `tiles` **`Array`&lt; `string`\>**一个或多个图块源 URL 的数组，如 TileJSON 规范中所示。

返回**[VectorTileSource][260]**这个

### setUrl
设置源`url`属性并重新渲染地图。

#### Parameters
- `url` **`string`**TileJSON 资源的 URL。支持的协议是`http:`，`https:`。

返回**[VectorTileSource][260]**这个

## VideoSource
**扩展图像源**


包含视频的数据源。（见`样式规范` 有关选项的详细文档。）

### Parameters
- `id` **`string`**
- `options` **视频源规范**
- `dispatcher` **调度员**
- `eventedParent` **`事件发生`**

### Examples
```
// add to map
map.addSource('some id', {
   type: 'video',
   url: [
       'http://xxx.mp4',
       'https://xxx.webm'
   ],
   coordinates: [
       [-76.54, 39.18],
       [-76.52, 39.18],
       [-76.52, 39.17],
       [-76.54, 39.17]
   ]
});

// update
var mySource = map.getSource('some id');
mySource.setCoordinates([
    [-76.54335737228394, 39.18579907229748],
    [-76.52803659439087, 39.1838364847587],
    [-76.5295386314392, 39.17683392507606],
    [-76.54520273208618, 39.17876344106642]
]);

map.removeSource('some id');  // remove
```

### pause
暂停视频。

### play
播放视频。

### getVideo
返回 HTML`video`元素。

返回**`HTMLVideoElement `**HTML`video`元素。

### setCoordinates
设置视频的坐标并重新渲染地图。

返回**[VideoSource][263]**这个

## ImageSource
**扩展事件**


包含图像的数据源。（见`样式规范` 有关选项的详细文档。）

### Parameters
- `id` **`string`**
- `options` **(ImageSourceSpecification | VideoSourceSpecification | CanvasSourceSpecification)**
- `dispatcher` **调度员**
- `eventedParent` **`事件发生`**

### Examples
```
// add to map
map.addSource('some id', {
   type: 'image',
   url: 'https://xxx.png',
   coordinates: [
       [-76.54, 39.18],
       [-76.52, 39.18],
       [-76.52, 39.17],
       [-76.54, 39.17]
   ]
});

// update coordinates
var mySource = map.getSource('some id');
mySource.setCoordinates([
    [-76.54335737228394, 39.18579907229748],
    [-76.52803659439087, 39.1838364847587],
    [-76.5295386314392, 39.17683392507606],
    [-76.54520273208618, 39.17876344106642]
]);

// update url and coordinates simultaneously
mySource.updateImage({
   url: 'https://xxx.png',
   coordinates: [
       [-76.54335737228394, 39.18579907229748],
       [-76.52803659439087, 39.1838364847587],
       [-76.5295386314392, 39.17683392507606],
       [-76.54520273208618, 39.17876344106642]
   ]
})

map.removeSource('some id');  // remove
```

### updateImage
更新图像 URL 和（可选）坐标。为避免更改后图像闪烁，请将`raster-fade-duration`光栅图层上的paint属性设置为0。

#### Parameters
- `options` **`Object`** 选项对象。
    - `options.url` **`string`?** 必需的图像 URL。
    - `options.coordinates` **`Array`&lt; `Array`&lt; `number`\>>？**四个地理坐标，表示为经度和纬度数字数组，用于定义图像的角点。坐标从图像的左上角开始，并按顺时针顺序进行。它们不必表示一个矩形。

返回**[ImageSource][268]**这个

### setCoordinates
设置图像的坐标并重新渲染地图。

#### Parameters
- `coordinates` **`Array`&lt; `Array`&lt; `number`\>>**四地理坐标，表示为经度和纬度的数字阵列，它定义了图像的角上。坐标从图像的左上角开始，并按顺时针顺序进行。它们不必表示一个矩形。

返回**[ImageSource][268]**这个

## CanvasSourceOptions
将画布源类型添加到地图的选项。

类型： `Object`

### Properties
- `type` **`string`**来源类型。必须是`"canvas"`。
- `canvas` **( `string`| `HTMLCanvasElement `)**从中读取像素的画布源。可以是表示画布元素 ID 或`HTMLCanvasElement`本身的字符串。
- `coordinates` **`Array`&lt; `Array`&lt; `number`\>>**四个地理坐标表示在何处放置画布的角部，在指定的`[longitude, latitude]`对。
- `animate` **`boolean`?** 画布源是否是动画的。如果画布是静态的（即不需要在每一帧上重新读取像素），`animate`则应设置为`false`以提高性能。

## CanvasSource
**扩展图像源**


包含 HTML 画布内容的数据源。有关`选项`的详细文档，请参阅[CanvasSourceOptions][269]。

### Parameters
- `id` **`string`**
- `options` **画布来源规范**
- `dispatcher` **调度员**
- `eventedParent` **`事件发生`**

### Examples
```
// add to map
map.addSource('some id', {
   type: 'canvas',
   canvas: 'idOfMyHTMLCanvas',
   animate: true,
   coordinates: [
       [-76.54, 39.18],
       [-76.52, 39.18],
       [-76.52, 39.17],
       [-76.54, 39.17]
   ]
});

// update
var mySource = map.getSource('some id');
mySource.setCoordinates([
    [-76.54335737228394, 39.18579907229748],
    [-76.52803659439087, 39.1838364847587],
    [-76.5295386314392, 39.17683392507606],
    [-76.54520273208618, 39.17876344106642]
]);

map.removeSource('some id');  // remove
```

### play
启用动画。图像将从画布复制到每一帧的地图。

### pause
禁用动画。地图将显示画布图像的静态副本。

### getCanvas
返回 HTML`canvas`元素。

返回**`HTMLCanvasElement `**HTML`canvas`元素。

### setCoordinates
设置画布的坐标并重新渲染地图。

#### Parameters
- `coordinates` **`Array`&lt; `Array`&lt; `number`\>>**四地理坐标，表示为经度和纬度的数字阵列，它定义了画布的角上。坐标从画布的左上角开始并按顺时针顺序进行。它们不必表示一个矩形。

返回**[CanvasSource][270]**这个

## GeoJSONSource
**扩展事件**


包含 GeoJSON 的源。（见`样式规范`有关选项的详细文档。）

### Parameters
- `id` **`string`**
- `options` **任何**
- `dispatcher` **调度员**
- `eventedParent` **`事件发生`**

### Examples
```
map.addSource('some id', {
    type: 'geojson',
    data: 'https://xxx.geojson'
});
```

```
map.addSource('some id', {
   type: 'geojson',
   data: {
       "type": "FeatureCollection",
       "features": [{
           "type": "Feature",
           "properties": {},
           "geometry": {
               "type": "Point",
               "coordinates": [
                   -76.53063297271729,
                   39.18174077994108
               ]
           }
       }]
   }
});
```

```
map.getSource('some id').setData({
  "type": "FeatureCollection",
  "features": [{
      "type": "Feature",
      "properties": { "name": "Null Island" },
      "geometry": {
          "type": "Point",
          "coordinates": [ 0, 0 ]
      }
  }]
});
```

### setData
设置 GeoJSON 数据并重新渲染地图。

#### Parameters
- `data` **( `Object`| `string`)** GeoJSON 数据对象或指向一个的 URL。在大 GeoJSON 文件的情况下，后者更可取。

返回**[GeoJSONSource][271]**这个

### getClusterExpansionZoom
对于集群源，获取给定集群扩展的缩放比例。

#### Parameters
- `clusterId` **`number`**集群的`cluster_id`属性值。
- `callback` **回调&lt; `number`\>**检索缩放值时要调用的回调 ( `(error, zoom) => { ... }`)。

返回**[GeoJSONSource][271]**这个

### getClusterChildren
对于集群源，在下一个缩放级别（作为 GeoJSON 功能数组）获取给定集群的子项。

#### Parameters
- `clusterId` **`number`**集群的`cluster_id`属性值。
- `callback` **Callback&lt; `Array`&lt;GeoJSONFeature>>**检索要素时要调用的回调 ( `(error, features) => { ... }`)。

返回**[GeoJSONSource][271]**这个

### getClusterLeaves
对于集群源，获取属于集群的原始点（作为 GeoJSON 特征数组）。

#### Parameters
- `clusterId` **`number`**集群的`cluster_id`属性值。
- `limit` **`number`**要返回的最大特征数。（`10`如果给出了假值，则默认为。）
- `offset` **`number`**要跳过的功能数量（例如分页）。（`0`如果给出了假值，则默认为。）
- `callback` **Callback&lt; `Array`&lt;GeoJSONFeature>>**检索要素时要调用的回调 ( `(error, features) => { ... }`)。

#### Examples
```
// Retrieve cluster leaves on click
map.on('click', 'clusters', function(e) {
  var features = map.queryRenderedFeatures(e.point, {
    layers: ['clusters']
  });

  var clusterId = features[0].properties.cluster_id;
  var pointCount = features[0].properties.point_count;
  var clusterSource = map.getSource('clusters');

  clusterSource.getClusterLeaves(clusterId, pointCount, 0, function(error, features) {
    // Print cluster leaves in the console
    console.log('Cluster leaves:', error, features);
  })
});
```

返回**[GeoJSONSource][271]**这个

## CustomLayerInterface

自定义样式层的界面。这是实现者建模的规范：它不是导出的方法或类。

自定义图层允许用户使用地图的相机直接渲染到地图的上下文中。可以使用`Map#addLayer`在任何常规图层之间添加这些图层。

自定义层必须具有唯一`id`和必须具备的`type`的`"custom"`。他们必须实施`render`并且可以实施`prerender`,`onAdd`和`onRemove`。他们可以使用`Map#triggerRepaint`触发渲染， 并且他们应该适当地处理`Map.event:webglcontextlost`和 `Map.event:webglcontextrestored`。

该`renderingMode`属性控制是将图层视为地图图层`"2d"`还是`"3d"`地图图层。用：

- `"renderingMode": "3d"` 使用深度缓冲区并与其他层共享
- `"renderingMode": "2d"`添加一个没有深度的图层。如果您需要为`"2d"`图层使用深度缓冲区，则必须使用屏幕外帧缓冲区和`CustomLayerInterface#prerender`

### Properties
- `id` **`string`** 唯一的图层 ID。
- `type` **`string`**图层的类型。必须是`"custom"`。
- `renderingMode` **`string`**无论是`"2d"`或`"3d"`。默认为`"2d"`.

### Examples
```
// Custom layer implemented as ES6 class
class NullIslandLayer {
    constructor() {
        this.id = 'null-island';
        this.type = 'custom';
        this.renderingMode = '2d';
    }

    onAdd(map, gl) {
        const vertexSource = `
        uniform mat4 u_matrix;
        void main() {
            gl_Position = u_matrix * vec4(0.5, 0.5, 0.0, 1.0);
            gl_PointSize = 20.0;
        }`;

        const fragmentSource = `
        void main() {
            gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
        }`;

        const vertexShader = gl.createShader(gl.VERTEX_SHADER);
        gl.shaderSource(vertexShader, vertexSource);
        gl.compileShader(vertexShader);
        const fragmentShader = gl.createShader(gl.FRAGMENT_SHADER);
        gl.shaderSource(fragmentShader, fragmentSource);
        gl.compileShader(fragmentShader);

        this.program = gl.createProgram();
        gl.attachShader(this.program, vertexShader);
        gl.attachShader(this.program, fragmentShader);
        gl.linkProgram(this.program);
    }

    render(gl, matrix) {
        gl.useProgram(this.program);
        gl.uniformMatrix4fv(gl.getUniformLocation(this.program, "u_matrix"), false, matrix);
        gl.drawArrays(gl.POINTS, 0, 1);
    }
}

map.on('load', function() {
    map.addLayer(new NullIslandLayer());
});
```

### onAdd
使用`Map#addLayer`将图层添加到地图时调用的可选方法。这使该层有机会初始化 gl 资源并注册事件侦听器。

#### Parameters
- `map` **`地图`**此自定义图层刚刚添加到的地图。
- `gl` **`WebGL 渲染上下文 `** 地图的 gl 上下文。

### onRemove
使用`Map#removeLayer`从地图中删除图层时调用的可选方法。这使该层有机会清理 gl 资源和事件侦听器。

#### Parameters
- `map` **`地图`**此自定义图层刚刚添加到的地图。
- `gl` **`WebGL 渲染上下文 `** 地图的 gl 上下文。

### prerender
在渲染帧期间调用的可选方法，以允许图层准备资源或渲染到纹理中。

该层不能对当前状态做出任何假设，并且必须在渲染之前绑定一个帧缓冲区。

#### Parameters
- `gl` **`WebGL 渲染上下文 `** 地图的 gl 上下文。
- `matrix` **`Array`&lt; `number`\>**地图的相机矩阵。它将球形墨卡托坐标投影到 gl 坐标。墨卡托坐标``0, 0]`代表墨卡托世界的左上角，`[1, 1]`代表右下角。当`renderingMode`是 时`"3d"`，z 坐标是共形的。具有相同 x、y 和 z 长度（以墨卡托为单位）的盒子将被渲染为立方体。[MercatorCoordinate` .fromLngLat 可用于将 a 投影`LngLat`到墨卡托坐标。

### render
在渲染帧期间调用，允许图层绘制到 GL 上下文中。

图层可以假设混合和深度状态设置为允许图层正确混合和剪辑其他图层。该层不能对当前 GL 状态做出任何其他假设。

如果图层需要渲染到纹理，它应该实现`prerender`这样做的方法，并且只使用`render`直接绘制到主帧缓冲区的方法。

混合函数设置为`gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)`。这期望以预乘 alpha 形式提供颜色，其中`r`,`g`和`b`值已经乘以该`a`值。如果您无法以预乘形式提供颜色，您可能需要将混合函数更改为 `gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA)`.

#### Parameters
- `gl` **`WebGL 渲染上下文 `** 地图的 gl 上下文。
- `matrix` **`Array`&lt; `number`\>**地图的相机矩阵。它将球形墨卡托坐标投影到 gl 坐标。球面墨卡托坐标``0, 0]`代表墨卡托世界的左上角，`[1, 1]`代表右下角。当`renderingMode`是 时`"3d"`，z 坐标是共形的。具有相同 x、y 和 z 长度（以墨卡托为单位）的盒子将被渲染为立方体。[MercatorCoordinate` .fromLngLat 可用于将 a 投影`LngLat`到墨卡托坐标。

## LngLat

甲`LngLat`对象表示一个给定的经度和纬度坐标，以度为单位。这些坐标基于`WGS84 (EPSG:4326) 标准 `.

使用经度、纬度坐标顺序（相对于纬度、经度）来匹配 `GeoJSON 规范 `.

请注意，任何接受`LngLat`对象作为参数或选项的方法也可以接受`Array`两个数字中的一个，并将执行隐式转换。这种灵活的类型记录为[LngLatLike][284]。

### Parameters
- `lng` **`number`** 经度，以度为单位。
- `lat` **`number`** 纬度，以度为单位。

### Examples
```
var ll = new vjmap.LngLat(-123.9749, 40.7736);
ll.lng; // = -123.9749
```

### wrap
返回一个新`LngLat`对象，其经度被包裹到范围 (-180, 180)。

#### Examples
```
var ll = new vjmap.LngLat(286.0251, 40.7736);
var wrapped = ll.wrap();
wrapped.lng; // = -73.9749
```

返回**[LngLat][230]**包装的`LngLat`对象。

### toArray
返回表示为两个数字数组的坐标。

#### Examples
```
var ll = new vjmap.LngLat(-73.9749, 40.7736);
ll.toArray(); // = [-73.9749, 40.7736]
```

返回**`Array`&lt; `number`\>**坐标表示为经度和纬度数组。

### toString
返回表示为字符串的坐标。

#### Examples
```
var ll = new vjmap.LngLat(-73.9749, 40.7736);
ll.toString(); // = "LngLat(-73.9749, 40.7736)"
```

返回**`string`**值表示为格式字符串的坐标`'LngLat(lng, lat)'`。

### distanceTo
返回一对坐标之间的近似距离（以米为单位） 使用Haversine 公式（来自 RW Sinnott，“Haversine 的优点”，Sky and Telescope，第 68 卷，第 2 期，1984 年，第 159 页）

#### Parameters
- `lngLat` 计算距离的**[LngLat][230]**坐标

#### Examples
```
var new_york = new vjmap.LngLat(-74.0060, 40.7128);
var los_angeles = new vjmap.LngLat(-118.2437, 34.0522);
new_york.distanceTo(los_angeles); // = 3935751.690893987, "true distance" using a non-spherical approximation is ~3966km
```

返回**`number`**两个坐标之间的距离（以米为单位）。

### toBounds
`LngLatBounds`从给定 扩展的坐标返回 a `radius`。返回的`LngLatBounds`完全包含`radius`.

#### Parameters
- `radius` **`number`**从坐标到扩展边界的距离（以米为单位）。（可选，默认`0`）

#### Examples
```
var ll = new vjmap.LngLat(-73.9749, 40.7736);
ll.toBounds(100).toArray(); // = [[-73.97501862141328, 40.77351016847229], [-73.97478137858673, 40.77368983152771]]
```

返回**[LngLatBounds][285]**一个新`LngLatBounds`对象，表示由 扩展的坐标`radius`。

### convert
将包含两个数字的数组或具有`lng`and`lat`或`lon`and`lat`属性的`LngLat`对象转换为对象。

如果`LngLat`传入一个对象，该函数将原样返回它。

#### Parameters
- `input` **[LngLatLike][284]**要转换的两个数字或对象的数组，或`LngLat`要返回的对象。

#### Examples
```
var arr = [-73.9749, 40.7736];
var ll = vjmap.LngLat.convert(arr);
ll;   // = LngLat {lng: -73.9749, lat: 40.7736}
```

返回**[LngLat][230]**一个新`LngLat`对象（如果发生转换）或原始`LngLat`对象。

## LngLatLike
一个[LngLat][230]对象，一个表示经度和纬度的两个数字的数组，或者一个具有`lng`and`lat`或`lon`and`lat`属性的对象。

类型: ( [LngLat][230] | {lng: `number`, lat: `number`} | {lon: `number`, lat: `number`} | \[ `number`, `number`\])

### Examples
```
var v1 = new vjmap.LngLat(-122.420679, 37.772537);
var v2 = [-122.420679, 37.772537];
var v3 = {lon: -122.420679, lat: 37.772537};
```

## LngLatBounds
一个`LngLatBounds`对象代表一个地理边界框，由其西南和东北经纬度点定义。

如果没有为构造函数提供参数，`null`则会创建一个边界框。

请注意，任何接受`LngLatBounds`对象作为参数或选项的方法也可以接受`Array`两个[LngLatLike][284]构造中的一个，并将执行隐式转换。这种灵活的类型记录为[LngLatBoundsLike][299]。

### Parameters
- `sw` **[LngLatLike][284] ?** 边界框的西南角。
- `ne` **[LngLatLike][284] ?** 边界框的东北角。

### Examples
```
var sw = new vjmap.LngLat(-73.9876, 40.7661);
var ne = new vjmap.LngLat(-73.9397, 40.8002);
var llb = new vjmap.LngLatBounds(sw, ne);
```

### setNorthEast
设置边界框的东北角

#### Parameters
- `ne` **[LngLatLike][284]**一个[LngLatLike][284]描述边界框的东北角对象。

返回**[LngLatBounds][285]** `this`

### setSouthWest
设置边界框的西南角

#### Parameters
- `sw` **[LngLatLike][284]**一个[LngLatLike][284]描述边框的西南角对象。

返回**[LngLatBounds][285]** `this`

### extend
扩展边界以包括给定的 LngLatLike 或 LngLatBoundsLike。

#### Parameters
- `obj` **( [LngLatLike][284] | [LngLatBoundsLike][299] )**要扩展到的对象

返回**[LngLatBounds][285]** `this`

### getCenter
返回与边界框角等距的地理坐标。

#### Examples
```
var llb = new vjmap.LngLatBounds([-73.9876, 40.7661], [-73.9397, 40.8002]);
llb.getCenter(); // = LngLat {lng: -73.96365, lat: 40.78315}
```

返回**[LngLat][230]**边界框的中心。

### getSouthWest
返回边界框的西南角。

返回**[LngLat][230]**边界框的西南角。

### getNorthEast
返回边界框的东北角。

返回**[LngLat][230]**边界框的东北角。

### getNorthWest
返回边界框的西北角。

返回**[LngLat][230]**边界框的西北角。

### getSouthEast
返回边界框的东南角。

返回**[LngLat][230]**边界框的东南角。

### getWest
返回边界框的西边。

返回**`number`**边界框的西边。

### getSouth
返回边界框的南边。

返回**`number`**边界框的南边缘。

### getEast
返回边界框的东边。

返回**`number`**边界框的东边。

### getNorth
返回边界框的北边缘。

返回**`number`**边界框的北边缘。

### toArray
返回表示为数组的边界框。

#### Examples
```
var llb = new vjmap.LngLatBounds([-73.9876, 40.7661], [-73.9397, 40.8002]);
llb.toArray(); // = [[-73.9876, 40.7661], [-73.9397, 40.8002]]
```

返回**`Array`&lt; `Array`&lt; `number`\>>**表示为数组的边界框，由表示为数字数组的边界的西南和东北坐标组成。

### toString
返回表示为字符串的边界框。

#### Examples
```
var llb = new vjmap.LngLatBounds([-73.9876, 40.7661], [-73.9397, 40.8002]);
llb.toString(); // = "LngLatBounds(LngLat(-73.9876, 40.7661), LngLat(-73.9397, 40.8002))"
```

返回**`string`**边界框表示为格式字符串 `'LngLatBounds(LngLat(lng, lat), LngLat(lng, lat))'`。

### isEmpty
检查边界框是否为空/ `null`\- 类型框。

**`boolean`**如果边界已定义，则返回True，否则返回false。

### contains
检查点是否在边界框内。

#### Parameters
- `lnglat` 要检查的**[LngLatLike][284]**地理点。

#### Examples
```
var llb = new vjmap.LngLatBounds(
  new vjmap.LngLat(-73.9876, 40.7661),
  new vjmap.LngLat(-73.9397, 40.8002)
);

var ll = new vjmap.LngLat(-73.9567, 40.7789);

console.log(llb.contains(ll)); // = true
```

**`boolean`**如果点在边界框内，则返回True。

### convert
将数组转换为`LngLatBounds`对象。

如果`LngLatBounds`传入一个对象，该函数将原样返回它。

在内部，该函数调用`LngLat#convert`将数组转换为`LngLat`值。

#### Parameters
- `input` **[LngLatBoundsLike][299]**要转换的两个坐标数组，或`LngLatBounds`要返回的对象。

#### Examples
```
var arr = [[-73.9876, 40.7661], [-73.9397, 40.8002]];
var llb = vjmap.LngLatBounds.convert(arr);
llb;   // = LngLatBounds {_sw: LngLat {lng: -73.9876, lat: 40.7661}, _ne: LngLat {lng: -73.9397, lat: 40.8002}}
```

返回**[LngLatBounds][285]**一个新`LngLatBounds`对象（如果发生转换）或原始`LngLatBounds`对象。

## LngLatBoundsLike
甲[LngLatBounds][285]对象，的阵列[LngLatLike][284]在\[SW，NE\]顺序，或数字的在\[西，南，东，北\]为了对象的数组。

类型：( [LngLatBounds][285] | \` [LngLatLike` , [LngLatLike][284] \] | \[ `number`, `number`, `number`, `number`\])

### Examples
```
var v1 = new vjmap.LngLatBounds(
  new vjmap.LngLat(-73.9876, 40.7661),
  new vjmap.LngLat(-73.9397, 40.8002)
);
var v2 = new vjmap.LngLatBounds([-73.9876, 40.7661], [-73.9397, 40.8002])
var v3 = [[-73.9876, 40.7661], [-73.9397, 40.8002]];
```

## MercatorCoordinate

甲`MercatorCoordinate`对象表示投影三维位置。

`MercatorCoordinate`使用 web 墨卡托投影 ( `EPSG:3857 `) 单位略有不同：

- 1个单位的大小是投影世界的宽度而不是“墨卡托米”
- 坐标空间的原点在西北角而不是中间

例如，`MercatorCoordinate(0, 0, 0)`是墨卡托世界的西北角， `MercatorCoordinate(1, 1, 0)`是东南角。如果您熟悉 `矢量切片 `将坐标空间视为`0/0/0`范围为 的瓦片可能会有所帮助`1`。

的`z`尺寸`MercatorCoordinate`是共形的。墨卡托坐标空间中的立方体将被渲染为立方体。

### Parameters
- `x` **`number`** 位置的 x 分量。
- `y` **`number`** 位置的 y 分量。
- `z` **`number`**位置的 z 分量。（可选，默认`0`）

### Examples
```
var nullIsland = new vjmap.MercatorCoordinate(0.5, 0.5, 0);
```

### toLngLat
返回`LngLat`坐标的 。

#### Examples
```
var coord = new vjmap.MercatorCoordinate(0.5, 0.5, 0);
var lngLat = coord.toLngLat(); // LngLat(0, 0)
```

返回**[LngLat][230]**的`LngLat`对象。

### toAltitude
返回以米为单位的坐标高度。

#### Examples
```
var coord = new vjmap.MercatorCoordinate(0, 0, 0.02);
coord.toAltitude(); // 6914.281956295339
```

返回**`number`**以米为单位的海拔高度。

### meterInMercatorCoordinateUnits
返回`MercatorCoordinate`以该纬度为单位的 1 米的距离。

对于使用米的真实世界单位坐标，这自然提供了转换为`MercatorCoordinate`s的比例。

**`number`**以`MercatorCoordinate`单位返回1 米的距离。

### fromLngLat
`LngLat`将 a投影到 a `MercatorCoordinate`。

#### Parameters
- `lngLatLike` **[LngLatLike][284]**要投影的位置。
- `altitude` **`number`**位置的高度（以米为单位）。（可选，默认`0`）

#### Examples
```
var coord = vjmap.MercatorCoordinate.fromLngLat({ lng: 0, lat: 0}, 0);
coord; // MercatorCoordinate(0.5, 0.5, 0)
```

返回**[MercatorCoordinate][300]**投影的墨卡托坐标。

## Evented
`Evented` 将方法混合到其他类中以获得事件功能。

除非您正在开发插件，否则您很可能会通过`Map`或 之类的类使用这些方法`Popup`。

有关您可以侦听的事件列表，请参阅特定类的 API 文档： ``Map` `, ``Marker` `, ``Popup` `， 和 ``GeolocationControl` `.

### on
将侦听器添加到指定的事件类型。

#### Parameters
- `type` **`string`** 要添加侦听的事件类型。
- `listener` **Function**触发事件时要调用的函数。使用传递给 的数据对象调用侦听器函数`fire`，`target`并使用和`type`属性进行扩展。

返回 **`Object`** `this`

### off
删除以前注册的事件侦听器。

#### Parameters
- `type` **`string`** 要为其删除侦听器的事件类型。
- `listener` **功能**监听器函数删除。

返回 **`Object`** `this`

### once
将仅被调用一次的侦听器添加到指定的事件类型。

注册监听器后，第一次触发事件时将调用监听器。

#### Parameters
- `type` **`string`** 要侦听的事件类型。
- `listener` **函数**（可选）当事件被触发一次时要调用的函数。如果未提供，则返回将在事件触发一次时解决的 Promise。

返回| 承诺**`Object`** `this`

## getAABBPointSquareDist
返回由 min 和 max 定义的 AABB 与一个点之间的 2D 距离的平方。如果 point 为空或未定义，则返回距原点 (0,0) 的 AABB 距离。

### Parameters
- `min` **`点`**AABB 的最小范围。
- `max` **`点`**AABB 的最大范围。
- `point` **`点`？**计算距离的点可能未定义。

返回**`number`**距 AABB 的平方距离，如果 AABB 包含该点，则为 0.0。

## polygonizeBounds
将 AABB 转换为具有顺时针缠绕顺序的多边形。

### Parameters
- `min` **`点`**左上点。
- `max` **`点`**右下点。
- `buffer` **`number`**缓冲区宽度。（可选，默认`0`）
- `close` **`boolean`**是否关闭多边形。（可选，默认`true`）

返回**`Array`&lt;`点`\>**多边形。

## bufferConvexPolygon
取一个凸环并通过在其周围应用缓冲区将其向外扩展。此函数假定环按顺时针缠绕顺序。

### Parameters
- `ring` **`Array`&lt;`点`\>**输入环。
- `buffer` **`number`** 缓冲区宽度。

返回**`Array`&lt; [Point][165] >**扩展环。

## FreeCameraOptions

用于访问底层相机实体的物理属性的选项。直接访问这些属性可以更灵活和精确地控制相机，同时还与 CameraOptions 完全兼容和可互换。所有字段都是可选的。参见`Map#setFreeCameraOptions`和`Map#getFreeCameraOptions`

### Parameters
- `position` **[MercatorCoordinate][300]**稍微修改过的 web 墨卡托坐标中的相机位置 - 1 个单位的大小是投影世界的宽度，而不是“墨卡托米”。坐标 \[0, 0, 0\] 是西北角，\[1, 1, 0\] 是东南角。
    - Z 坐标是共形的，必须遵守最小和最大缩放值。
    - 缩放是根据高度 (z) 自动计算的
- `orientation` **quat**相机的方向表示为左手坐标空间中的单位四元数 \[x, y, z, w\]。旋转方向是绕各自的轴顺时针旋转。相机的默认姿势是这样的，即前向矢量在 -Z 轴上查找，向上矢量与地图的北方向对齐： forward: \[0, 0, -1\] up: \[0, -1, 0\] right \[1, 0, 0\] 方向可以自由设置，但某些限制仍然适用 - 方向必须只能用俯仰和轴承表示。
    - 间距有上限

### lookAtPoint
通过在地图上定义焦点来设置相机方向的辅助功能。

#### Parameters
- `location` **[LngLatLike][284]**焦点在地图上的位置
- `up` **vec3？**在某些无法从观察方向推导出方位的情况下，相机的向上矢量是必要的。

### setPitchBearing
用于将相机的方向设置为俯仰和方位角的辅助函数。

#### Parameters
- `pitch` **`number`** 俯仰角（度）
- `bearing` **`number`** 以度为单位的轴承角

## FreeCamera
在使用免费相机 API 时，isZooming、isMoving 和 isRotating 的结果值不是免费相机 API 的结果。如果用户将 map.interactive 设置为 true，则在使用鼠标或/和键盘通过缩放或移动与地图交互时会出现冲突行为，这将导致 isZooming、isMoving 和 isRotating 在使用免费相机 API 时返回 true。为了防止冲突行为，请将 map.interactive 设置为 false，这将导致以下事件静音：zoom、zoomend、zoomstart、rotate、rotateend、rotatestart、move、moveend、movestart、pitch、pitchend、pitchstart。

### Parameters
- `position` **vec3？**
- `orientation` **quat**

## prewarm
在某些情况下初始化可以跨地图共享的资源，例如 WebWorkers，以减少加载时间。`vjmap.workerUrl`并且`vjmap.workerCount`，如果使用，必须在`prewarm()`调用前才能生效。

默认情况下，这些资源的生命周期是自动管理的，并且在首次创建地图时延迟初始化。通过调用`prewarm()`，这些资源会提前创建，当最后一个地图从页面中移除时不会被清除。这允许它们被稍后创建的新地图实例重重使用。可以通过调用手动清除它们`vjmap.clearPrewarmedResources()`。仅当您的网页保持活动状态但完全停止使用地图时才需要破坏。

### Examples
```
vjmap.prewarm()
```

## clearPrewarmedResources
清除之前创建的资源`vjmap.prewarm()`。请注意，这通常不是必需的。如果您希望您的应用程序的用户在您的应用程序中的任何时候都不会返回到地图视图，您应该只调用此函数。

### Examples
```
vjmap.clearPrewarmedResources()
```

## workerCount
获取和设置在具有地图的页面上实例化的 Web Worker 的数量。默认情况下，它为 2。确保在创建任何地图实例之前设置此属性以使其生效。

类型： `string`

### Examples
```
vjmap.workerCount = 4;
```

返回**`number`**当前配置的`workerCount`。

## maxParallelImageRequests
获取和设置要并行加载的图像（光栅图块、像素、图标）的最大数量，这会影响地图重地图的性能。默认为16。

类型： `string`

### Examples
```
vjmap.maxParallelImageRequests = 10;
```

返回**`number`**当前配置的并行请求数。

## clearStorage
清除此库的浏览器。

此 API 在`API 的 `浏览器上受支持``Cache`（新窗口显示） `支持并启用。这包括通过提供页面时的所有主要浏览器`https://`，但 Internet Explorer 和 Edge Mobile 除外。

在不受支持的浏览器或环境（智能或隐身模式）中，将使用错误参数调用中时。

### Parameters
- `callback` **功能**如果出现错误，则使用错误参数调用。

### Examples
```
vjmap.clearStorage();
```

## workerClass
为Webpack或Rollup等外部模块打包器提供接口，将WebWorker打包成一个单独的类，并与库集成。

优先于`vjmap.workerUrl`。

类型： `Object`


返回**( `Object`| null)**一个类对象，它的一个实例公开了`Worker`接口。

## time
设置在内部为所有动画使用的时间。用于生成视频。

类型： `number`

## version
当前版本。

类型： `string`

## supported

测试浏览器是否支持`webgl`.

### Parameters
- `options` **`Object`?**
    - `options.failIfMajorPerformanceCaveat` **`boolean`**如果`true`，如果`true`，`false`如果性能比预期的差很多（例如，将使用软件 WebGL 渲染器），该函数将返回。（任选，默认`false`）

### Examples
```
// Show an alert if the browser does not support webgl
if (!vjmap.supported()) {
  alert('Your browser does not support `webgl`');
}
```

返回 **`boolean`**

[1]: #map

[2]: #parameters

[3]: #examples

[4]: #scrollzoom

[5]: #boxzoom

[6]: #dragrotate

[7]: #dragpan

[8]: #keyboard

[9]: #doubleclickzoom

[10]: #touchzoomrotate

[11]: #touchpitch

[12]: #addcontrol

[13]: #removecontrol

[14]: #hascontrol

[15]: #resize

[16]: #getbounds

[17]: #getmaxbounds

[18]: #setmaxbounds

[19]: #setminzoom

[20]: #getminzoom

[21]: #setmaxzoom

[22]: #getmaxzoom

[23]: #setminpitch

[24]: #getminpitch

[25]: #setmaxpitch

[26]: #getmaxpitch

[27]: #getrenderworldcopies

[28]: #setrenderworldcopies

[29]: #project

[30]: #unproject

[31]: #ismoving

[32]: #iszooming

[33]: #isrotating

[34]: #on

[35]: #once

[36]: #off

[37]: #queryrenderedfeatures

[38]: #querysourcefeatures

[39]: #setstyle

[40]: #getstyle

[41]: #isstyleloaded

[42]: #addsource

[43]: #issourceloaded

[44]: #aretilesloaded

[45]: #removesource

[46]: #getsource

[47]: #addimage

[48]: #updateimage

[49]: #hasimage

[50]: #removeimage

[51]: #loadimage

[52]: #listimages

[53]: #addlayer

[54]: #movelayer

[55]: #removelayer

[56]: #getlayer

[57]: #setlayerzoomrange

[58]: #setfilter

[59]: #getfilter

[60]: #setpaintproperty

[61]: #getpaintproperty

[62]: #setlayoutproperty

[63]: #getlayoutproperty

[64]: #setlight

[65]: #getlight

[66]: #setterrain

[67]: #getterrain

[68]: #setfog

[69]: #getfog

[70]: #queryterrainelevation

[71]: #setfeaturestate

[72]: #removefeaturestate

[73]: #getfeaturestate

[74]: #getcontainer

[75]: #getcanvascontainer

[76]: #getcanvas

[77]: #loaded

[78]: #remove

[79]: #triggerrepaint

[80]: #showtileboundaries

[81]: #showterrainwireframe

[82]: #showpadding

[83]: #showcollisionboxes

[84]: #repaint

[85]: #version

[86]: #getcenter

[87]: #setcenter

[88]: #panby

[89]: #panto

[90]: #getzoom

[91]: #setzoom

[92]: #zoomto

[93]: #zoomin

[94]: #zoomout

[95]: #getbearing

[96]: #setbearing

[97]: #getpadding

[98]: #setpadding

[99]: #rotateto

[100]: #resetnorth

[101]: #resetnorthpitch

[102]: #snaptonorth

[103]: #getpitch

[104]: #setpitch

[105]: #cameraforbounds

[106]: #fitbounds

[107]: #fitscreencoordinates

[108]: #jumpto

[109]: #getfreecameraoptions

[110]: #setfreecameraoptions

[111]: #easeto

[112]: #flyto

[113]: #stop

[114]: #mousedown

[115]: #properties

[116]: #mouseup

[117]: #mouseover

[118]: #mousemove

[119]: #click

[120]: #dblclick

[121]: #mouseenter

[122]: #mouseleave

[123]: #mouseout

[124]: #contextmenu

[125]: #wheel

[126]: #touchstart

[127]: #touchend

[128]: #touchmove

[129]: #touchcancel

[130]: #movestart

[131]: #move

[132]: #moveend

[133]: #dragstart

[134]: #drag

[135]: #dragend

[136]: #zoomstart

[137]: #zoom

[138]: #zoomend

[139]: #rotatestart

[140]: #rotate

[141]: #rotateend

[142]: #pitchstart

[143]: #pitch

[144]: #pitchend

[145]: #boxzoomstart

[146]: #boxzoomend

[147]: #boxzoomcancel

[148]: #webglcontextlost

[149]: #webglcontextrestored

[150]: #load

[151]: #render

[152]: #idle

[153]: #error

[154]: #data

[155]: #styledata

[156]: #sourcedata

[157]: #dataloading

[158]: #styledataloading

[159]: #sourcedataloading

[160]: #styleimagemissing

[161]: #icontrol

[162]: #onadd

[163]: #onremove

[164]: #getdefaultposition

[165]: #point

[166]: #pointlike

[167]: #proxysourcecache

[168]: #proxiedtileid

[169]: #elevationqueryoptions

[170]: #elevation

[171]: #getatpointorzero

[172]: #getatpoint

[173]: #getminmaxfortile

[174]: #getminelevationbelowmsl

[175]: #raycast

[176]: #pointcoordinate

[177]: #demsampler

[178]: #boxzoomhandler

[179]: #isenabled

[180]: #isactive

[181]: #enable

[182]: #disable

[183]: #touchpitchhandler

[184]: #keyboardhandler

[185]: #disablerotation

[186]: #enablerotation

[187]: #scrollzoomhandler

[188]: #setzoomrate

[189]: #setwheelzoomrate

[190]: #doubleclickzoomhandler

[191]: #dragpanhandler

[192]: #dragrotatehandler

[193]: #touchzoomrotatehandler

[194]: #cameraoptions

[195]: #animationoptions

[196]: #paddingoptions

[197]: #navigationcontrol

[198]: #geolocatecontrol

[199]: #trigger

[200]: #geolocate

[201]: #outofmaxbounds

[202]: #trackuserlocationstart

[203]: #trackuserlocationend

[204]: #attributioncontrol

[205]: #scalecontrol

[206]: #setunit

[207]: #fullscreencontrol

[208]: #popup

[209]: #addto

[210]: #isopen

[211]: #getlnglat

[212]: #setlnglat

[213]: #trackpointer

[214]: #getelement

[215]: #settext

[216]: #sethtml

[217]: #getmaxwidth

[218]: #setmaxwidth

[219]: #setdomcontent

[220]: #addclassname

[221]: #removeclassname

[222]: #setoffset

[223]: #toggleclassname

[224]: #open

[225]: #close

[226]: #mapmouseevent

[227]: #type

[228]: #target

[229]: #originalevent

[230]: #lnglat

[231]: #preventdefault

[232]: #maptouchevent

[233]: #points

[234]: #lnglats

[235]: #mapwheelevent

[236]: #zoomevent

[237]: #mapdataevent

[238]: #marker

[239]: #setpopup

[240]: #getpopup

[241]: #togglepopup

[242]: #getoffset

[243]: #setdraggable

[244]: #isdraggable

[245]: #setrotation

[246]: #getrotation

[247]: #setrotationalignment

[248]: #getrotationalignment

[249]: #setpitchalignment

[250]: #getpitchalignment

[251]: #styleimageinterface

[252]: #requestparameters

[253]: #querygeometry

[254]: #ispointquery

[255]: #bufferedscreengeometry

[256]: #bufferedcamerageometry

[257]: #containstile

[258]: #bufferedscreenmercator

[259]: #createfromscreenpoints

[260]: #vectortilesource

[261]: #settiles

[262]: #seturl

[263]: #videosource

[264]: #pause

[265]: #play

[266]: #getvideo

[267]: #setcoordinates

[268]: #imagesource

[269]: #canvassourceoptions

[270]: #canvassource

[271]: #geojsonsource

[272]: #setdata

[273]: #getclusterexpansionzoom

[274]: #getclusterchildren

[275]: #getclusterleaves

[276]: #customlayerinterface

[277]: #prerender

[278]: #wrap

[279]: #toarray

[280]: #tostring

[281]: #distanceto

[282]: #tobounds

[283]: #convert

[284]: #lnglatlike

[285]: #lnglatbounds

[286]: #setnortheast

[287]: #setsouthwest

[288]: #extend

[289]: #getsouthwest

[290]: #getnortheast

[291]: #getnorthwest

[292]: #getsoutheast

[293]: #getwest

[294]: #getsouth

[295]: #geteast

[296]: #getnorth

[297]: #isempty

[298]: #contains

[299]: #lnglatboundslike

[300]: #mercatorcoordinate

[301]: #tolnglat

[302]: #toaltitude

[303]: #meterinmercatorcoordinateunits

[304]: #fromlnglat

[305]: #evented

[306]: #getaabbpointsquaredist

[307]: #polygonizebounds

[308]: #bufferconvexpolygon

[309]: #freecameraoptions

[310]: #lookatpoint

[311]: #setpitchbearing

[312]: #freecamera

[313]: #prewarm

[314]: #%e4%be%8b%e5%ad%90

[315]: #clearprewarmedresources

[316]: #workercount

[317]: #maxparallelimagerequests

[318]: #clearstorage

[319]: #workerclass

[320]: #time

[321]: #supported



<a name="readmemd"></a>

vjmap / [Exports](#modulesmd)

# vjmap

如需更改mapboxgl的内容，需去
D:\w\vclient\deps\mapbox-gl-js-2.5.1\
yarn build-prod-min
把编译后的 mapbox-gl.js 拷贝至 D:\w\vclient\node_modules\mapbox-gl\dist下面

更新记录
2023-10-13 增加对webgl2的支持

# Classes


<a name="classesanimatemarkerlayermd"></a>

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

## Class: AnimateMarkerLayer

动画标记图层.

### Hierarchy

- *Evented*

  ↳ **AnimateMarkerLayer**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [\_getMarkerElement](#_getmarkerelement)
- [addTo](#addto)
- [clearMarkerLayer](#clearmarkerlayer)
- [getMarkers](#getmarkers)
- [remove](#remove)
- [render](#render)
- [setType](#settype)

### Constructors

#### constructor

\+ **new AnimateMarkerLayer**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*AnimateMarkerLayer*](#classesdefaultanimatemarkerlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*AnimateMarkerLayer*](#classesdefaultanimatemarkerlayermd)

Overrides: Evented.constructor

### Methods

#### \_getMarkerElement

▸ **_getMarkerElement**(): *void*

**Returns:** *void*

___

#### addTo

▸ **addTo**(`map`: *Map*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** *void*

___

#### clearMarkerLayer

▸ **clearMarkerLayer**(): *void*

**Returns:** *void*

___

#### getMarkers

▸ **getMarkers**(): *Marker*[]

**Returns:** *Marker*[]

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### render

▸ **render**(): *void*

**Returns:** *void*

___

#### setType

▸ **setType**(`type`: [*AnimateMarkerType*](#animatemarkertype), `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | [*AnimateMarkerType*](#animatemarkertype) |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** *void*


<a name="classesbackgroundlayermd"></a>

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

## Class: BackgroundLayer

创建一个背景图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **BackgroundLayer**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getBackgroundColor](#getbackgroundcolor)
- [getBackgroundOpacity](#getbackgroundopacity)
- [getBackgroundPattern](#getbackgroundpattern)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setBackgroundColor](#setbackgroundcolor)
- [setBackgroundOpacity](#setbackgroundopacity)
- [setBackgroundPattern](#setbackgroundpattern)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new BackgroundLayer**(`options`: [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd)): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd) |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getBackgroundColor

▸ **getBackgroundColor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

___

#### getBackgroundOpacity

▸ **getBackgroundOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getBackgroundPattern

▸ **getBackgroundPattern**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setBackgroundColor

▸ **setBackgroundColor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\> |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

___

#### setBackgroundOpacity

▸ **setBackgroundOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

___

#### setBackgroundPattern

▸ **setBackgroundPattern**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\> |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesbreathingaperturemarkermd"></a>

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

## Class: BreathingApertureMarker

呼吸的光圈.

### Hierarchy

- *MarkerBase*

  ↳ **BreathingApertureMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setDotSize](#setdotsize)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new BreathingApertureMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*BreathingApertureMarker*](#classesdefaultbreathingaperturemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*BreathingApertureMarker*](#classesdefaultbreathingaperturemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setDotSize

▸ **setDotSize**(`size`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `size` | *number* |
| `index?` | *number* |

**Returns:** *void*

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesbuttongroupcontrolmd"></a>

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

## Class: ButtonGroupControl

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [onAdd](#onadd)
- [onRemove](#onremove)

### Constructors

#### constructor

\+ **new ButtonGroupControl**(`options?`: *Record*<string, any\>): [*ButtonGroupControl*](#classesdefaultbuttongroupcontrolmd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `options` | *Record*<string, any\> | {} |

**Returns:** [*ButtonGroupControl*](#classesdefaultbuttongroupcontrolmd)

### Methods

#### onAdd

▸ **onAdd**(`map`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** HTMLElement

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*


<a name="classescirclemd"></a>

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

## Class: Circle

创建圆符号图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Circle**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCircleBlur](#getcircleblur)
- [getCircleColor](#getcirclecolor)
- [getCircleOpacity](#getcircleopacity)
- [getCirclePitchAlignment](#getcirclepitchalignment)
- [getCirclePitchScale](#getcirclepitchscale)
- [getCircleRadius](#getcircleradius)
- [getCircleSortKey](#getcirclesortkey)
- [getCircleStrokeColor](#getcirclestrokecolor)
- [getCircleStrokeOpacity](#getcirclestrokeopacity)
- [getCircleStrokeWidth](#getcirclestrokewidth)
- [getCircleTranslate](#getcircletranslate)
- [getCircleTranslateAnchor](#getcircletranslateanchor)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [getVisibility](#getvisibility)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCircleBlur](#setcircleblur)
- [setCircleColor](#setcirclecolor)
- [setCircleOpacity](#setcircleopacity)
- [setCirclePitchAlignment](#setcirclepitchalignment)
- [setCirclePitchScale](#setcirclepitchscale)
- [setCircleRadius](#setcircleradius)
- [setCircleSortKey](#setcirclesortkey)
- [setCircleStrokeColor](#setcirclestrokecolor)
- [setCircleStrokeOpacity](#setcirclestrokeopacity)
- [setCircleStrokeWidth](#setcirclestrokewidth)
- [setCircleTranslate](#setcircletranslate)
- [setCircleTranslateAnchor](#setcircletranslateanchor)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [setVisibility](#setvisibility)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Circle**(`options`: [*CircleOptions*](#interfacesdefaultcircleoptionsmd)): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*CircleOptions*](#interfacesdefaultcircleoptionsmd) |

**Returns:** [*Circle*](#classesdefaultcirclemd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*CircleOptions*](#interfacesdefaultcircleoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getCircleBlur

▸ **getCircleBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleColor

▸ **getCircleColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getCircleOpacity

▸ **getCircleOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCirclePitchAlignment

▸ **getCirclePitchAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getCirclePitchScale

▸ **getCirclePitchScale**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getCircleRadius

▸ **getCircleRadius**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleSortKey

▸ **getCircleSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleStrokeColor

▸ **getCircleStrokeColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getCircleStrokeOpacity

▸ **getCircleStrokeOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleStrokeWidth

▸ **getCircleStrokeWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleTranslate

▸ **getCircleTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getCircleTranslateAnchor

▸ **getCircleTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getVisibility

▸ **getVisibility**(): ``"visible"`` \| ``"none"``

**Returns:** ``"visible"`` \| ``"none"``

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setCircleBlur

▸ **setCircleBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleColor

▸ **setCircleColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleOpacity

▸ **setCircleOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCirclePitchAlignment

▸ **setCirclePitchAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCirclePitchScale

▸ **setCirclePitchScale**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleRadius

▸ **setCircleRadius**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleSortKey

▸ **setCircleSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleStrokeColor

▸ **setCircleStrokeColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleStrokeOpacity

▸ **setCircleStrokeOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleStrokeWidth

▸ **setCircleStrokeWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleTranslate

▸ **setCircleTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleTranslateAnchor

▸ **setCircleTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setVisibility

▸ **setVisibility**(`value`: ``"visible"`` \| ``"none"``): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | ``"visible"`` \| ``"none"`` |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classescircleedgemd"></a>

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

## Class: CircleEdge

创建只有边框的圆或圆弧

### Hierarchy

- [*Polyline*](#classesdefaultpolylinemd)

  ↳ **CircleEdge**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getLineBlur](#getlineblur)
- [getLineCap](#getlinecap)
- [getLineColor](#getlinecolor)
- [getLineDasharray](#getlinedasharray)
- [getLineGapWidth](#getlinegapwidth)
- [getLineGradient](#getlinegradient)
- [getLineJoin](#getlinejoin)
- [getLineMiterMimit](#getlinemitermimit)
- [getLineOffset](#getlineoffset)
- [getLineOpacity](#getlineopacity)
- [getLinePattern](#getlinepattern)
- [getLineRoundLimit](#getlineroundlimit)
- [getLineSortKey](#getlinesortkey)
- [getLineTranslate](#getlinetranslate)
- [getLineTranslateAnchor](#getlinetranslateanchor)
- [getLineWidth](#getlinewidth)
- [getPoints](#getpoints)
- [getRadius](#getradius)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setLineBlur](#setlineblur)
- [setLineCap](#setlinecap)
- [setLineColor](#setlinecolor)
- [setLineDasharray](#setlinedasharray)
- [setLineGapWidth](#setlinegapwidth)
- [setLineGradient](#setlinegradient)
- [setLineJoin](#setlinejoin)
- [setLineMiterMimit](#setlinemitermimit)
- [setLineOffset](#setlineoffset)
- [setLineOpacity](#setlineopacity)
- [setLinePattern](#setlinepattern)
- [setLineRoundLimit](#setlineroundlimit)
- [setLineSortKey](#setlinesortkey)
- [setLineTranslate](#setlinetranslate)
- [setLineTranslateAnchor](#setlinetranslateanchor)
- [setLineWidth](#setlinewidth)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setRadius](#setradius)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new CircleEdge**(`options`: [*CircleEdgeOptions*](#interfacesdefaultcircleedgeoptionsmd)): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*CircleEdgeOptions*](#interfacesdefaultcircleedgeoptionsmd) |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Overrides: [Polyline](#classesdefaultpolylinemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polyline](#classesdefaultpolylinemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[layerId](#layerid)

___

#### options

• **options**: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

Inherited from: [Polyline](#classesdefaultpolylinemd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polyline](#classesdefaultpolylinemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineBlur

▸ **getLineBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineCap

▸ **getLineCap**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineColor

▸ **getLineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineDasharray

▸ **getLineDasharray**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGapWidth

▸ **getLineGapWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGradient

▸ **getLineGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineJoin

▸ **getLineJoin**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineMiterMimit

▸ **getLineMiterMimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOffset

▸ **getLineOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOpacity

▸ **getLineOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLinePattern

▸ **getLinePattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineRoundLimit

▸ **getLineRoundLimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineSortKey

▸ **getLineSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslate

▸ **getLineTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslateAnchor

▸ **getLineTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineWidth

▸ **getLineWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getRadius

▸ **getRadius**(): *number*

得到半径。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineBlur

▸ **setLineBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineCap

▸ **setLineCap**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineColor

▸ **setLineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineDasharray

▸ **setLineDasharray**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGapWidth

▸ **setLineGapWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGradient

▸ **setLineGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineJoin

▸ **setLineJoin**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineMiterMimit

▸ **setLineMiterMimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOffset

▸ **setLineOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOpacity

▸ **setLineOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLinePattern

▸ **setLinePattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineRoundLimit

▸ **setLineRoundLimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineSortKey

▸ **setLineSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslate

▸ **setLineTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslateAnchor

▸ **setLineTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineWidth

▸ **setLineWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setRadius

▸ **setRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classescirclefillmd"></a>

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

## Class: CircleFill

创建填充的圆或圆弧

### Hierarchy

- [*Polygon*](#classesdefaultpolygonmd)

  ↳ **CircleFill**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getFillAntialias](#getfillantialias)
- [getFillColor](#getfillcolor)
- [getFillOpacity](#getfillopacity)
- [getFillOutlineColor](#getfilloutlinecolor)
- [getFillPattern](#getfillpattern)
- [getFillSortKey](#getfillsortkey)
- [getFillTranslate](#getfilltranslate)
- [getFillTranslateAnchor](#getfilltranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getPoints](#getpoints)
- [getRadius](#getradius)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFillAntialias](#setfillantialias)
- [setFillColor](#setfillcolor)
- [setFillOpacity](#setfillopacity)
- [setFillOutlineColor](#setfilloutlinecolor)
- [setFillPattern](#setfillpattern)
- [setFillSortKey](#setfillsortkey)
- [setFillTranslate](#setfilltranslate)
- [setFillTranslateAnchor](#setfilltranslateanchor)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setRadius](#setradius)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new CircleFill**(`options`: [*CircleFillOptions*](#interfacesdefaultcirclefilloptionsmd)): [*CircleFill*](#classesdefaultcirclefillmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*CircleFillOptions*](#interfacesdefaultcirclefilloptionsmd) |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Overrides: [Polygon](#classesdefaultpolygonmd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polygon](#classesdefaultpolygonmd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[layerId](#layerid)

___

#### options

• **options**: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

Inherited from: [Polygon](#classesdefaultpolygonmd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polygon](#classesdefaultpolygonmd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getFillAntialias

▸ **getFillAntialias**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

获取图层的“填充抗锯齿”绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillColor

▸ **getFillColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOpacity

▸ **getFillOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的 `fill-opacity` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOutlineColor

▸ **getFillOutlineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-outline-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillPattern

▸ **getFillPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的`fill-pattern` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillSortKey

▸ **getFillSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的`fill-sort-key` 布局属性.

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslate

▸ **getFillTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

获取图层的 `fill-translate` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslateAnchor

▸ **getFillTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

获取图层的 `fill-translate-anchor` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getRadius

▸ **getRadius**(): *number*

得到半径。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setFillAntialias

▸ **setFillAntialias**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-antialias` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillColor

▸ **setFillColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOpacity

▸ **setFillOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-opacity` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOutlineColor

▸ **setFillOutlineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-outline-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillPattern

▸ **setFillPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-pattern` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillSortKey

▸ **setFillSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一层或多层设置`fill-sort-key`布局属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslate

▸ **setFillTranslate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-translate` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslateAnchor

▸ **setFillTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-translate-anchor` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setRadius

▸ **setRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classescloseeventmd"></a>

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

## Class: CloseEvent

### Hierarchy

- [*WebSocketEvent*](#classeswebsocketeventmd)

  ↳ **CloseEvent**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [code](#code)
- [reason](#reason)
- [target](#target)
- [type](#type)
- [wasClean](#wasclean)

### Constructors

#### constructor

\+ **new CloseEvent**(`code?`: *number*, `reason?`: *string*, `target`: *any*): [*CloseEvent*](#classescloseeventmd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `code` | *number* | 1000 |
| `reason` | *string* | "" |
| `target` | *any* | - |

**Returns:** [*CloseEvent*](#classescloseeventmd)

Overrides: [WebSocketEvent](#classeswebsocketeventmd)

### Properties

#### code

• **code**: *number*

___

#### reason

• **reason**: *string*

___

#### target

• **target**: *any*

Inherited from: [WebSocketEvent](#classeswebsocketeventmd).[target](#target)

___

#### type

• **type**: *string*

Inherited from: [WebSocketEvent](#classeswebsocketeventmd).[type](#type)

___

#### wasClean

• **wasClean**: *boolean*= true


<a name="classescomparemd"></a>

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

## Class: Compare

### Hierarchy

- *Evented*

  ↳ **Compare**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [remove](#remove)
- [setSlider](#setslider)

### Constructors

#### constructor

\+ **new Compare**(`a`: *Map*, `b`: *Map*, `container`: *string* \| Element, `options?`: { `mousemove`: *boolean* ; `orientation`: ``"vertical"`` \| ``"horizontal"``  }): [*Compare*](#classesdefaultcomparemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *Map* |
| `b` | *Map* |
| `container` | *string* \| Element |
| `options?` | *object* |
| `options.mousemove` | *boolean* |
| `options.orientation` | ``"vertical"`` \| ``"horizontal"`` |

**Returns:** [*Compare*](#classesdefaultcomparemd)

Overrides: Evented.constructor

### Methods

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### setSlider

▸ **setSlider**(`x`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |

**Returns:** *void*


<a name="classescontextmenumd"></a>

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

## Class: ContextMenu

上下文菜单.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [add](#add)
- [hide](#hide)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new ContextMenu**(`opts`: [*ContextMenuOptions*](#interfacesdefaultcontextmenuoptionsmd)): [*ContextMenu*](#classesdefaultcontextmenumd)

Creates a new ContextMenu menu

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `opts` | [*ContextMenuOptions*](#interfacesdefaultcontextmenuoptionsmd) | options which build the menu e.g. position and items |

**Returns:** [*ContextMenu*](#classesdefaultcontextmenumd)

### Methods

#### add

▸ **add**(`item`: *any*): *void*

Adds item to this ContextMenu menu instance

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `item` | *any* | item to add to the ContextMenu menu |

**Returns:** *void*

___

#### hide

▸ **hide**(): *void*

Hides this ContextMenu menu

**Returns:** *void*

___

#### show

▸ **show**(): *void*

Makes this ContextMenu menu visible

**Returns:** *void*

___

#### toggle

▸ **toggle**(): *void*

Toggle visibility of menu

**Returns:** *void*


<a name="classesdb2dpolylinemd"></a>

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

## Class: Db2dPolyline

`Db2dPolyline` 二维多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **Db2dPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db2dPolyline**(`prop?`: [*IDb2dPolyline*](#interfacesdefaultidb2dpolylinemd)): [*Db2dPolyline*](#classesdefaultdb2dpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb2dPolyline*](#interfacesdefaultidb2dpolylinemd) | {} |

**Returns:** [*Db2dPolyline*](#classesdefaultdb2dpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k2dSimplePoly*](#k2dsimplepoly) \| [*k2dFitCurvePoly*](#k2dfitcurvepoly) \| [*k2dQuadSplinePoly*](#k2dquadsplinepoly) \| [*k2dCubicSplinePoly*](#k2dcubicsplinepoly)

2d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdb2lineangulardimensionmd"></a>

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

## Class: Db2LineAngularDimension

`Db2LineAngularDimension` 角度标注[两条线]实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **Db2LineAngularDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1End](#xline1end)
- [xLine1Start](#xline1start)
- [xLine2End](#xline2end)
- [xLine2Start](#xline2start)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db2LineAngularDimension**(`prop?`: [*IDb2LineAngularDimension*](#interfacesdefaultidb2lineangulardimensionmd)): [*Db2LineAngularDimension*](#classesdefaultdb2lineangulardimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb2LineAngularDimension*](#interfacesdefaultidb2lineangulardimensionmd) | {} |

**Returns:** [*Db2LineAngularDimension*](#classesdefaultdb2lineangulardimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1End

• `Optional` **xLine1End**: [*number*, *number*, *undefined* \| *number*][]

线1终点.

___

#### xLine1Start

• `Optional` **xLine1Start**: [*number*, *number*, *undefined* \| *number*][]

线1起点.

___

#### xLine2End

• `Optional` **xLine2End**: [*number*, *number*, *undefined* \| *number*][]

线2终点.

___

#### xLine2Start

• `Optional` **xLine2Start**: [*number*, *number*, *undefined* \| *number*][]

线2起点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdb3dpolylinemd"></a>

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

## Class: Db3dPolyline

`Db3dPolyline` 三维多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **Db3dPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db3dPolyline**(`prop?`: [*IDb3dPolyline*](#interfacesdefaultidb3dpolylinemd)): [*Db3dPolyline*](#classesdefaultdb3dpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb3dPolyline*](#interfacesdefaultidb3dpolylinemd) | {} |

**Returns:** [*Db3dPolyline*](#classesdefaultdb3dpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k3dSimplePoly*](#k3dsimplepoly) \| [*k3dQuadSplinePoly*](#k3dquadsplinepoly) \| [*k3dCubicSplinePoly*](#k3dcubicsplinepoly)

3d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdb3pointangulardimensionmd"></a>

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

## Class: Db3PointAngularDimension

`Db3PointAngularDimension` 角度标注[三点]实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **Db3PointAngularDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [centerPoint](#centerpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db3PointAngularDimension**(`prop?`: [*IDb3PointAngularDimension*](#interfacesdefaultidb3pointangulardimensionmd)): [*Db3PointAngularDimension*](#classesdefaultdb3pointangulardimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb3PointAngularDimension*](#interfacesdefaultidb3pointangulardimensionmd) | {} |

**Returns:** [*Db3PointAngularDimension*](#classesdefaultdb3pointangulardimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbaligneddimensionmd"></a>

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

## Class: DbAlignedDimension

`DbAlignedDimension` 对齐标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbAlignedDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimLinePoint](#dimlinepoint)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [jogSymbolHeight](#jogsymbolheight)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbAlignedDimension**(`prop?`: [*IDbAlignedDimension*](#interfacesdefaultidbaligneddimensionmd)): [*DbAlignedDimension*](#classesdefaultdbaligneddimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbAlignedDimension*](#interfacesdefaultidbaligneddimensionmd) | {} |

**Returns:** [*DbAlignedDimension*](#classesdefaultdbaligneddimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### jogSymbolHeight

• `Optional` **jogSymbolHeight**: *number*

设置此实体的符号高度。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbarcmd"></a>

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

## Class: DbArc

`DbArc` 圆弧实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbArc**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [center](#center)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [radius](#radius)
- [startAngle](#startangle)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbArc**(`prop?`: [*IDbArc*](#interfacesdefaultidbarcmd)): [*DbArc*](#classesdefaultdbarcmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbArc*](#interfacesdefaultidbarcmd) | {} |

**Returns:** [*DbArc*](#classesdefaultdbarcmd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdbarcdimensionmd"></a>

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

## Class: DbArcDimension

`DbArcDimension` 圆弧标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbArcDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arcSymbolType](#arcsymboltype)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [centerPoint](#centerpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbArcDimension**(`prop?`: [*IDbArcDimension*](#interfacesdefaultidbarcdimensionmd)): [*DbArcDimension*](#classesdefaultdbarcdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbArcDimension*](#interfacesdefaultidbarcdimensionmd) | {} |

**Returns:** [*DbArcDimension*](#classesdefaultdbarcdimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点.

___

#### arcSymbolType

• `Optional` **arcSymbolType**: *number*

文本中使用的弧符号的类型。 0 弧符号在文本前面;   1 弧线符号在文字上方;   2  没有符号.

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbattributedefinitionmd"></a>

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

## Class: DbAttributeDefinition

`DbText` 属性定义实体.

### Hierarchy

- [*DbText*](#classesdefaultdbtextmd)

  ↳ **DbAttributeDefinition**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [height](#height)
- [horizontalMode](#horizontalmode)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [position](#position)
- [prompt](#prompt)
- [rotation](#rotation)
- [tag](#tag)
- [text](#text)
- [textStyle](#textstyle)
- [typename](#typename)
- [verticalMode](#verticalmode)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbAttributeDefinition**(`prop?`: [*IDbText*](#interfacesdefaultidbtextmd)): [*DbAttributeDefinition*](#classesdefaultdbattributedefinitionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbText*](#interfacesdefaultidbtextmd) | {} |

**Returns:** [*DbAttributeDefinition*](#classesdefaultdbattributedefinitionmd)

Overrides: [DbText](#classesdefaultdbtextmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbText](#classesdefaultdbtextmd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbText](#classesdefaultdbtextmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbText](#classesdefaultdbtextmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbText](#classesdefaultdbtextmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbText](#classesdefaultdbtextmd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容， 同text.

Inherited from: [DbText](#classesdefaultdbtextmd).[contents](#contents)

___

#### height

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

高.

Inherited from: [DbText](#classesdefaultdbtextmd).[height](#height)

___

#### horizontalMode

• `Optional` **horizontalMode**: [*kTextLeft*](#ktextleft) \| [*kTextCenter*](#ktextcenter) \| [*kTextRight*](#ktextright) \| [*kTextAlign*](#ktextalign) \| [*kTextMid*](#ktextmid) \| [*kTextFit*](#ktextfit)

水平模式.

Inherited from: [DbText](#classesdefaultdbtextmd).[horizontalMode](#horizontalmode)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbText](#classesdefaultdbtextmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbText](#classesdefaultdbtextmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbText](#classesdefaultdbtextmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbText](#classesdefaultdbtextmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbText](#classesdefaultdbtextmd).[matrix](#matrix)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

Inherited from: [DbText](#classesdefaultdbtextmd).[position](#position)

___

#### prompt

• `Optional` **prompt**: *string*

属性提示.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

Inherited from: [DbText](#classesdefaultdbtextmd).[rotation](#rotation)

___

#### tag

• `Optional` **tag**: *string*

属性名.

___

#### text

• `Optional` **text**: *string*

文本内容， 同contents.

Inherited from: [DbText](#classesdefaultdbtextmd).[text](#text)

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

Inherited from: [DbText](#classesdefaultdbtextmd).[textStyle](#textstyle)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbText](#classesdefaultdbtextmd).[typename](#typename)

___

#### verticalMode

• `Optional` **verticalMode**: [*kTextBase*](#ktextbase) \| [*kTextBottom*](#ktextbottom) \| [*kTextVertMid*](#ktextvertmid) \| [*kTextTop*](#ktexttop)

垂直模式.

Inherited from: [DbText](#classesdefaultdbtextmd).[verticalMode](#verticalmode)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbText](#classesdefaultdbtextmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbText](#classesdefaultdbtextmd).[xdata](#xdata)


<a name="classesdbblockmd"></a>

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

## Class: DbBlock

`DbBlock` 块定义.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [comments](#comments)
- [entitys](#entitys)
- [explodable](#explodable)
- [insertUnits](#insertunits)
- [name](#name)
- [origin](#origin)
- [scaling](#scaling)

### Constructors

#### constructor

\+ **new DbBlock**(`prop?`: [*IDbBlock*](#interfacesdefaultidbblockmd)): [*DbBlock*](#classesdefaultdbblockmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbBlock*](#interfacesdefaultidbblockmd) | {} |

**Returns:** [*DbBlock*](#classesdefaultdbblockmd)

### Properties

#### comments

• `Optional` **comments**: *string*

备注.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

由哪些实体创建而成.

___

#### explodable

• `Optional` **explodable**: *boolean*

是否可炸开.

___

#### insertUnits

• `Optional` **insertUnits**: *number*

设置此块的块插入单位 .

___

#### name

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

块名称.

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*]

原点。 .

___

#### scaling

• `Optional` **scaling**: *number*

设置此块的参照的缩放特征.


<a name="classesdbblockreferencemd"></a>

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

## Class: DbBlockReference

`DbBlockReference` 块参照实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbBlockReference**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [attribute](#attribute)
- [blockname](#blockname)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [scaleFactors](#scalefactors)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbBlockReference**(`prop?`: [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd)): [*DbBlockReference*](#classesdefaultdbblockreferencemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd) | {} |

**Returns:** [*DbBlockReference*](#classesdefaultdbblockreferencemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### attribute

• `Optional` **attribute**: *Record*<string, string \| number \| [*DbText*](#classesdefaultdbtextmd)\>

属性字段值

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### scaleFactors

• `Optional` **scaleFactors**: [*number*, *number*, *undefined* \| *number*]

缩放因子. [x方向，y方向,z方向]

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbcirclemd"></a>

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

## Class: DbCircle

`DbCircle` 圆实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbCircle**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [center](#center)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [radius](#radius)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbCircle**(`prop?`: [*IDbCircle*](#interfacesdefaultidbcirclemd)): [*DbCircle*](#classesdefaultdbcirclemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbCircle*](#interfacesdefaultidbcirclemd) | {} |

**Returns:** [*DbCircle*](#classesdefaultdbcirclemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdbcurvemd"></a>

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

## Class: DbCurve

`DbCurve` 曲线实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbCurve**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbCurve**(`prop?`: [*IDbCurve*](#interfacesdefaultidbcurvemd)): [*DbCurve*](#classesdefaultdbcurvemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbCurve*](#interfacesdefaultidbcurvemd) | {} |

**Returns:** [*DbCurve*](#classesdefaultdbcurvemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbdiametricdimensionmd"></a>

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

## Class: DbDiametricDimension

`DbDiametricDimension` 直径标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbDiametricDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [chordPoint](#chordpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [farChordPoint](#farchordpoint)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbDiametricDimension**(`prop?`: [*IDbDiametricDimension*](#interfacesdefaultidbdiametricdimensionmd)): [*DbDiametricDimension*](#classesdefaultdbdiametricdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbDiametricDimension*](#interfacesdefaultidbdiametricdimensionmd) | {} |

**Returns:** [*DbDiametricDimension*](#classesdefaultdbdiametricdimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上1点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### farChordPoint

• `Optional` **farChordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上2点.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbdimensionmd"></a>

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

## Class: DbDimension

`DbDimension` 标注实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbDimension**(`prop?`: [*IDbDimension*](#interfacesdefaultidbdimensionmd)): [*DbDimension*](#classesdefaultdbdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbDimension*](#interfacesdefaultidbdimensionmd) | {} |

**Returns:** [*DbDimension*](#classesdefaultdbdimensionmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbdocumentmd"></a>

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

## Class: DbDocument

`DbDocument` 地图数据库文档.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [blocks](#blocks)
- [dimStyles](#dimstyles)
- [entitys](#entitys)
- [environment](#environment)
- [from](#from)
- [isClearFromDb](#isclearfromdb)
- [isRenameBlockNameIfExist](#isrenameblocknameifexist)
- [layers](#layers)
- [linetypes](#linetypes)
- [pickEntitys](#pickentitys)
- [pickExpr](#pickexpr)
- [pickLayers](#picklayers)
- [textStyles](#textstyles)

#### Methods

- [appendBlock](#appendblock)
- [appendDimStyle](#appenddimstyle)
- [appendEntity](#appendentity)
- [appendLayer](#appendlayer)
- [appendLinetype](#appendlinetype)
- [appendTextStyle](#appendtextstyle)
- [toDoc](#todoc)

### Constructors

#### constructor

\+ **new DbDocument**(`prop?`: [*IDbDocument*](#interfacesdefaultidbdocumentmd)): [*DbDocument*](#classesdefaultdbdocumentmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbDocument*](#interfacesdefaultidbdocumentmd) | {} |

**Returns:** [*DbDocument*](#classesdefaultdbdocumentmd)

### Properties

#### blocks

• `Optional` **blocks**: [*IDbBlock*](#interfacesdefaultidbblockmd)[]

块定义.

___

#### dimStyles

• `Optional` **dimStyles**: [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[]

标注样式.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

实体集.

___

#### environment

• `Optional` **environment**: *Record*<string, any\>

文档环境，用于设置是否显示线宽等设置, 设置线宽为 LWDISPLAY ,true显示或 false不显示线宽

___

#### from

• `Optional` **from**: *string*

来源于哪个图，会在此图的上面进行修改或新增删除，格式如 形式为 mapid/version,如 exam/v1 .

___

#### isClearFromDb

• `Optional` **isClearFromDb**: *boolean*

___

#### isRenameBlockNameIfExist

• `Optional` **isRenameBlockNameIfExist**: *boolean*

来源于其他图的实体时，如果块定义重复，则自动重命名 ，默认true

___

#### layers

• `Optional` **layers**: [*IDbLayer*](#interfacesdefaultidblayermd)[]

图层集.

___

#### linetypes

• `Optional` **linetypes**: [*IDbLinetype*](#interfacesdefaultidblinetypemd)[]

线型.

___

#### pickEntitys

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

来源于哪个图时有效，表示从此图中选择指定的实体ID，不在指定的实体ID将不会显示

___

#### pickExpr

• `Optional` **pickExpr**: *string*

来源于哪个图时有效，使用表达式，表示从此图中选择指定的实体ID，不在指定的实体ID将不会显示 结果与pickEntitys的取并

___

#### pickLayers

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

来源于哪个图时有效，表示从此图中选择指定的图层，不在指定的图层将不会显示

___

#### textStyles

• `Optional` **textStyles**: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[]

文字样式.

### Methods

#### appendBlock

▸ **appendBlock**(`block`: [*IDbBlock*](#interfacesdefaultidbblockmd) \| [*IDbBlock*](#interfacesdefaultidbblockmd)[]): *void*

增加块

##### Parameters

| Name | Type |
| :------ | :------ |
| `block` | [*IDbBlock*](#interfacesdefaultidbblockmd) \| [*IDbBlock*](#interfacesdefaultidbblockmd)[] |

**Returns:** *void*

___

#### appendDimStyle

▸ **appendDimStyle**(`dimStyle`: [*IDbDimStyle*](#interfacesdefaultidbdimstylemd) \| [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[]): *void*

增加标注样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `dimStyle` | [*IDbDimStyle*](#interfacesdefaultidbdimstylemd) \| [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[] |

**Returns:** *void*

___

#### appendEntity

▸ **appendEntity**(`entity`: [*IDbEntity*](#interfacesdefaultidbentitymd) \| [*IDbEntity*](#interfacesdefaultidbentitymd)[]): *void*

增加实体

##### Parameters

| Name | Type |
| :------ | :------ |
| `entity` | [*IDbEntity*](#interfacesdefaultidbentitymd) \| [*IDbEntity*](#interfacesdefaultidbentitymd)[] |

**Returns:** *void*

___

#### appendLayer

▸ **appendLayer**(`layer`: [*IDbLayer*](#interfacesdefaultidblayermd) \| [*IDbLayer*](#interfacesdefaultidblayermd)[]): *void*

增加图层

##### Parameters

| Name | Type |
| :------ | :------ |
| `layer` | [*IDbLayer*](#interfacesdefaultidblayermd) \| [*IDbLayer*](#interfacesdefaultidblayermd)[] |

**Returns:** *void*

___

#### appendLinetype

▸ **appendLinetype**(`linetype`: [*IDbLinetype*](#interfacesdefaultidblinetypemd) \| [*IDbLinetype*](#interfacesdefaultidblinetypemd)[]): *void*

增加线型

##### Parameters

| Name | Type |
| :------ | :------ |
| `linetype` | [*IDbLinetype*](#interfacesdefaultidblinetypemd) \| [*IDbLinetype*](#interfacesdefaultidblinetypemd)[] |

**Returns:** *void*

___

#### appendTextStyle

▸ **appendTextStyle**(`textStyle`: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd) \| [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[]): *void*

增加样式样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `textStyle` | [*IDbTextStyle*](#interfacesdefaultidbtextstylemd) \| [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[] |

**Returns:** *void*

___

#### toDoc

▸ **toDoc**(`content?`: *string*): *string*

转成文档字符串

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `content?` | *string* | 如果传入了内容，则以content为主。json格式 |

**Returns:** *string*


<a name="classesdbellipsemd"></a>

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

## Class: DbEllipse

`DbEllipse` 椭圆实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbEllipse**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [center](#center)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [minorAxis](#minoraxis)
- [radiusRatio](#radiusratio)
- [startAngle](#startangle)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbEllipse**(`prop?`: [*IDbEllipse*](#interfacesdefaultidbellipsemd)): [*DbEllipse*](#classesdefaultdbellipsemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbEllipse*](#interfacesdefaultidbellipsemd) | {} |

**Returns:** [*DbEllipse*](#classesdefaultdbellipsemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### minorAxis

• `Optional` **minorAxis**: [*number*, *number*, *undefined* \| *number*]

主轴方向.

___

#### radiusRatio

• `Optional` **radiusRatio**: *number*

短轴和长轴的比例.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdbentitymd"></a>

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

## Class: DbEntity

`DbEntity` 实体基类.

### Implements

- [*IDbEntity*](#interfacesdefaultidbentitymd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ `Protected` **new DbEntity**(`prop?`: [*IDbEntity*](#interfacesdefaultidbentitymd)): [*DbEntity*](#classesdefaultdbentitymd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbEntity*](#interfacesdefaultidbentitymd) | {} |

**Returns:** [*DbEntity*](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

___

#### color

• `Optional` **color**: *number*

颜色.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### typename

• `Optional` **typename**: *string*

类型.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="classesdbhatchmd"></a>

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

## Class: DbHatch

`DbHatch` 图案实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbHatch**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [pattern](#pattern)
- [patternAngle](#patternangle)
- [patternAssociative](#patternassociative)
- [patternBackgroundColor](#patternbackgroundcolor)
- [patternDouble](#patterndouble)
- [patternOrigin](#patternorigin)
- [patternScale](#patternscale)
- [patternSpace](#patternspace)
- [points](#points)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbHatch**(`prop?`: [*IDbHatch*](#interfacesdefaultidbhatchmd)): [*DbHatch*](#classesdefaultdbhatchmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbHatch*](#interfacesdefaultidbhatchmd) | {} |

**Returns:** [*DbHatch*](#classesdefaultdbhatchmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### pattern

• `Optional` **pattern**: *string*

填充图案, 缺省 SOLID

___

#### patternAngle

• `Optional` **patternAngle**: *number*

填充角度

___

#### patternAssociative

• `Optional` **patternAssociative**: *boolean*

是否关联

___

#### patternBackgroundColor

• `Optional` **patternBackgroundColor**: *number*

填充背景色

___

#### patternDouble

• `Optional` **patternDouble**: *boolean*

指定用户定义的图案填充是否双向填充

___

#### patternOrigin

• `Optional` **patternOrigin**: [*number*, *number*]

填充原点坐标

___

#### patternScale

• `Optional` **patternScale**: *number*

填充比例

___

#### patternSpace

• `Optional` **patternSpace**: *number*

填充间距

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][] \| [*number*, *number*, *undefined* \| *number*][][]

坐标.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdblayermd"></a>

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

## Class: DbLayer

`DbLayer` 图层.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

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

### Constructors

#### constructor

\+ **new DbLayer**(`prop?`: [*IDbLayer*](#interfacesdefaultidblayermd)): [*DbLayer*](#classesdefaultdblayermd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbLayer*](#interfacesdefaultidblayermd) | {} |

**Returns:** [*DbLayer*](#classesdefaultdblayermd)

### Properties

#### color

• `Optional` **color**: *number*

图层颜色索引.

___

#### isFrozen

• `Optional` **isFrozen**: *boolean*

图层冻结.

___

#### isLocked

• `Optional` **isLocked**: *boolean*

图层锁定.

___

#### isOff

• `Optional` **isOff**: *boolean*

图层开关.

___

#### linetype

• `Optional` **linetype**: *string*

图层线型，缺省 CONTINUOUS .

___

#### name

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

图层名称. 如果要对所有图层进行修改时，请使用 \*all_layers\*


<a name="classesdblinemd"></a>

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

## Class: DbLine

`DbLine` 线实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbLine**

### Implements

- [*IDbLine*](#interfacesdefaultidblinemd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [end](#end)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [start](#start)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbLine**(`prop?`: [*IDbLine*](#interfacesdefaultidblinemd)): [*DbLine*](#classesdefaultdblinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbLine*](#interfacesdefaultidblinemd) | {} |

**Returns:** [*DbLine*](#classesdefaultdblinemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[alpha](#alpha)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[color](#color)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[colorIndex](#colorindex)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### end

• `Optional` **end**: [*number*, *number*, *undefined* \| *number*]

终点.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[end](#end)

___

#### layer

• `Optional` **layer**: *string*

图层.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[layer](#layer)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[lineWidth](#linewidth)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[linetype](#linetype)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[linetypeScale](#linetypescale)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[matrix](#matrix)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### start

• `Optional` **start**: [*number*, *number*, *undefined* \| *number*]

起点.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[start](#start)

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[thickness](#thickness)

___

#### typename

• `Optional` **typename**: *string*

类型.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[typename](#typename)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[visibility](#visibility)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[xdata](#xdata)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdblinetypemd"></a>

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

## Class: DbLineType

`DbLineType` 线型.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [comments](#comments)
- [name](#name)
- [style](#style)

### Constructors

#### constructor

\+ **new DbLineType**(`prop?`: [*IDbLinetype*](#interfacesdefaultidblinetypemd)): [*DbLineType*](#classesdefaultdblinetypemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbLinetype*](#interfacesdefaultidblinetypemd) | {} |

**Returns:** [*DbLineType*](#classesdefaultdblinetypemd)

### Properties

#### comments

• `Optional` **comments**: *string*

评论.

___

#### name

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

线型名称.

___

#### style

• `Optional` **style**: [*IDbLinetypeStyle*](#interfacesdefaultidblinetypestylemd)[]

线型样式 .


<a name="classesdbmleadermd"></a>

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

## Class: DbMLeader

`DbMLeader` 多重引线.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbMLeader**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowSize](#arrowsize)
- [blockConnectionType](#blockconnectiontype)
- [blockPosition](#blockposition)
- [blockRotation](#blockrotation)
- [blockScale](#blockscale)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [doglegLength](#dogleglength)
- [enableDogleg](#enabledogleg)
- [height](#height)
- [landingGap](#landinggap)
- [layer](#layer)
- [leaderLinePoint](#leaderlinepoint)
- [leaderVertexPoints](#leadervertexpoints)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textAttachment](#textattachment)
- [textAttachmentDirection](#textattachmentdirection)
- [textAttachmentType](#textattachmenttype)
- [textHeight](#textheight)
- [textLocation](#textlocation)
- [textRotation](#textrotation)
- [textStyle](#textstyle)
- [textWidth](#textwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbMLeader**(`prop?`: [*IDbMText*](#interfacesdefaultidbmtextmd)): [*DbMLeader*](#classesdefaultdbmleadermd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbMText*](#interfacesdefaultidbmtextmd) | {} |

**Returns:** [*DbMLeader*](#classesdefaultdbmleadermd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

___

#### blockConnectionType

• `Optional` **blockConnectionType**: ``0`` \| ``1``

___

#### blockPosition

• `Optional` **blockPosition**: [*number*, *number*, *undefined* \| *number*]

___

#### blockRotation

• `Optional` **blockRotation**: *number*

___

#### blockScale

• `Optional` **blockScale**: [*number*, *number*, *number*]

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容.

___

#### doglegLength

• `Optional` **doglegLength**: *number*

___

#### enableDogleg

• `Optional` **enableDogleg**: *boolean*

___

#### height

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

文本高.

___

#### landingGap

• `Optional` **landingGap**: *number*

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### leaderLinePoint

• `Optional` **leaderLinePoint**: [*number*, *number*, *undefined* \| *number*]

引线位置.

___

#### leaderVertexPoints

• `Optional` **leaderVertexPoints**: [*number*, *number*, *undefined* \| *number*][]

引线顶点位置数组.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### textAttachment

• `Optional` **textAttachment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright) \| [*kBaseLeft*](#kbaseleft) \| [*kBaseCenter*](#kbasecenter) \| [*kBaseRight*](#kbaseright) \| [*kBaseAlign*](#kbasealign) \| [*kBottomAlign*](#kbottomalign) \| [*kMiddleAlign*](#kmiddlealign) \| [*kTopAlign*](#ktopalign) \| [*kBaseFit*](#kbasefit) \| [*kBottomFit*](#kbottomfit) \| [*kMiddleFit*](#kmiddlefit) \| [*kTopFit*](#ktopfit) \| [*kBaseMid*](#kbasemid) \| [*kBottomMid*](#kbottommid) \| [*kMiddleMid*](#kmiddlemid) \| [*kTopMid*](#ktopmid)

文本对齐方式.

___

#### textAttachmentDirection

• `Optional` **textAttachmentDirection**: ``0`` \| ``1``

文本对齐方向. 0 水平 1 垂直

___

#### textAttachmentType

• `Optional` **textAttachmentType**: *number*[]

文本对齐类型. type(0-10) value(0-4) [type1, value1, type2, value2....]

___

#### textHeight

• `Optional` **textHeight**: *number*

文本高.

___

#### textLocation

• `Optional` **textLocation**: [*number*, *number*, *undefined* \| *number*]

文本位置.

___

#### textRotation

• `Optional` **textRotation**: *number*

文本旋转角度.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### textWidth

• `Optional` **textWidth**: *number*

文本宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbmtextmd"></a>

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

## Class: DbMText

`DbMText` 多行文本实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbMText**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [attachment](#attachment)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [height](#height)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [location](#location)
- [matrix](#matrix)
- [rotation](#rotation)
- [textHeight](#textheight)
- [textStyle](#textstyle)
- [typename](#typename)
- [visibility](#visibility)
- [width](#width)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbMText**(`prop?`: [*IDbMText*](#interfacesdefaultidbmtextmd)): [*DbMText*](#classesdefaultdbmtextmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbMText*](#interfacesdefaultidbmtextmd) | {} |

**Returns:** [*DbMText*](#classesdefaultdbmtextmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### attachment

• `Optional` **attachment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright) \| [*kBaseLeft*](#kbaseleft) \| [*kBaseCenter*](#kbasecenter) \| [*kBaseRight*](#kbaseright) \| [*kBaseAlign*](#kbasealign) \| [*kBottomAlign*](#kbottomalign) \| [*kMiddleAlign*](#kmiddlealign) \| [*kTopAlign*](#ktopalign) \| [*kBaseFit*](#kbasefit) \| [*kBottomFit*](#kbottomfit) \| [*kMiddleFit*](#kmiddlefit) \| [*kTopFit*](#ktopfit) \| [*kBaseMid*](#kbasemid) \| [*kBottomMid*](#kbottommid) \| [*kMiddleMid*](#kmiddlemid) \| [*kTopMid*](#ktopmid)

对齐方式.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容.

___

#### height

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

高.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### location

• `Optional` **location**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### textHeight

• `Optional` **textHeight**: *number*

文本高.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### width

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

宽.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbordinatedimensionmd"></a>

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

## Class: DbOrdinateDimension

`DbOrdinateDimension`  坐标标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbOrdinateDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [definingPoint](#definingpoint)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderEndPoint](#leaderendpoint)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [origin](#origin)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [useXAxis](#usexaxis)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbOrdinateDimension**(`prop?`: [*IDbOrdinateDimension*](#interfacesdefaultidbordinatedimensionmd)): [*DbOrdinateDimension*](#classesdefaultdbordinatedimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbOrdinateDimension*](#interfacesdefaultidbordinatedimensionmd) | {} |

**Returns:** [*DbOrdinateDimension*](#classesdefaultdbordinatedimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### definingPoint

• `Optional` **definingPoint**: [*number*, *number*, *undefined* \| *number*][]

定义点.

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### leaderEndPoint

• `Optional` **leaderEndPoint**: [*number*, *number*, *undefined* \| *number*][]

引线点.

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*][]

基点.

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### useXAxis

• `Optional` **useXAxis**: *boolean*

是否用X轴.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbpolylinemd"></a>

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

## Class: DbPolyline

`DbPolyline` 多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [bulge](#bulge)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [endWidth](#endwidth)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [startWidth](#startwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbPolyline**(`prop?`: [*IDbPolyline*](#interfacesdefaultidbpolylinemd)): [*DbPolyline*](#classesdefaultdbpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbPolyline*](#interfacesdefaultidbpolylinemd) | {} |

**Returns:** [*DbPolyline*](#classesdefaultdbpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### bulge

• `Optional` **bulge**: *number*[]

凸度.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### endWidth

• `Optional` **endWidth**: *number*[]

终点宽.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### startWidth

• `Optional` **startWidth**: *number*[]

起点宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdbradialdimensionmd"></a>

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

## Class: DbRadialDimension

`DbRadialDimension` 半径标注实体

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRadialDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [center](#center)
- [chordPoint](#chordpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRadialDimension**(`prop?`: [*IDbRadialDimension*](#interfacesdefaultidbradialdimensionmd)): [*DbRadialDimension*](#classesdefaultdbradialdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRadialDimension*](#interfacesdefaultidbradialdimensionmd) | {} |

**Returns:** [*DbRadialDimension*](#classesdefaultdbradialdimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbradialdimensionlargemd"></a>

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

## Class: DbRadialDimensionLarge

`DbRadialDimensionLarge` 半径折线标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRadialDimensionLarge**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [center](#center)
- [chordPoint](#chordpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [jogAngle](#jogangle)
- [jogPoint](#jogpoint)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [overrideCenter](#overridecenter)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRadialDimensionLarge**(`prop?`: [*IDbRadialDimensionLarge*](#interfacesdefaultidbradialdimensionlargemd)): [*DbRadialDimensionLarge*](#classesdefaultdbradialdimensionlargemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRadialDimensionLarge*](#interfacesdefaultidbradialdimensionlargemd) | {} |

**Returns:** [*DbRadialDimensionLarge*](#classesdefaultdbradialdimensionlargemd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### jogAngle

• `Optional` **jogAngle**: *number*

设置此Dimension实体的折角。.

___

#### jogPoint

• `Optional` **jogPoint**: [*number*, *number*, *undefined* \| *number*][]

设置此Dimension实体的折角点。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### overrideCenter

• `Optional` **overrideCenter**: [*number*, *number*, *undefined* \| *number*][]

设置由该Dimension实体确定尺寸的弧的WCS覆盖中心。.

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbrasterimagemd"></a>

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

## Class: DbRasterImage

`DbRasterImage` 栅格图像实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbRasterImage**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [heightRatio](#heightratio)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [widthRatio](#widthratio)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Constructors

#### constructor

\+ **new DbRasterImage**(`prop?`: [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd)): [*DbRasterImage*](#classesdefaultdbrasterimagemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd) | {} |

**Returns:** [*DbRasterImage*](#classesdefaultdbrasterimagemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### heightRatio

• `Optional` **heightRatio**: *number*

高比例..

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### widthRatio

• `Optional` **widthRatio**: *number*

宽比例.

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.


<a name="classesdbrotateddimensionmd"></a>

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

## Class: DbRotatedDimension

`DbRotatedDimension` 转角标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRotatedDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimLinePoint](#dimlinepoint)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRotatedDimension**(`prop?`: [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd)): [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd) | {} |

**Returns:** [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点。.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线上点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线上点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdbshapemd"></a>

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

## Class: DbShape

`DbShape` 型实体

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbShape**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [name](#name)
- [normal](#normal)
- [position](#position)
- [rotation](#rotation)
- [size](#size)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbShape**(`prop?`: [*IDbShape*](#interfacesdefaultidbshapemd)): [*DbShape*](#classesdefaultdbshapemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbShape*](#interfacesdefaultidbshapemd) | {} |

**Returns:** [*DbShape*](#classesdefaultdbshapemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### name

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

型名称.

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### size

• `Optional` **size**: *number*

大小.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbsplinemd"></a>

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

## Class: DbSpline

`DbSpline` 样条曲线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbSpline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [controlPoints](#controlpoints)
- [degree](#degree)
- [fitPoints](#fitpoints)
- [fitTol](#fittol)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbSpline**(`prop?`: [*IDbSpline*](#interfacesdefaultidbsplinemd)): [*DbSpline*](#classesdefaultdbsplinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbSpline*](#interfacesdefaultidbsplinemd) | {} |

**Returns:** [*DbSpline*](#classesdefaultdbsplinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### controlPoints

• `Optional` **controlPoints**: [*number*, *number*, *undefined* \| *number*][]

控制点.

___

#### degree

• `Optional` **degree**: *number*

Increased the degree of this spline to the specified value.

___

#### fitPoints

• `Optional` **fitPoints**: [*number*, *number*, *undefined* \| *number*][]

拟合点.

___

#### fitTol

• `Optional` **fitTol**: *number*

the curve fitting tolerance for this Spline entity.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdbtablemd"></a>

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

## Class: DbTable

`DbBlockReference` 块参照实体.

### Hierarchy

- [*DbBlockReference*](#classesdefaultdbblockreferencemd)

  ↳ **DbTable**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alignment](#alignment)
- [alpha](#alpha)
- [attribute](#attribute)
- [backgroundColor](#backgroundcolor)
- [blockname](#blockname)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [columnWidth](#columnwidth)
- [contentColor](#contentcolor)
- [data](#data)
- [directionBottomToTop](#directionbottomtotop)
- [disableTitle](#disabletitle)
- [gridColor](#gridcolor)
- [gridVisibility](#gridvisibility)
- [horzCellMargin](#horzcellmargin)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [mergeCells](#mergecells)
- [normal](#normal)
- [numColumns](#numcolumns)
- [numRows](#numrows)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [rowHeight](#rowheight)
- [scaleFactors](#scalefactors)
- [tableStyleName](#tablestylename)
- [textHeight](#textheight)
- [typename](#typename)
- [vertCellMargin](#vertcellmargin)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbTable**(`prop?`: [*IDbTable*](#interfacesdefaultidbtablemd)): [*DbTable*](#classesdefaultdbtablemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbTable*](#interfacesdefaultidbtablemd) | {} |

**Returns:** [*DbTable*](#classesdefaultdbtablemd)

Overrides: [DbBlockReference](#classesdefaultdbblockreferencemd)

### Properties

#### alignment

• `Optional` **alignment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright)

单元格对齐方式(所有单元格).

___

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[alpha](#alpha)

___

#### attribute

• `Optional` **attribute**: *Record*<string, string \| number \| [*DbText*](#classesdefaultdbtextmd)\>

属性字段值

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[attribute](#attribute)

___

#### backgroundColor

• `Optional` **backgroundColor**: *number*

背景颜色(所有单元格).

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[blockname](#blockname)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[colorIndex](#colorindex)

___

#### columnWidth

• `Optional` **columnWidth**: *number*

列宽.

___

#### contentColor

• `Optional` **contentColor**: *number*

文字颜色(所有单元格).

___

#### data

• `Optional` **data**: (*string* \| { `alignment`: [*TableCellAlignment*](#enumsdefaulttablecellalignmentmd) ; `backgroundColor`: *number* ; `contentColor`: *number* ; `gridColor`: *number* ; `gridVisibility`: *boolean* ; `text`: *string* ; `textHeight`: *number*  })[][]

数据.

___

#### directionBottomToTop

• `Optional` **directionBottomToTop**: *boolean*

表格方向是否从上至上.

___

#### disableTitle

• `Optional` **disableTitle**: *boolean*

是否禁用标题.

___

#### gridColor

• `Optional` **gridColor**: *number*

网格线颜色(所有单元格).

___

#### gridVisibility

• `Optional` **gridVisibility**: [*boolean*, *number*, *number*]

显示网格线.第二个参数(kHorzTop(1), kHorzInside(2), kHorzBottom(4), kVertLeft(8), kVertInside(16), kVertRight(32);  第三个参数 kTitleRow(1), kHeaderRow(2), kDataRow(4)

___

#### horzCellMargin

• `Optional` **horzCellMargin**: *number*

水平方向单元格边距.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[matrix](#matrix)

___

#### mergeCells

• `Optional` **mergeCells**: [*number*, *number*, *number*, *number*][]

需要合并的单元格 [[minRow, maxRow,minColumn, maxColumn], ...]

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[normal](#normal)

___

#### numColumns

• `Optional` **numColumns**: *number*

表格列数.

___

#### numRows

• `Optional` **numRows**: *number*

表格行数.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[position](#position)

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[ref](#ref)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[rotation](#rotation)

___

#### rowHeight

• `Optional` **rowHeight**: *number*

行高.

___

#### scaleFactors

• `Optional` **scaleFactors**: [*number*, *number*, *undefined* \| *number*]

缩放因子. [x方向，y方向,z方向]

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[scaleFactors](#scalefactors)

___

#### tableStyleName

• `Optional` **tableStyleName**: *string*

表样式名称.

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度(所有单元格).

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[typename](#typename)

___

#### vertCellMargin

• `Optional` **vertCellMargin**: *number*

竖直方向单元格边距.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[xdata](#xdata)


<a name="classesdbtextmd"></a>

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

## Class: DbText

`DbText` 文本实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbText**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [height](#height)
- [horizontalMode](#horizontalmode)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [position](#position)
- [rotation](#rotation)
- [text](#text)
- [textStyle](#textstyle)
- [typename](#typename)
- [verticalMode](#verticalmode)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbText**(`prop?`: [*IDbText*](#interfacesdefaultidbtextmd)): [*DbText*](#classesdefaultdbtextmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbText*](#interfacesdefaultidbtextmd) | {} |

**Returns:** [*DbText*](#classesdefaultdbtextmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容， 同text.

___

#### height

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

高.

___

#### horizontalMode

• `Optional` **horizontalMode**: [*kTextLeft*](#ktextleft) \| [*kTextCenter*](#ktextcenter) \| [*kTextRight*](#ktextright) \| [*kTextAlign*](#ktextalign) \| [*kTextMid*](#ktextmid) \| [*kTextFit*](#ktextfit)

水平模式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### text

• `Optional` **text**: *string*

文本内容， 同contents.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### verticalMode

• `Optional` **verticalMode**: [*kTextBase*](#ktextbase) \| [*kTextBottom*](#ktextbottom) \| [*kTextVertMid*](#ktextvertmid) \| [*kTextTop*](#ktexttop)

垂直模式.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdbtextstylemd"></a>

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

## Class: DbTextStyle

`DbTextStyle` 文字样式.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [bold](#bold)
- [charset](#charset)
- [fileName](#filename)
- [isShapeFile](#isshapefile)
- [italic](#italic)
- [name](#name)
- [obliquingAngle](#obliquingangle)
- [pitchAndFamily](#pitchandfamily)
- [priorSize](#priorsize)
- [textSize](#textsize)
- [typeFace](#typeface)
- [xScale](#xscale)

### Constructors

#### constructor

\+ **new DbTextStyle**(`prop?`: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)): [*DbTextStyle*](#classesdefaultdbtextstylemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbTextStyle*](#interfacesdefaultidbtextstylemd) | {} |

**Returns:** [*DbTextStyle*](#classesdefaultdbtextstylemd)

### Properties

#### bold

• `Optional` **bold**: *boolean*

是否粗体 .

___

#### charset

• `Optional` **charset**: *number*

字符集标识符，缺省0 .

___

#### fileName

• `Optional` **fileName**: *string*

字体文件名 .

___

#### isShapeFile

• `Optional` **isShapeFile**: *boolean*

是否型文件.

___

#### italic

• `Optional` **italic**: *boolean*

是否斜体 .

___

#### name

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

文字样式名称.

___

#### obliquingAngle

• `Optional` **obliquingAngle**: *number*

设置字母的倾斜角度。正角度顺时针（向右）倾斜字母。负值使字母逆时针倾斜（向左）。通过将值2*PI相加，将负值转换为其正当量。 默认情况下，初始值为0.0.

___

#### pitchAndFamily

• `Optional` **pitchAndFamily**: *number*

字符间距和族，缺省34 .

___

#### priorSize

• `Optional` **priorSize**: *number*

设置最近使用此文本样式创建的文本的先前大小 .

___

#### textSize

• `Optional` **textSize**: *number*

文本大小 .

___

#### typeFace

• `Optional` **typeFace**: *string*

字体 .

___

#### xScale

• `Optional` **xScale**: *number*

x轴缩放 .


<a name="classesdbwipeoutmd"></a>

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

## Class: DbWipeout

`DbWipeout` 遮罩实体.

### Hierarchy

- [*DbRasterImage*](#classesdefaultdbrasterimagemd)

  ↳ **DbWipeout**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [heightRatio](#heightratio)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [points](#points)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [widthRatio](#widthratio)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Constructors

#### constructor

\+ **new DbWipeout**(`prop?`: [*IDbWipeout*](#interfacesdefaultidbwipeoutmd)): [*DbWipeout*](#classesdefaultdbwipeoutmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbWipeout*](#interfacesdefaultidbwipeoutmd) | {} |

**Returns:** [*DbWipeout*](#classesdefaultdbwipeoutmd)

Overrides: [DbRasterImage](#classesdefaultdbrasterimagemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[brightness](#brightness)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[colorIndex](#colorindex)

___

#### heightRatio

• `Optional` **heightRatio**: *number*

高比例..

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[heightRatio](#heightratio)

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptClip](#imagedisplayoptclip)

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptShow](#imagedisplayoptshow)

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptTransparent](#imagedisplayopttransparent)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[matrix](#matrix)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[pixelHeight](#pixelheight)

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[pixelWidth](#pixelwidth)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[position](#position)

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[sourceHttpUrl](#sourcehttpurl)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[units](#units)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[visibility](#visibility)

___

#### widthRatio

• `Optional` **widthRatio**: *number*

宽比例.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[widthRatio](#widthratio)

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[xPelsPerUnit](#xpelsperunit)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[yPelsPerUnit](#ypelsperunit)


<a name="classesdecklayermd"></a>

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

## Class: DeckLayer

deck.gl图层.

### Hierarchy

- *Evented*

  ↳ **DeckLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [deckNs](#deckns)
- [id](#id)
- [layer](#layer)
- [renderingMode](#renderingmode)
- [type](#type)

#### Methods

- [onAdd](#onadd)
- [onRemove](#onremove)
- [render](#render)
- [setProps](#setprops)

### Constructors

#### constructor

\+ **new DeckLayer**(`props`: *any*): [*DeckLayer*](#classesdefaultdecklayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `props` | *any* |

**Returns:** [*DeckLayer*](#classesdefaultdecklayermd)

Overrides: Evented.constructor

### Properties

#### deckNs

• **deckNs**: *object*

___

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### layer

• **layer**: *object*

___

#### renderingMode

• `Optional` **renderingMode**: ``"2d"`` \| ``"3d"``

Implementation of: CustomLayerInterface.renderingMode

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### onAdd

▸ **onAdd**(`map`: *any*, `gl`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `gl` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### render

▸ **render**(`gl`: *any*, `matrix`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | *any* |
| `matrix` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### setProps

▸ **setProps**(`props`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `props` | *any* |

**Returns:** *void*


<a name="classesdefaultanimatemarkerlayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / AnimateMarkerLayer

## Class: AnimateMarkerLayer

[default](#modulesdefaultmd).AnimateMarkerLayer

动画标记图层.

### Hierarchy

- *Evented*

  ↳ **AnimateMarkerLayer**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [\_getMarkerElement](#_getmarkerelement)
- [addTo](#addto)
- [clearMarkerLayer](#clearmarkerlayer)
- [getMarkers](#getmarkers)
- [remove](#remove)
- [render](#render)
- [setType](#settype)

### Constructors

#### constructor

\+ **new AnimateMarkerLayer**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*AnimateMarkerLayer*](#classesdefaultanimatemarkerlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*AnimateMarkerLayer*](#classesdefaultanimatemarkerlayermd)

Overrides: Evented.constructor

### Methods

#### \_getMarkerElement

▸ **_getMarkerElement**(): *void*

**Returns:** *void*

___

#### addTo

▸ **addTo**(`map`: *Map*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** *void*

___

#### clearMarkerLayer

▸ **clearMarkerLayer**(): *void*

**Returns:** *void*

___

#### getMarkers

▸ **getMarkers**(): *Marker*[]

**Returns:** *Marker*[]

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### render

▸ **render**(): *void*

**Returns:** *void*

___

#### setType

▸ **setType**(`type`: [*AnimateMarkerType*](#animatemarkertype), `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | [*AnimateMarkerType*](#animatemarkertype) |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** *void*


<a name="classesdefaultbackgroundlayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / BackgroundLayer

## Class: BackgroundLayer

[default](#modulesdefaultmd).BackgroundLayer

创建一个背景图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **BackgroundLayer**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getBackgroundColor](#getbackgroundcolor)
- [getBackgroundOpacity](#getbackgroundopacity)
- [getBackgroundPattern](#getbackgroundpattern)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setBackgroundColor](#setbackgroundcolor)
- [setBackgroundOpacity](#setbackgroundopacity)
- [setBackgroundPattern](#setbackgroundpattern)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new BackgroundLayer**(`options`: [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd)): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd) |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getBackgroundColor

▸ **getBackgroundColor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

___

#### getBackgroundOpacity

▸ **getBackgroundOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getBackgroundPattern

▸ **getBackgroundPattern**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setBackgroundColor

▸ **setBackgroundColor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\> |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

___

#### setBackgroundOpacity

▸ **setBackgroundOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

___

#### setBackgroundPattern

▸ **setBackgroundPattern**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\>): [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<string\> |

**Returns:** [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultbreathingaperturemarkermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / BreathingApertureMarker

## Class: BreathingApertureMarker

[default](#modulesdefaultmd).BreathingApertureMarker

呼吸的光圈.

### Hierarchy

- *MarkerBase*

  ↳ **BreathingApertureMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setDotSize](#setdotsize)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new BreathingApertureMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*BreathingApertureMarker*](#classesdefaultbreathingaperturemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*BreathingApertureMarker*](#classesdefaultbreathingaperturemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setDotSize

▸ **setDotSize**(`size`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `size` | *number* |
| `index?` | *number* |

**Returns:** *void*

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesdefaultbuttongroupcontrolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ButtonGroupControl

## Class: ButtonGroupControl

[default](#modulesdefaultmd).ButtonGroupControl

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [onAdd](#onadd)
- [onRemove](#onremove)

### Constructors

#### constructor

\+ **new ButtonGroupControl**(`options?`: *Record*<string, any\>): [*ButtonGroupControl*](#classesdefaultbuttongroupcontrolmd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `options` | *Record*<string, any\> | {} |

**Returns:** [*ButtonGroupControl*](#classesdefaultbuttongroupcontrolmd)

### Methods

#### onAdd

▸ **onAdd**(`map`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** HTMLElement

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*


<a name="classesdefaultcirclemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Circle

## Class: Circle

[default](#modulesdefaultmd).Circle

创建圆符号图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Circle**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCircleBlur](#getcircleblur)
- [getCircleColor](#getcirclecolor)
- [getCircleOpacity](#getcircleopacity)
- [getCirclePitchAlignment](#getcirclepitchalignment)
- [getCirclePitchScale](#getcirclepitchscale)
- [getCircleRadius](#getcircleradius)
- [getCircleSortKey](#getcirclesortkey)
- [getCircleStrokeColor](#getcirclestrokecolor)
- [getCircleStrokeOpacity](#getcirclestrokeopacity)
- [getCircleStrokeWidth](#getcirclestrokewidth)
- [getCircleTranslate](#getcircletranslate)
- [getCircleTranslateAnchor](#getcircletranslateanchor)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [getVisibility](#getvisibility)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCircleBlur](#setcircleblur)
- [setCircleColor](#setcirclecolor)
- [setCircleOpacity](#setcircleopacity)
- [setCirclePitchAlignment](#setcirclepitchalignment)
- [setCirclePitchScale](#setcirclepitchscale)
- [setCircleRadius](#setcircleradius)
- [setCircleSortKey](#setcirclesortkey)
- [setCircleStrokeColor](#setcirclestrokecolor)
- [setCircleStrokeOpacity](#setcirclestrokeopacity)
- [setCircleStrokeWidth](#setcirclestrokewidth)
- [setCircleTranslate](#setcircletranslate)
- [setCircleTranslateAnchor](#setcircletranslateanchor)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [setVisibility](#setvisibility)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Circle**(`options`: [*CircleOptions*](#interfacesdefaultcircleoptionsmd)): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*CircleOptions*](#interfacesdefaultcircleoptionsmd) |

**Returns:** [*Circle*](#classesdefaultcirclemd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*CircleOptions*](#interfacesdefaultcircleoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getCircleBlur

▸ **getCircleBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleColor

▸ **getCircleColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getCircleOpacity

▸ **getCircleOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCirclePitchAlignment

▸ **getCirclePitchAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getCirclePitchScale

▸ **getCirclePitchScale**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getCircleRadius

▸ **getCircleRadius**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleSortKey

▸ **getCircleSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleStrokeColor

▸ **getCircleStrokeColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getCircleStrokeOpacity

▸ **getCircleStrokeOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleStrokeWidth

▸ **getCircleStrokeWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getCircleTranslate

▸ **getCircleTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getCircleTranslateAnchor

▸ **getCircleTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getVisibility

▸ **getVisibility**(): ``"visible"`` \| ``"none"``

**Returns:** ``"visible"`` \| ``"none"``

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setCircleBlur

▸ **setCircleBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleColor

▸ **setCircleColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleOpacity

▸ **setCircleOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCirclePitchAlignment

▸ **setCirclePitchAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCirclePitchScale

▸ **setCirclePitchScale**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleRadius

▸ **setCircleRadius**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleSortKey

▸ **setCircleSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleStrokeColor

▸ **setCircleStrokeColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleStrokeOpacity

▸ **setCircleStrokeOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleStrokeWidth

▸ **setCircleStrokeWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleTranslate

▸ **setCircleTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setCircleTranslateAnchor

▸ **setCircleTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setVisibility

▸ **setVisibility**(`value`: ``"visible"`` \| ``"none"``): [*Circle*](#classesdefaultcirclemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | ``"visible"`` \| ``"none"`` |

**Returns:** [*Circle*](#classesdefaultcirclemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultcircleedgemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / CircleEdge

## Class: CircleEdge

[default](#modulesdefaultmd).CircleEdge

创建只有边框的圆或圆弧

### Hierarchy

- [*Polyline*](#classesdefaultpolylinemd)

  ↳ **CircleEdge**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getLineBlur](#getlineblur)
- [getLineCap](#getlinecap)
- [getLineColor](#getlinecolor)
- [getLineDasharray](#getlinedasharray)
- [getLineGapWidth](#getlinegapwidth)
- [getLineGradient](#getlinegradient)
- [getLineJoin](#getlinejoin)
- [getLineMiterMimit](#getlinemitermimit)
- [getLineOffset](#getlineoffset)
- [getLineOpacity](#getlineopacity)
- [getLinePattern](#getlinepattern)
- [getLineRoundLimit](#getlineroundlimit)
- [getLineSortKey](#getlinesortkey)
- [getLineTranslate](#getlinetranslate)
- [getLineTranslateAnchor](#getlinetranslateanchor)
- [getLineWidth](#getlinewidth)
- [getPoints](#getpoints)
- [getRadius](#getradius)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setLineBlur](#setlineblur)
- [setLineCap](#setlinecap)
- [setLineColor](#setlinecolor)
- [setLineDasharray](#setlinedasharray)
- [setLineGapWidth](#setlinegapwidth)
- [setLineGradient](#setlinegradient)
- [setLineJoin](#setlinejoin)
- [setLineMiterMimit](#setlinemitermimit)
- [setLineOffset](#setlineoffset)
- [setLineOpacity](#setlineopacity)
- [setLinePattern](#setlinepattern)
- [setLineRoundLimit](#setlineroundlimit)
- [setLineSortKey](#setlinesortkey)
- [setLineTranslate](#setlinetranslate)
- [setLineTranslateAnchor](#setlinetranslateanchor)
- [setLineWidth](#setlinewidth)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setRadius](#setradius)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new CircleEdge**(`options`: [*CircleEdgeOptions*](#interfacesdefaultcircleedgeoptionsmd)): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*CircleEdgeOptions*](#interfacesdefaultcircleedgeoptionsmd) |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Overrides: [Polyline](#classesdefaultpolylinemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polyline](#classesdefaultpolylinemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[layerId](#layerid)

___

#### options

• **options**: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

Inherited from: [Polyline](#classesdefaultpolylinemd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polyline](#classesdefaultpolylinemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineBlur

▸ **getLineBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineCap

▸ **getLineCap**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineColor

▸ **getLineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineDasharray

▸ **getLineDasharray**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGapWidth

▸ **getLineGapWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGradient

▸ **getLineGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineJoin

▸ **getLineJoin**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineMiterMimit

▸ **getLineMiterMimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOffset

▸ **getLineOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOpacity

▸ **getLineOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLinePattern

▸ **getLinePattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineRoundLimit

▸ **getLineRoundLimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineSortKey

▸ **getLineSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslate

▸ **getLineTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslateAnchor

▸ **getLineTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineWidth

▸ **getLineWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getRadius

▸ **getRadius**(): *number*

得到半径。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineBlur

▸ **setLineBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineCap

▸ **setLineCap**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineColor

▸ **setLineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineDasharray

▸ **setLineDasharray**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGapWidth

▸ **setLineGapWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGradient

▸ **setLineGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineJoin

▸ **setLineJoin**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineMiterMimit

▸ **setLineMiterMimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOffset

▸ **setLineOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOpacity

▸ **setLineOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLinePattern

▸ **setLinePattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineRoundLimit

▸ **setLineRoundLimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineSortKey

▸ **setLineSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslate

▸ **setLineTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslateAnchor

▸ **setLineTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineWidth

▸ **setLineWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleEdge*](#classesdefaultcircleedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setRadius

▸ **setRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleEdge*](#classesdefaultcircleedgemd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleEdge*](#classesdefaultcircleedgemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classesdefaultcirclefillmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / CircleFill

## Class: CircleFill

[default](#modulesdefaultmd).CircleFill

创建填充的圆或圆弧

### Hierarchy

- [*Polygon*](#classesdefaultpolygonmd)

  ↳ **CircleFill**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getFillAntialias](#getfillantialias)
- [getFillColor](#getfillcolor)
- [getFillOpacity](#getfillopacity)
- [getFillOutlineColor](#getfilloutlinecolor)
- [getFillPattern](#getfillpattern)
- [getFillSortKey](#getfillsortkey)
- [getFillTranslate](#getfilltranslate)
- [getFillTranslateAnchor](#getfilltranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getPoints](#getpoints)
- [getRadius](#getradius)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFillAntialias](#setfillantialias)
- [setFillColor](#setfillcolor)
- [setFillOpacity](#setfillopacity)
- [setFillOutlineColor](#setfilloutlinecolor)
- [setFillPattern](#setfillpattern)
- [setFillSortKey](#setfillsortkey)
- [setFillTranslate](#setfilltranslate)
- [setFillTranslateAnchor](#setfilltranslateanchor)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setRadius](#setradius)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new CircleFill**(`options`: [*CircleFillOptions*](#interfacesdefaultcirclefilloptionsmd)): [*CircleFill*](#classesdefaultcirclefillmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*CircleFillOptions*](#interfacesdefaultcirclefilloptionsmd) |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Overrides: [Polygon](#classesdefaultpolygonmd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polygon](#classesdefaultpolygonmd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[layerId](#layerid)

___

#### options

• **options**: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

Inherited from: [Polygon](#classesdefaultpolygonmd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polygon](#classesdefaultpolygonmd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getFillAntialias

▸ **getFillAntialias**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

获取图层的“填充抗锯齿”绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillColor

▸ **getFillColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOpacity

▸ **getFillOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的 `fill-opacity` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOutlineColor

▸ **getFillOutlineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-outline-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillPattern

▸ **getFillPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的`fill-pattern` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillSortKey

▸ **getFillSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的`fill-sort-key` 布局属性.

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslate

▸ **getFillTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

获取图层的 `fill-translate` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslateAnchor

▸ **getFillTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

获取图层的 `fill-translate-anchor` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getRadius

▸ **getRadius**(): *number*

得到半径。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setFillAntialias

▸ **setFillAntialias**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-antialias` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillColor

▸ **setFillColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOpacity

▸ **setFillOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-opacity` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOutlineColor

▸ **setFillOutlineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-outline-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillPattern

▸ **setFillPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-pattern` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillSortKey

▸ **setFillSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一层或多层设置`fill-sort-key`布局属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslate

▸ **setFillTranslate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-translate` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslateAnchor

▸ **setFillTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*CircleFill*](#classesdefaultcirclefillmd)

为一个或多个图层设置`fill-translate-anchor` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setRadius

▸ **setRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*CircleFill*](#classesdefaultcirclefillmd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*CircleFill*](#classesdefaultcirclefillmd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classesdefaultcomparemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Compare

## Class: Compare

[default](#modulesdefaultmd).Compare

### Hierarchy

- *Evented*

  ↳ **Compare**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [remove](#remove)
- [setSlider](#setslider)

### Constructors

#### constructor

\+ **new Compare**(`a`: *Map*, `b`: *Map*, `container`: *string* \| Element, `options?`: { `mousemove`: *boolean* ; `orientation`: ``"vertical"`` \| ``"horizontal"``  }): [*Compare*](#classesdefaultcomparemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *Map* |
| `b` | *Map* |
| `container` | *string* \| Element |
| `options?` | *object* |
| `options.mousemove` | *boolean* |
| `options.orientation` | ``"vertical"`` \| ``"horizontal"`` |

**Returns:** [*Compare*](#classesdefaultcomparemd)

Overrides: Evented.constructor

### Methods

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### setSlider

▸ **setSlider**(`x`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |

**Returns:** *void*


<a name="classesdefaultcontextmenumd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ContextMenu

## Class: ContextMenu

[default](#modulesdefaultmd).ContextMenu

上下文菜单.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [add](#add)
- [hide](#hide)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new ContextMenu**(`opts`: [*ContextMenuOptions*](#interfacesdefaultcontextmenuoptionsmd)): [*ContextMenu*](#classesdefaultcontextmenumd)

Creates a new ContextMenu menu

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `opts` | [*ContextMenuOptions*](#interfacesdefaultcontextmenuoptionsmd) | options which build the menu e.g. position and items |

**Returns:** [*ContextMenu*](#classesdefaultcontextmenumd)

### Methods

#### add

▸ **add**(`item`: *any*): *void*

Adds item to this ContextMenu menu instance

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `item` | *any* | item to add to the ContextMenu menu |

**Returns:** *void*

___

#### hide

▸ **hide**(): *void*

Hides this ContextMenu menu

**Returns:** *void*

___

#### show

▸ **show**(): *void*

Makes this ContextMenu menu visible

**Returns:** *void*

___

#### toggle

▸ **toggle**(): *void*

Toggle visibility of menu

**Returns:** *void*


<a name="classesdefaultdb2dpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Db2dPolyline

## Class: Db2dPolyline

[default](#modulesdefaultmd).Db2dPolyline

`Db2dPolyline` 二维多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **Db2dPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db2dPolyline**(`prop?`: [*IDb2dPolyline*](#interfacesdefaultidb2dpolylinemd)): [*Db2dPolyline*](#classesdefaultdb2dpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb2dPolyline*](#interfacesdefaultidb2dpolylinemd) | {} |

**Returns:** [*Db2dPolyline*](#classesdefaultdb2dpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k2dSimplePoly*](#k2dsimplepoly) \| [*k2dFitCurvePoly*](#k2dfitcurvepoly) \| [*k2dQuadSplinePoly*](#k2dquadsplinepoly) \| [*k2dCubicSplinePoly*](#k2dcubicsplinepoly)

2d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdb2lineangulardimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Db2LineAngularDimension

## Class: Db2LineAngularDimension

[default](#modulesdefaultmd).Db2LineAngularDimension

`Db2LineAngularDimension` 角度标注[两条线]实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **Db2LineAngularDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1End](#xline1end)
- [xLine1Start](#xline1start)
- [xLine2End](#xline2end)
- [xLine2Start](#xline2start)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db2LineAngularDimension**(`prop?`: [*IDb2LineAngularDimension*](#interfacesdefaultidb2lineangulardimensionmd)): [*Db2LineAngularDimension*](#classesdefaultdb2lineangulardimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb2LineAngularDimension*](#interfacesdefaultidb2lineangulardimensionmd) | {} |

**Returns:** [*Db2LineAngularDimension*](#classesdefaultdb2lineangulardimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1End

• `Optional` **xLine1End**: [*number*, *number*, *undefined* \| *number*][]

线1终点.

___

#### xLine1Start

• `Optional` **xLine1Start**: [*number*, *number*, *undefined* \| *number*][]

线1起点.

___

#### xLine2End

• `Optional` **xLine2End**: [*number*, *number*, *undefined* \| *number*][]

线2终点.

___

#### xLine2Start

• `Optional` **xLine2Start**: [*number*, *number*, *undefined* \| *number*][]

线2起点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdb3dpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Db3dPolyline

## Class: Db3dPolyline

[default](#modulesdefaultmd).Db3dPolyline

`Db3dPolyline` 三维多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **Db3dPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db3dPolyline**(`prop?`: [*IDb3dPolyline*](#interfacesdefaultidb3dpolylinemd)): [*Db3dPolyline*](#classesdefaultdb3dpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb3dPolyline*](#interfacesdefaultidb3dpolylinemd) | {} |

**Returns:** [*Db3dPolyline*](#classesdefaultdb3dpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k3dSimplePoly*](#k3dsimplepoly) \| [*k3dQuadSplinePoly*](#k3dquadsplinepoly) \| [*k3dCubicSplinePoly*](#k3dcubicsplinepoly)

3d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdb3pointangulardimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Db3PointAngularDimension

## Class: Db3PointAngularDimension

[default](#modulesdefaultmd).Db3PointAngularDimension

`Db3PointAngularDimension` 角度标注[三点]实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **Db3PointAngularDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [centerPoint](#centerpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new Db3PointAngularDimension**(`prop?`: [*IDb3PointAngularDimension*](#interfacesdefaultidb3pointangulardimensionmd)): [*Db3PointAngularDimension*](#classesdefaultdb3pointangulardimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDb3PointAngularDimension*](#interfacesdefaultidb3pointangulardimensionmd) | {} |

**Returns:** [*Db3PointAngularDimension*](#classesdefaultdb3pointangulardimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbaligneddimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbAlignedDimension

## Class: DbAlignedDimension

[default](#modulesdefaultmd).DbAlignedDimension

`DbAlignedDimension` 对齐标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbAlignedDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimLinePoint](#dimlinepoint)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [jogSymbolHeight](#jogsymbolheight)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbAlignedDimension**(`prop?`: [*IDbAlignedDimension*](#interfacesdefaultidbaligneddimensionmd)): [*DbAlignedDimension*](#classesdefaultdbaligneddimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbAlignedDimension*](#interfacesdefaultidbaligneddimensionmd) | {} |

**Returns:** [*DbAlignedDimension*](#classesdefaultdbaligneddimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### jogSymbolHeight

• `Optional` **jogSymbolHeight**: *number*

设置此实体的符号高度。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbarcmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbArc

## Class: DbArc

[default](#modulesdefaultmd).DbArc

`DbArc` 圆弧实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbArc**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [center](#center)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [radius](#radius)
- [startAngle](#startangle)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbArc**(`prop?`: [*IDbArc*](#interfacesdefaultidbarcmd)): [*DbArc*](#classesdefaultdbarcmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbArc*](#interfacesdefaultidbarcmd) | {} |

**Returns:** [*DbArc*](#classesdefaultdbarcmd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdbarcdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbArcDimension

## Class: DbArcDimension

[default](#modulesdefaultmd).DbArcDimension

`DbArcDimension` 圆弧标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbArcDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arcSymbolType](#arcsymboltype)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [centerPoint](#centerpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbArcDimension**(`prop?`: [*IDbArcDimension*](#interfacesdefaultidbarcdimensionmd)): [*DbArcDimension*](#classesdefaultdbarcdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbArcDimension*](#interfacesdefaultidbarcdimensionmd) | {} |

**Returns:** [*DbArcDimension*](#classesdefaultdbarcdimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点.

___

#### arcSymbolType

• `Optional` **arcSymbolType**: *number*

文本中使用的弧符号的类型。 0 弧符号在文本前面;   1 弧线符号在文字上方;   2  没有符号.

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbattributedefinitionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbAttributeDefinition

## Class: DbAttributeDefinition

[default](#modulesdefaultmd).DbAttributeDefinition

`DbText` 属性定义实体.

### Hierarchy

- [*DbText*](#classesdefaultdbtextmd)

  ↳ **DbAttributeDefinition**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [height](#height)
- [horizontalMode](#horizontalmode)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [position](#position)
- [prompt](#prompt)
- [rotation](#rotation)
- [tag](#tag)
- [text](#text)
- [textStyle](#textstyle)
- [typename](#typename)
- [verticalMode](#verticalmode)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbAttributeDefinition**(`prop?`: [*IDbText*](#interfacesdefaultidbtextmd)): [*DbAttributeDefinition*](#classesdefaultdbattributedefinitionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbText*](#interfacesdefaultidbtextmd) | {} |

**Returns:** [*DbAttributeDefinition*](#classesdefaultdbattributedefinitionmd)

Overrides: [DbText](#classesdefaultdbtextmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbText](#classesdefaultdbtextmd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbText](#classesdefaultdbtextmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbText](#classesdefaultdbtextmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbText](#classesdefaultdbtextmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbText](#classesdefaultdbtextmd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容， 同text.

Inherited from: [DbText](#classesdefaultdbtextmd).[contents](#contents)

___

#### height

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

高.

Inherited from: [DbText](#classesdefaultdbtextmd).[height](#height)

___

#### horizontalMode

• `Optional` **horizontalMode**: [*kTextLeft*](#ktextleft) \| [*kTextCenter*](#ktextcenter) \| [*kTextRight*](#ktextright) \| [*kTextAlign*](#ktextalign) \| [*kTextMid*](#ktextmid) \| [*kTextFit*](#ktextfit)

水平模式.

Inherited from: [DbText](#classesdefaultdbtextmd).[horizontalMode](#horizontalmode)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbText](#classesdefaultdbtextmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbText](#classesdefaultdbtextmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbText](#classesdefaultdbtextmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbText](#classesdefaultdbtextmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbText](#classesdefaultdbtextmd).[matrix](#matrix)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

Inherited from: [DbText](#classesdefaultdbtextmd).[position](#position)

___

#### prompt

• `Optional` **prompt**: *string*

属性提示.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

Inherited from: [DbText](#classesdefaultdbtextmd).[rotation](#rotation)

___

#### tag

• `Optional` **tag**: *string*

属性名.

___

#### text

• `Optional` **text**: *string*

文本内容， 同contents.

Inherited from: [DbText](#classesdefaultdbtextmd).[text](#text)

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

Inherited from: [DbText](#classesdefaultdbtextmd).[textStyle](#textstyle)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbText](#classesdefaultdbtextmd).[typename](#typename)

___

#### verticalMode

• `Optional` **verticalMode**: [*kTextBase*](#ktextbase) \| [*kTextBottom*](#ktextbottom) \| [*kTextVertMid*](#ktextvertmid) \| [*kTextTop*](#ktexttop)

垂直模式.

Inherited from: [DbText](#classesdefaultdbtextmd).[verticalMode](#verticalmode)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbText](#classesdefaultdbtextmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbText](#classesdefaultdbtextmd).[xdata](#xdata)


<a name="classesdefaultdbblockmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbBlock

## Class: DbBlock

[default](#modulesdefaultmd).DbBlock

`DbBlock` 块定义.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [comments](#comments)
- [entitys](#entitys)
- [explodable](#explodable)
- [insertUnits](#insertunits)
- [name](#name)
- [origin](#origin)
- [scaling](#scaling)

### Constructors

#### constructor

\+ **new DbBlock**(`prop?`: [*IDbBlock*](#interfacesdefaultidbblockmd)): [*DbBlock*](#classesdefaultdbblockmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbBlock*](#interfacesdefaultidbblockmd) | {} |

**Returns:** [*DbBlock*](#classesdefaultdbblockmd)

### Properties

#### comments

• `Optional` **comments**: *string*

备注.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

由哪些实体创建而成.

___

#### explodable

• `Optional` **explodable**: *boolean*

是否可炸开.

___

#### insertUnits

• `Optional` **insertUnits**: *number*

设置此块的块插入单位 .

___

#### name

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

块名称.

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*]

原点。 .

___

#### scaling

• `Optional` **scaling**: *number*

设置此块的参照的缩放特征.


<a name="classesdefaultdbblockreferencemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbBlockReference

## Class: DbBlockReference

[default](#modulesdefaultmd).DbBlockReference

`DbBlockReference` 块参照实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbBlockReference**

  ↳↳ [*DbTable*](#classesdefaultdbtablemd)

  ↳↳ [*DbTable*](#classesdbtablemd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [attribute](#attribute)
- [blockname](#blockname)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [scaleFactors](#scalefactors)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbBlockReference**(`prop?`: [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd)): [*DbBlockReference*](#classesdefaultdbblockreferencemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd) | {} |

**Returns:** [*DbBlockReference*](#classesdefaultdbblockreferencemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### attribute

• `Optional` **attribute**: *Record*<string, string \| number \| [*DbText*](#classesdefaultdbtextmd)\>

属性字段值

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### scaleFactors

• `Optional` **scaleFactors**: [*number*, *number*, *undefined* \| *number*]

缩放因子. [x方向，y方向,z方向]

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbcirclemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbCircle

## Class: DbCircle

[default](#modulesdefaultmd).DbCircle

`DbCircle` 圆实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbCircle**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [center](#center)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [radius](#radius)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbCircle**(`prop?`: [*IDbCircle*](#interfacesdefaultidbcirclemd)): [*DbCircle*](#classesdefaultdbcirclemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbCircle*](#interfacesdefaultidbcirclemd) | {} |

**Returns:** [*DbCircle*](#classesdefaultdbcirclemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdbcurvemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbCurve

## Class: DbCurve

[default](#modulesdefaultmd).DbCurve

`DbCurve` 曲线实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbCurve**

  ↳↳ [*DbPolyline*](#classesdefaultdbpolylinemd)

  ↳↳ [*Db2dPolyline*](#classesdefaultdb2dpolylinemd)

  ↳↳ [*Db3dPolyline*](#classesdefaultdb3dpolylinemd)

  ↳↳ [*DbSpline*](#classesdefaultdbsplinemd)

  ↳↳ [*DbArc*](#classesdefaultdbarcmd)

  ↳↳ [*DbCircle*](#classesdefaultdbcirclemd)

  ↳↳ [*DbEllipse*](#classesdefaultdbellipsemd)

  ↳↳ [*DbPolyline*](#classesdbpolylinemd)

  ↳↳ [*Db2dPolyline*](#classesdb2dpolylinemd)

  ↳↳ [*Db3dPolyline*](#classesdb3dpolylinemd)

  ↳↳ [*DbSpline*](#classesdbsplinemd)

  ↳↳ [*DbArc*](#classesdbarcmd)

  ↳↳ [*DbCircle*](#classesdbcirclemd)

  ↳↳ [*DbEllipse*](#classesdbellipsemd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbCurve**(`prop?`: [*IDbCurve*](#interfacesdefaultidbcurvemd)): [*DbCurve*](#classesdefaultdbcurvemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbCurve*](#interfacesdefaultidbcurvemd) | {} |

**Returns:** [*DbCurve*](#classesdefaultdbcurvemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbdiametricdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbDiametricDimension

## Class: DbDiametricDimension

[default](#modulesdefaultmd).DbDiametricDimension

`DbDiametricDimension` 直径标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbDiametricDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [chordPoint](#chordpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [farChordPoint](#farchordpoint)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbDiametricDimension**(`prop?`: [*IDbDiametricDimension*](#interfacesdefaultidbdiametricdimensionmd)): [*DbDiametricDimension*](#classesdefaultdbdiametricdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbDiametricDimension*](#interfacesdefaultidbdiametricdimensionmd) | {} |

**Returns:** [*DbDiametricDimension*](#classesdefaultdbdiametricdimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上1点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### farChordPoint

• `Optional` **farChordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上2点.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbDimension

## Class: DbDimension

[default](#modulesdefaultmd).DbDimension

`DbDimension` 标注实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbDimension**

  ↳↳ [*Db2LineAngularDimension*](#classesdefaultdb2lineangulardimensionmd)

  ↳↳ [*Db3PointAngularDimension*](#classesdefaultdb3pointangulardimensionmd)

  ↳↳ [*DbAlignedDimension*](#classesdefaultdbaligneddimensionmd)

  ↳↳ [*DbArcDimension*](#classesdefaultdbarcdimensionmd)

  ↳↳ [*DbDiametricDimension*](#classesdefaultdbdiametricdimensionmd)

  ↳↳ [*DbOrdinateDimension*](#classesdefaultdbordinatedimensionmd)

  ↳↳ [*DbRadialDimension*](#classesdefaultdbradialdimensionmd)

  ↳↳ [*DbRadialDimensionLarge*](#classesdefaultdbradialdimensionlargemd)

  ↳↳ [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

  ↳↳ [*Db2LineAngularDimension*](#classesdb2lineangulardimensionmd)

  ↳↳ [*Db3PointAngularDimension*](#classesdb3pointangulardimensionmd)

  ↳↳ [*DbAlignedDimension*](#classesdbaligneddimensionmd)

  ↳↳ [*DbArcDimension*](#classesdbarcdimensionmd)

  ↳↳ [*DbDiametricDimension*](#classesdbdiametricdimensionmd)

  ↳↳ [*DbOrdinateDimension*](#classesdbordinatedimensionmd)

  ↳↳ [*DbRadialDimension*](#classesdbradialdimensionmd)

  ↳↳ [*DbRadialDimensionLarge*](#classesdbradialdimensionlargemd)

  ↳↳ [*DbRotatedDimension*](#classesdbrotateddimensionmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbDimension**(`prop?`: [*IDbDimension*](#interfacesdefaultidbdimensionmd)): [*DbDimension*](#classesdefaultdbdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbDimension*](#interfacesdefaultidbdimensionmd) | {} |

**Returns:** [*DbDimension*](#classesdefaultdbdimensionmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbdocumentmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbDocument

## Class: DbDocument

[default](#modulesdefaultmd).DbDocument

`DbDocument` 地图数据库文档.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [blocks](#blocks)
- [dimStyles](#dimstyles)
- [entitys](#entitys)
- [environment](#environment)
- [from](#from)
- [isClearFromDb](#isclearfromdb)
- [isRenameBlockNameIfExist](#isrenameblocknameifexist)
- [layers](#layers)
- [linetypes](#linetypes)
- [pickEntitys](#pickentitys)
- [pickExpr](#pickexpr)
- [pickLayers](#picklayers)
- [textStyles](#textstyles)

#### Methods

- [appendBlock](#appendblock)
- [appendDimStyle](#appenddimstyle)
- [appendEntity](#appendentity)
- [appendLayer](#appendlayer)
- [appendLinetype](#appendlinetype)
- [appendTextStyle](#appendtextstyle)
- [toDoc](#todoc)

### Constructors

#### constructor

\+ **new DbDocument**(`prop?`: [*IDbDocument*](#interfacesdefaultidbdocumentmd)): [*DbDocument*](#classesdefaultdbdocumentmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbDocument*](#interfacesdefaultidbdocumentmd) | {} |

**Returns:** [*DbDocument*](#classesdefaultdbdocumentmd)

### Properties

#### blocks

• `Optional` **blocks**: [*IDbBlock*](#interfacesdefaultidbblockmd)[]

块定义.

___

#### dimStyles

• `Optional` **dimStyles**: [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[]

标注样式.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

实体集.

___

#### environment

• `Optional` **environment**: *Record*<string, any\>

文档环境，用于设置是否显示线宽等设置, 设置线宽为 LWDISPLAY ,true显示或 false不显示线宽

___

#### from

• `Optional` **from**: *string*

来源于哪个图，会在此图的上面进行修改或新增删除，格式如 形式为 mapid/version,如 exam/v1 .

___

#### isClearFromDb

• `Optional` **isClearFromDb**: *boolean*

___

#### isRenameBlockNameIfExist

• `Optional` **isRenameBlockNameIfExist**: *boolean*

来源于其他图的实体时，如果块定义重复，则自动重命名 ，默认true

___

#### layers

• `Optional` **layers**: [*IDbLayer*](#interfacesdefaultidblayermd)[]

图层集.

___

#### linetypes

• `Optional` **linetypes**: [*IDbLinetype*](#interfacesdefaultidblinetypemd)[]

线型.

___

#### pickEntitys

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

来源于哪个图时有效，表示从此图中选择指定的实体ID，不在指定的实体ID将不会显示

___

#### pickExpr

• `Optional` **pickExpr**: *string*

来源于哪个图时有效，使用表达式，表示从此图中选择指定的实体ID，不在指定的实体ID将不会显示 结果与pickEntitys的取并

___

#### pickLayers

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

来源于哪个图时有效，表示从此图中选择指定的图层，不在指定的图层将不会显示

___

#### textStyles

• `Optional` **textStyles**: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[]

文字样式.

### Methods

#### appendBlock

▸ **appendBlock**(`block`: [*IDbBlock*](#interfacesdefaultidbblockmd) \| [*IDbBlock*](#interfacesdefaultidbblockmd)[]): *void*

增加块

##### Parameters

| Name | Type |
| :------ | :------ |
| `block` | [*IDbBlock*](#interfacesdefaultidbblockmd) \| [*IDbBlock*](#interfacesdefaultidbblockmd)[] |

**Returns:** *void*

___

#### appendDimStyle

▸ **appendDimStyle**(`dimStyle`: [*IDbDimStyle*](#interfacesdefaultidbdimstylemd) \| [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[]): *void*

增加标注样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `dimStyle` | [*IDbDimStyle*](#interfacesdefaultidbdimstylemd) \| [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[] |

**Returns:** *void*

___

#### appendEntity

▸ **appendEntity**(`entity`: [*IDbEntity*](#interfacesdefaultidbentitymd) \| [*IDbEntity*](#interfacesdefaultidbentitymd)[]): *void*

增加实体

##### Parameters

| Name | Type |
| :------ | :------ |
| `entity` | [*IDbEntity*](#interfacesdefaultidbentitymd) \| [*IDbEntity*](#interfacesdefaultidbentitymd)[] |

**Returns:** *void*

___

#### appendLayer

▸ **appendLayer**(`layer`: [*IDbLayer*](#interfacesdefaultidblayermd) \| [*IDbLayer*](#interfacesdefaultidblayermd)[]): *void*

增加图层

##### Parameters

| Name | Type |
| :------ | :------ |
| `layer` | [*IDbLayer*](#interfacesdefaultidblayermd) \| [*IDbLayer*](#interfacesdefaultidblayermd)[] |

**Returns:** *void*

___

#### appendLinetype

▸ **appendLinetype**(`linetype`: [*IDbLinetype*](#interfacesdefaultidblinetypemd) \| [*IDbLinetype*](#interfacesdefaultidblinetypemd)[]): *void*

增加线型

##### Parameters

| Name | Type |
| :------ | :------ |
| `linetype` | [*IDbLinetype*](#interfacesdefaultidblinetypemd) \| [*IDbLinetype*](#interfacesdefaultidblinetypemd)[] |

**Returns:** *void*

___

#### appendTextStyle

▸ **appendTextStyle**(`textStyle`: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd) \| [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[]): *void*

增加样式样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `textStyle` | [*IDbTextStyle*](#interfacesdefaultidbtextstylemd) \| [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[] |

**Returns:** *void*

___

#### toDoc

▸ **toDoc**(`content?`: *string*): *string*

转成文档字符串

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `content?` | *string* | 如果传入了内容，则以content为主。json格式 |

**Returns:** *string*


<a name="classesdefaultdbellipsemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbEllipse

## Class: DbEllipse

[default](#modulesdefaultmd).DbEllipse

`DbEllipse` 椭圆实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbEllipse**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [center](#center)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [minorAxis](#minoraxis)
- [radiusRatio](#radiusratio)
- [startAngle](#startangle)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbEllipse**(`prop?`: [*IDbEllipse*](#interfacesdefaultidbellipsemd)): [*DbEllipse*](#classesdefaultdbellipsemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbEllipse*](#interfacesdefaultidbellipsemd) | {} |

**Returns:** [*DbEllipse*](#classesdefaultdbellipsemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### minorAxis

• `Optional` **minorAxis**: [*number*, *number*, *undefined* \| *number*]

主轴方向.

___

#### radiusRatio

• `Optional` **radiusRatio**: *number*

短轴和长轴的比例.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdbentitymd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbEntity

## Class: DbEntity

[default](#modulesdefaultmd).DbEntity

`DbEntity` 实体基类.

### Hierarchy

- **DbEntity**

  ↳ [*DbLine*](#classesdefaultdblinemd)

  ↳ [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ [*DbBlockReference*](#classesdefaultdbblockreferencemd)

  ↳ [*DbHatch*](#classesdefaultdbhatchmd)

  ↳ [*DbText*](#classesdefaultdbtextmd)

  ↳ [*DbMText*](#classesdefaultdbmtextmd)

  ↳ [*DbShape*](#classesdefaultdbshapemd)

  ↳ [*DbRasterImage*](#classesdefaultdbrasterimagemd)

  ↳ [*DbMLeader*](#classesdefaultdbmleadermd)

  ↳ [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ [*DbLine*](#classesdblinemd)

  ↳ [*DbCurve*](#classesdbcurvemd)

  ↳ [*DbBlockReference*](#classesdbblockreferencemd)

  ↳ [*DbHatch*](#classesdbhatchmd)

  ↳ [*DbText*](#classesdbtextmd)

  ↳ [*DbMText*](#classesdbmtextmd)

  ↳ [*DbShape*](#classesdbshapemd)

  ↳ [*DbRasterImage*](#classesdbrasterimagemd)

  ↳ [*DbMLeader*](#classesdbmleadermd)

  ↳ [*DbDimension*](#classesdbdimensionmd)

### Implements

- [*IDbEntity*](#interfacesdefaultidbentitymd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ `Protected` **new DbEntity**(`prop?`: [*IDbEntity*](#interfacesdefaultidbentitymd)): [*DbEntity*](#classesdefaultdbentitymd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbEntity*](#interfacesdefaultidbentitymd) | {} |

**Returns:** [*DbEntity*](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

___

#### color

• `Optional` **color**: *number*

颜色.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### typename

• `Optional` **typename**: *string*

类型.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Implementation of: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="classesdefaultdbhatchmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbHatch

## Class: DbHatch

[default](#modulesdefaultmd).DbHatch

`DbHatch` 图案实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbHatch**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [pattern](#pattern)
- [patternAngle](#patternangle)
- [patternAssociative](#patternassociative)
- [patternBackgroundColor](#patternbackgroundcolor)
- [patternDouble](#patterndouble)
- [patternOrigin](#patternorigin)
- [patternScale](#patternscale)
- [patternSpace](#patternspace)
- [points](#points)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbHatch**(`prop?`: [*IDbHatch*](#interfacesdefaultidbhatchmd)): [*DbHatch*](#classesdefaultdbhatchmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbHatch*](#interfacesdefaultidbhatchmd) | {} |

**Returns:** [*DbHatch*](#classesdefaultdbhatchmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### pattern

• `Optional` **pattern**: *string*

填充图案, 缺省 SOLID

___

#### patternAngle

• `Optional` **patternAngle**: *number*

填充角度

___

#### patternAssociative

• `Optional` **patternAssociative**: *boolean*

是否关联

___

#### patternBackgroundColor

• `Optional` **patternBackgroundColor**: *number*

填充背景色

___

#### patternDouble

• `Optional` **patternDouble**: *boolean*

指定用户定义的图案填充是否双向填充

___

#### patternOrigin

• `Optional` **patternOrigin**: [*number*, *number*]

填充原点坐标

___

#### patternScale

• `Optional` **patternScale**: *number*

填充比例

___

#### patternSpace

• `Optional` **patternSpace**: *number*

填充间距

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][] \| [*number*, *number*, *undefined* \| *number*][][]

坐标.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdblayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbLayer

## Class: DbLayer

[default](#modulesdefaultmd).DbLayer

`DbLayer` 图层.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

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

### Constructors

#### constructor

\+ **new DbLayer**(`prop?`: [*IDbLayer*](#interfacesdefaultidblayermd)): [*DbLayer*](#classesdefaultdblayermd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbLayer*](#interfacesdefaultidblayermd) | {} |

**Returns:** [*DbLayer*](#classesdefaultdblayermd)

### Properties

#### color

• `Optional` **color**: *number*

图层颜色索引.

___

#### isFrozen

• `Optional` **isFrozen**: *boolean*

图层冻结.

___

#### isLocked

• `Optional` **isLocked**: *boolean*

图层锁定.

___

#### isOff

• `Optional` **isOff**: *boolean*

图层开关.

___

#### linetype

• `Optional` **linetype**: *string*

图层线型，缺省 CONTINUOUS .

___

#### name

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

图层名称. 如果要对所有图层进行修改时，请使用 \*all_layers\*


<a name="classesdefaultdblinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbLine

## Class: DbLine

[default](#modulesdefaultmd).DbLine

`DbLine` 线实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbLine**

### Implements

- [*IDbLine*](#interfacesdefaultidblinemd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [end](#end)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [start](#start)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbLine**(`prop?`: [*IDbLine*](#interfacesdefaultidblinemd)): [*DbLine*](#classesdefaultdblinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbLine*](#interfacesdefaultidblinemd) | {} |

**Returns:** [*DbLine*](#classesdefaultdblinemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[alpha](#alpha)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[color](#color)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[colorIndex](#colorindex)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### end

• `Optional` **end**: [*number*, *number*, *undefined* \| *number*]

终点.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[end](#end)

___

#### layer

• `Optional` **layer**: *string*

图层.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[layer](#layer)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[lineWidth](#linewidth)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[linetype](#linetype)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[linetypeScale](#linetypescale)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[matrix](#matrix)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### start

• `Optional` **start**: [*number*, *number*, *undefined* \| *number*]

起点.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[start](#start)

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[thickness](#thickness)

___

#### typename

• `Optional` **typename**: *string*

类型.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[typename](#typename)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[visibility](#visibility)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Implementation of: [IDbLine](#interfacesdefaultidblinemd).[xdata](#xdata)

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdblinetypemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbLineType

## Class: DbLineType

[default](#modulesdefaultmd).DbLineType

`DbLineType` 线型.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [comments](#comments)
- [name](#name)
- [style](#style)

### Constructors

#### constructor

\+ **new DbLineType**(`prop?`: [*IDbLinetype*](#interfacesdefaultidblinetypemd)): [*DbLineType*](#classesdefaultdblinetypemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbLinetype*](#interfacesdefaultidblinetypemd) | {} |

**Returns:** [*DbLineType*](#classesdefaultdblinetypemd)

### Properties

#### comments

• `Optional` **comments**: *string*

评论.

___

#### name

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

线型名称.

___

#### style

• `Optional` **style**: [*IDbLinetypeStyle*](#interfacesdefaultidblinetypestylemd)[]

线型样式 .


<a name="classesdefaultdbmleadermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbMLeader

## Class: DbMLeader

[default](#modulesdefaultmd).DbMLeader

`DbMLeader` 多重引线.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbMLeader**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowSize](#arrowsize)
- [blockConnectionType](#blockconnectiontype)
- [blockPosition](#blockposition)
- [blockRotation](#blockrotation)
- [blockScale](#blockscale)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [doglegLength](#dogleglength)
- [enableDogleg](#enabledogleg)
- [height](#height)
- [landingGap](#landinggap)
- [layer](#layer)
- [leaderLinePoint](#leaderlinepoint)
- [leaderVertexPoints](#leadervertexpoints)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textAttachment](#textattachment)
- [textAttachmentDirection](#textattachmentdirection)
- [textAttachmentType](#textattachmenttype)
- [textHeight](#textheight)
- [textLocation](#textlocation)
- [textRotation](#textrotation)
- [textStyle](#textstyle)
- [textWidth](#textwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbMLeader**(`prop?`: [*IDbMText*](#interfacesdefaultidbmtextmd)): [*DbMLeader*](#classesdefaultdbmleadermd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbMText*](#interfacesdefaultidbmtextmd) | {} |

**Returns:** [*DbMLeader*](#classesdefaultdbmleadermd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

___

#### blockConnectionType

• `Optional` **blockConnectionType**: ``0`` \| ``1``

___

#### blockPosition

• `Optional` **blockPosition**: [*number*, *number*, *undefined* \| *number*]

___

#### blockRotation

• `Optional` **blockRotation**: *number*

___

#### blockScale

• `Optional` **blockScale**: [*number*, *number*, *number*]

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容.

___

#### doglegLength

• `Optional` **doglegLength**: *number*

___

#### enableDogleg

• `Optional` **enableDogleg**: *boolean*

___

#### height

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

文本高.

___

#### landingGap

• `Optional` **landingGap**: *number*

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### leaderLinePoint

• `Optional` **leaderLinePoint**: [*number*, *number*, *undefined* \| *number*]

引线位置.

___

#### leaderVertexPoints

• `Optional` **leaderVertexPoints**: [*number*, *number*, *undefined* \| *number*][]

引线顶点位置数组.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### textAttachment

• `Optional` **textAttachment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright) \| [*kBaseLeft*](#kbaseleft) \| [*kBaseCenter*](#kbasecenter) \| [*kBaseRight*](#kbaseright) \| [*kBaseAlign*](#kbasealign) \| [*kBottomAlign*](#kbottomalign) \| [*kMiddleAlign*](#kmiddlealign) \| [*kTopAlign*](#ktopalign) \| [*kBaseFit*](#kbasefit) \| [*kBottomFit*](#kbottomfit) \| [*kMiddleFit*](#kmiddlefit) \| [*kTopFit*](#ktopfit) \| [*kBaseMid*](#kbasemid) \| [*kBottomMid*](#kbottommid) \| [*kMiddleMid*](#kmiddlemid) \| [*kTopMid*](#ktopmid)

文本对齐方式.

___

#### textAttachmentDirection

• `Optional` **textAttachmentDirection**: ``0`` \| ``1``

文本对齐方向. 0 水平 1 垂直

___

#### textAttachmentType

• `Optional` **textAttachmentType**: *number*[]

文本对齐类型. type(0-10) value(0-4) [type1, value1, type2, value2....]

___

#### textHeight

• `Optional` **textHeight**: *number*

文本高.

___

#### textLocation

• `Optional` **textLocation**: [*number*, *number*, *undefined* \| *number*]

文本位置.

___

#### textRotation

• `Optional` **textRotation**: *number*

文本旋转角度.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### textWidth

• `Optional` **textWidth**: *number*

文本宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbmtextmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbMText

## Class: DbMText

[default](#modulesdefaultmd).DbMText

`DbMText` 多行文本实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbMText**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [attachment](#attachment)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [height](#height)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [location](#location)
- [matrix](#matrix)
- [rotation](#rotation)
- [textHeight](#textheight)
- [textStyle](#textstyle)
- [typename](#typename)
- [visibility](#visibility)
- [width](#width)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbMText**(`prop?`: [*IDbMText*](#interfacesdefaultidbmtextmd)): [*DbMText*](#classesdefaultdbmtextmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbMText*](#interfacesdefaultidbmtextmd) | {} |

**Returns:** [*DbMText*](#classesdefaultdbmtextmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### attachment

• `Optional` **attachment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright) \| [*kBaseLeft*](#kbaseleft) \| [*kBaseCenter*](#kbasecenter) \| [*kBaseRight*](#kbaseright) \| [*kBaseAlign*](#kbasealign) \| [*kBottomAlign*](#kbottomalign) \| [*kMiddleAlign*](#kmiddlealign) \| [*kTopAlign*](#ktopalign) \| [*kBaseFit*](#kbasefit) \| [*kBottomFit*](#kbottomfit) \| [*kMiddleFit*](#kmiddlefit) \| [*kTopFit*](#ktopfit) \| [*kBaseMid*](#kbasemid) \| [*kBottomMid*](#kbottommid) \| [*kMiddleMid*](#kmiddlemid) \| [*kTopMid*](#ktopmid)

对齐方式.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容.

___

#### height

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

高.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### location

• `Optional` **location**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### textHeight

• `Optional` **textHeight**: *number*

文本高.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### width

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

宽.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbordinatedimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbOrdinateDimension

## Class: DbOrdinateDimension

[default](#modulesdefaultmd).DbOrdinateDimension

`DbOrdinateDimension`  坐标标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbOrdinateDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [definingPoint](#definingpoint)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderEndPoint](#leaderendpoint)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [origin](#origin)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [useXAxis](#usexaxis)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbOrdinateDimension**(`prop?`: [*IDbOrdinateDimension*](#interfacesdefaultidbordinatedimensionmd)): [*DbOrdinateDimension*](#classesdefaultdbordinatedimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbOrdinateDimension*](#interfacesdefaultidbordinatedimensionmd) | {} |

**Returns:** [*DbOrdinateDimension*](#classesdefaultdbordinatedimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### definingPoint

• `Optional` **definingPoint**: [*number*, *number*, *undefined* \| *number*][]

定义点.

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### leaderEndPoint

• `Optional` **leaderEndPoint**: [*number*, *number*, *undefined* \| *number*][]

引线点.

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*][]

基点.

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### useXAxis

• `Optional` **useXAxis**: *boolean*

是否用X轴.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbPolyline

## Class: DbPolyline

[default](#modulesdefaultmd).DbPolyline

`DbPolyline` 多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [bulge](#bulge)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [endWidth](#endwidth)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [startWidth](#startwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbPolyline**(`prop?`: [*IDbPolyline*](#interfacesdefaultidbpolylinemd)): [*DbPolyline*](#classesdefaultdbpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbPolyline*](#interfacesdefaultidbpolylinemd) | {} |

**Returns:** [*DbPolyline*](#classesdefaultdbpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### bulge

• `Optional` **bulge**: *number*[]

凸度.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### endWidth

• `Optional` **endWidth**: *number*[]

终点宽.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### startWidth

• `Optional` **startWidth**: *number*[]

起点宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdbradialdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbRadialDimension

## Class: DbRadialDimension

[default](#modulesdefaultmd).DbRadialDimension

`DbRadialDimension` 半径标注实体

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRadialDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [center](#center)
- [chordPoint](#chordpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRadialDimension**(`prop?`: [*IDbRadialDimension*](#interfacesdefaultidbradialdimensionmd)): [*DbRadialDimension*](#classesdefaultdbradialdimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRadialDimension*](#interfacesdefaultidbradialdimensionmd) | {} |

**Returns:** [*DbRadialDimension*](#classesdefaultdbradialdimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbradialdimensionlargemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbRadialDimensionLarge

## Class: DbRadialDimensionLarge

[default](#modulesdefaultmd).DbRadialDimensionLarge

`DbRadialDimensionLarge` 半径折线标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRadialDimensionLarge**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [center](#center)
- [chordPoint](#chordpoint)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [jogAngle](#jogangle)
- [jogPoint](#jogpoint)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [overrideCenter](#overridecenter)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRadialDimensionLarge**(`prop?`: [*IDbRadialDimensionLarge*](#interfacesdefaultidbradialdimensionlargemd)): [*DbRadialDimensionLarge*](#classesdefaultdbradialdimensionlargemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRadialDimensionLarge*](#interfacesdefaultidbradialdimensionlargemd) | {} |

**Returns:** [*DbRadialDimensionLarge*](#classesdefaultdbradialdimensionlargemd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### jogAngle

• `Optional` **jogAngle**: *number*

设置此Dimension实体的折角。.

___

#### jogPoint

• `Optional` **jogPoint**: [*number*, *number*, *undefined* \| *number*][]

设置此Dimension实体的折角点。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### overrideCenter

• `Optional` **overrideCenter**: [*number*, *number*, *undefined* \| *number*][]

设置由该Dimension实体确定尺寸的弧的WCS覆盖中心。.

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbrasterimagemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbRasterImage

## Class: DbRasterImage

[default](#modulesdefaultmd).DbRasterImage

`DbRasterImage` 栅格图像实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbRasterImage**

  ↳↳ [*DbWipeout*](#classesdefaultdbwipeoutmd)

  ↳↳ [*DbWipeout*](#classesdbwipeoutmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [heightRatio](#heightratio)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [widthRatio](#widthratio)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Constructors

#### constructor

\+ **new DbRasterImage**(`prop?`: [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd)): [*DbRasterImage*](#classesdefaultdbrasterimagemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd) | {} |

**Returns:** [*DbRasterImage*](#classesdefaultdbrasterimagemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### heightRatio

• `Optional` **heightRatio**: *number*

高比例..

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### widthRatio

• `Optional` **widthRatio**: *number*

宽比例.

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.


<a name="classesdefaultdbrotateddimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbRotatedDimension

## Class: DbRotatedDimension

[default](#modulesdefaultmd).DbRotatedDimension

`DbRotatedDimension` 转角标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRotatedDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimLinePoint](#dimlinepoint)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRotatedDimension**(`prop?`: [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd)): [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd) | {} |

**Returns:** [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点。.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线上点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线上点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbshapemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbShape

## Class: DbShape

[default](#modulesdefaultmd).DbShape

`DbShape` 型实体

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbShape**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [name](#name)
- [normal](#normal)
- [position](#position)
- [rotation](#rotation)
- [size](#size)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbShape**(`prop?`: [*IDbShape*](#interfacesdefaultidbshapemd)): [*DbShape*](#classesdefaultdbshapemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbShape*](#interfacesdefaultidbshapemd) | {} |

**Returns:** [*DbShape*](#classesdefaultdbshapemd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### name

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

型名称.

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### size

• `Optional` **size**: *number*

大小.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbsplinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbSpline

## Class: DbSpline

[default](#modulesdefaultmd).DbSpline

`DbSpline` 样条曲线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbSpline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [controlPoints](#controlpoints)
- [degree](#degree)
- [fitPoints](#fitpoints)
- [fitTol](#fittol)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbSpline**(`prop?`: [*IDbSpline*](#interfacesdefaultidbsplinemd)): [*DbSpline*](#classesdefaultdbsplinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbSpline*](#interfacesdefaultidbsplinemd) | {} |

**Returns:** [*DbSpline*](#classesdefaultdbsplinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### controlPoints

• `Optional` **controlPoints**: [*number*, *number*, *undefined* \| *number*][]

控制点.

___

#### degree

• `Optional` **degree**: *number*

Increased the degree of this spline to the specified value.

___

#### fitPoints

• `Optional` **fitPoints**: [*number*, *number*, *undefined* \| *number*][]

拟合点.

___

#### fitTol

• `Optional` **fitTol**: *number*

the curve fitting tolerance for this Spline entity.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdbtablemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbTable

## Class: DbTable

[default](#modulesdefaultmd).DbTable

`DbBlockReference` 块参照实体.

### Hierarchy

- [*DbBlockReference*](#classesdefaultdbblockreferencemd)

  ↳ **DbTable**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alignment](#alignment)
- [alpha](#alpha)
- [attribute](#attribute)
- [backgroundColor](#backgroundcolor)
- [blockname](#blockname)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [columnWidth](#columnwidth)
- [contentColor](#contentcolor)
- [data](#data)
- [directionBottomToTop](#directionbottomtotop)
- [disableTitle](#disabletitle)
- [gridColor](#gridcolor)
- [gridVisibility](#gridvisibility)
- [horzCellMargin](#horzcellmargin)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [mergeCells](#mergecells)
- [normal](#normal)
- [numColumns](#numcolumns)
- [numRows](#numrows)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [rowHeight](#rowheight)
- [scaleFactors](#scalefactors)
- [tableStyleName](#tablestylename)
- [textHeight](#textheight)
- [typename](#typename)
- [vertCellMargin](#vertcellmargin)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbTable**(`prop?`: [*IDbTable*](#interfacesdefaultidbtablemd)): [*DbTable*](#classesdefaultdbtablemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbTable*](#interfacesdefaultidbtablemd) | {} |

**Returns:** [*DbTable*](#classesdefaultdbtablemd)

Overrides: [DbBlockReference](#classesdefaultdbblockreferencemd)

### Properties

#### alignment

• `Optional` **alignment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright)

单元格对齐方式(所有单元格).

___

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[alpha](#alpha)

___

#### attribute

• `Optional` **attribute**: *Record*<string, string \| number \| [*DbText*](#classesdefaultdbtextmd)\>

属性字段值

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[attribute](#attribute)

___

#### backgroundColor

• `Optional` **backgroundColor**: *number*

背景颜色(所有单元格).

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[blockname](#blockname)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[colorIndex](#colorindex)

___

#### columnWidth

• `Optional` **columnWidth**: *number*

列宽.

___

#### contentColor

• `Optional` **contentColor**: *number*

文字颜色(所有单元格).

___

#### data

• `Optional` **data**: (*string* \| { `alignment`: [*TableCellAlignment*](#enumsdefaulttablecellalignmentmd) ; `backgroundColor`: *number* ; `contentColor`: *number* ; `gridColor`: *number* ; `gridVisibility`: *boolean* ; `text`: *string* ; `textHeight`: *number*  })[][]

数据.

___

#### directionBottomToTop

• `Optional` **directionBottomToTop**: *boolean*

表格方向是否从上至上.

___

#### disableTitle

• `Optional` **disableTitle**: *boolean*

是否禁用标题.

___

#### gridColor

• `Optional` **gridColor**: *number*

网格线颜色(所有单元格).

___

#### gridVisibility

• `Optional` **gridVisibility**: [*boolean*, *number*, *number*]

显示网格线.第二个参数(kHorzTop(1), kHorzInside(2), kHorzBottom(4), kVertLeft(8), kVertInside(16), kVertRight(32);  第三个参数 kTitleRow(1), kHeaderRow(2), kDataRow(4)

___

#### horzCellMargin

• `Optional` **horzCellMargin**: *number*

水平方向单元格边距.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[matrix](#matrix)

___

#### mergeCells

• `Optional` **mergeCells**: [*number*, *number*, *number*, *number*][]

需要合并的单元格 [[minRow, maxRow,minColumn, maxColumn], ...]

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[normal](#normal)

___

#### numColumns

• `Optional` **numColumns**: *number*

表格列数.

___

#### numRows

• `Optional` **numRows**: *number*

表格行数.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[position](#position)

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[ref](#ref)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[rotation](#rotation)

___

#### rowHeight

• `Optional` **rowHeight**: *number*

行高.

___

#### scaleFactors

• `Optional` **scaleFactors**: [*number*, *number*, *undefined* \| *number*]

缩放因子. [x方向，y方向,z方向]

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[scaleFactors](#scalefactors)

___

#### tableStyleName

• `Optional` **tableStyleName**: *string*

表样式名称.

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度(所有单元格).

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[typename](#typename)

___

#### vertCellMargin

• `Optional` **vertCellMargin**: *number*

竖直方向单元格边距.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbBlockReference](#classesdefaultdbblockreferencemd).[xdata](#xdata)


<a name="classesdefaultdbtextmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbText

## Class: DbText

[default](#modulesdefaultmd).DbText

`DbText` 文本实体.

### Hierarchy

- [*DbEntity*](#classesdefaultdbentitymd)

  ↳ **DbText**

  ↳↳ [*DbAttributeDefinition*](#classesdefaultdbattributedefinitionmd)

  ↳↳ [*DbAttributeDefinition*](#classesdbattributedefinitionmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [height](#height)
- [horizontalMode](#horizontalmode)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [position](#position)
- [rotation](#rotation)
- [text](#text)
- [textStyle](#textstyle)
- [typename](#typename)
- [verticalMode](#verticalmode)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbText**(`prop?`: [*IDbText*](#interfacesdefaultidbtextmd)): [*DbText*](#classesdefaultdbtextmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbText*](#interfacesdefaultidbtextmd) | {} |

**Returns:** [*DbText*](#classesdefaultdbtextmd)

Overrides: [DbEntity](#classesdefaultdbentitymd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbEntity](#classesdefaultdbentitymd).[alpha](#alpha)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbEntity](#classesdefaultdbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容， 同text.

___

#### height

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

高.

___

#### horizontalMode

• `Optional` **horizontalMode**: [*kTextLeft*](#ktextleft) \| [*kTextCenter*](#ktextcenter) \| [*kTextRight*](#ktextright) \| [*kTextAlign*](#ktextalign) \| [*kTextMid*](#ktextmid) \| [*kTextFit*](#ktextfit)

水平模式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[matrix](#matrix)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### text

• `Optional` **text**: *string*

文本内容， 同contents.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[typename](#typename)

___

#### verticalMode

• `Optional` **verticalMode**: [*kTextBase*](#ktextbase) \| [*kTextBottom*](#ktextbottom) \| [*kTextVertMid*](#ktextvertmid) \| [*kTextTop*](#ktexttop)

垂直模式.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbEntity](#classesdefaultdbentitymd).[xdata](#xdata)


<a name="classesdefaultdbtextstylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbTextStyle

## Class: DbTextStyle

[default](#modulesdefaultmd).DbTextStyle

`DbTextStyle` 文字样式.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [bold](#bold)
- [charset](#charset)
- [fileName](#filename)
- [isShapeFile](#isshapefile)
- [italic](#italic)
- [name](#name)
- [obliquingAngle](#obliquingangle)
- [pitchAndFamily](#pitchandfamily)
- [priorSize](#priorsize)
- [textSize](#textsize)
- [typeFace](#typeface)
- [xScale](#xscale)

### Constructors

#### constructor

\+ **new DbTextStyle**(`prop?`: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)): [*DbTextStyle*](#classesdefaultdbtextstylemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbTextStyle*](#interfacesdefaultidbtextstylemd) | {} |

**Returns:** [*DbTextStyle*](#classesdefaultdbtextstylemd)

### Properties

#### bold

• `Optional` **bold**: *boolean*

是否粗体 .

___

#### charset

• `Optional` **charset**: *number*

字符集标识符，缺省0 .

___

#### fileName

• `Optional` **fileName**: *string*

字体文件名 .

___

#### isShapeFile

• `Optional` **isShapeFile**: *boolean*

是否型文件.

___

#### italic

• `Optional` **italic**: *boolean*

是否斜体 .

___

#### name

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

文字样式名称.

___

#### obliquingAngle

• `Optional` **obliquingAngle**: *number*

设置字母的倾斜角度。正角度顺时针（向右）倾斜字母。负值使字母逆时针倾斜（向左）。通过将值2*PI相加，将负值转换为其正当量。 默认情况下，初始值为0.0.

___

#### pitchAndFamily

• `Optional` **pitchAndFamily**: *number*

字符间距和族，缺省34 .

___

#### priorSize

• `Optional` **priorSize**: *number*

设置最近使用此文本样式创建的文本的先前大小 .

___

#### textSize

• `Optional` **textSize**: *number*

文本大小 .

___

#### typeFace

• `Optional` **typeFace**: *string*

字体 .

___

#### xScale

• `Optional` **xScale**: *number*

x轴缩放 .


<a name="classesdefaultdbwipeoutmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbWipeout

## Class: DbWipeout

[default](#modulesdefaultmd).DbWipeout

`DbWipeout` 遮罩实体.

### Hierarchy

- [*DbRasterImage*](#classesdefaultdbrasterimagemd)

  ↳ **DbWipeout**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [heightRatio](#heightratio)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [points](#points)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [widthRatio](#widthratio)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Constructors

#### constructor

\+ **new DbWipeout**(`prop?`: [*IDbWipeout*](#interfacesdefaultidbwipeoutmd)): [*DbWipeout*](#classesdefaultdbwipeoutmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbWipeout*](#interfacesdefaultidbwipeoutmd) | {} |

**Returns:** [*DbWipeout*](#classesdefaultdbwipeoutmd)

Overrides: [DbRasterImage](#classesdefaultdbrasterimagemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[brightness](#brightness)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[colorIndex](#colorindex)

___

#### heightRatio

• `Optional` **heightRatio**: *number*

高比例..

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[heightRatio](#heightratio)

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptClip](#imagedisplayoptclip)

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptShow](#imagedisplayoptshow)

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[imageDisplayOptTransparent](#imagedisplayopttransparent)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[matrix](#matrix)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[pixelHeight](#pixelheight)

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[pixelWidth](#pixelwidth)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[position](#position)

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[sourceHttpUrl](#sourcehttpurl)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[units](#units)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[visibility](#visibility)

___

#### widthRatio

• `Optional` **widthRatio**: *number*

宽比例.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[widthRatio](#widthratio)

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[xPelsPerUnit](#xpelsperunit)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.

Inherited from: [DbRasterImage](#classesdefaultdbrasterimagemd).[yPelsPerUnit](#ypelsperunit)


<a name="classesdefaultdecklayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DeckLayer

## Class: DeckLayer

[default](#modulesdefaultmd).DeckLayer

deck.gl图层.

### Hierarchy

- *Evented*

  ↳ **DeckLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [deckNs](#deckns)
- [id](#id)
- [layer](#layer)
- [renderingMode](#renderingmode)
- [type](#type)

#### Methods

- [onAdd](#onadd)
- [onRemove](#onremove)
- [render](#render)
- [setProps](#setprops)

### Constructors

#### constructor

\+ **new DeckLayer**(`props`: *any*): [*DeckLayer*](#classesdefaultdecklayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `props` | *any* |

**Returns:** [*DeckLayer*](#classesdefaultdecklayermd)

Overrides: Evented.constructor

### Properties

#### deckNs

• **deckNs**: *object*

___

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### layer

• **layer**: *object*

___

#### renderingMode

• `Optional` **renderingMode**: ``"2d"`` \| ``"3d"``

Implementation of: CustomLayerInterface.renderingMode

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### onAdd

▸ **onAdd**(`map`: *any*, `gl`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `gl` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### render

▸ **render**(`gl`: *any*, `matrix`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | *any* |
| `matrix` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### setProps

▸ **setProps**(`props`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `props` | *any* |

**Returns:** *void*


<a name="classesdefaultdiffusedaperturemarkermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DiffusedApertureMarker

## Class: DiffusedApertureMarker

[default](#modulesdefaultmd).DiffusedApertureMarker

扩散的点.

### Hierarchy

- *MarkerBase*

  ↳ **DiffusedApertureMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new DiffusedApertureMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*DiffusedApertureMarker*](#classesdefaultdiffusedaperturemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*DiffusedApertureMarker*](#classesdefaultdiffusedaperturemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesdefaultdivoverlaymd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DivOverlay

## Class: DivOverlay

[default](#modulesdefaultmd).DivOverlay

在一个地理范围内创建一个随缩放而缩放的div的覆盖物
注：如果是svg，则需设置为 viewBox="0 0 width height" preserveAspectRatio="xMinYMin meet", updateDivSize选项设置为true

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [isRemoved](#isremoved)
- [isShow](#isshow)
- [maxPitch](#maxpitch)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [options](#options)
- [parentContainer](#parentcontainer)

#### Methods

- [addTo](#addto)
- [remove](#remove)
- [setVisible](#setvisible)
- [updateBounds](#updatebounds)
- [updateSize](#updatesize)

### Constructors

#### constructor

\+ **new DivOverlay**(`options`: [*DivOverlayOptions*](#interfacesdefaultdivoverlayoptionsmd)): [*DivOverlay*](#classesdefaultdivoverlaymd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*DivOverlayOptions*](#interfacesdefaultdivoverlayoptionsmd) |

**Returns:** [*DivOverlay*](#classesdefaultdivoverlaymd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

___

#### isRemoved

• **isRemoved**: *boolean*

___

#### isShow

• **isShow**: *boolean*

___

#### maxPitch

• **maxPitch**: *number*

___

#### maxZoom

• **maxZoom**: *number*

___

#### minZoom

• **minZoom**: *number*

___

#### options

• **options**: [*DivOverlayOptions*](#interfacesdefaultdivoverlayoptionsmd)

___

#### parentContainer

• `Optional` **parentContainer**: HTMLElement

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `insertId?`: *string* \| HTMLElement): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `insertId?` | *string* \| HTMLElement |

**Returns:** *void*

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### setVisible

▸ **setVisible**(`visible?`: *boolean*, `isDisplay?`: *boolean*): *void*

设置是否显示隐藏

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `visible?` | *boolean* | 是否显示 |
| `isDisplay?` | *boolean* | true的话，表示用style的display去控制隐藏显示，dom还在文档中。false的话，会从文档动态清空增加 |

**Returns:** *void*

___

#### updateBounds

▸ **updateBounds**(`bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [[*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike)]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) \| [[*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike)] |

**Returns:** *void*

___

#### updateSize

▸ **updateSize**(`width`: *number*, `height`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `height` | *number* |

**Returns:** *void*


<a name="classesdefaultdrawtoolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DrawTool

## Class: DrawTool

[default](#modulesdefaultmd).DrawTool

### Implements

- [*IDrawTool*](#interfacesdefaultidrawtoolmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [add](#add)
- [changeMode](#changemode)
- [combineFeatures](#combinefeatures)
- [delete](#delete)
- [deleteAll](#deleteall)
- [doAction](#doaction)
- [forceRefresh](#forcerefresh)
- [get](#get)
- [getAll](#getall)
- [getFeatureIdsAt](#getfeatureidsat)
- [getMode](#getmode)
- [getSelected](#getselected)
- [getSelectedIds](#getselectedids)
- [getSelectedPoints](#getselectedpoints)
- [modes](#modes)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [options](#options)
- [redo](#redo)
- [set](#set)
- [setFeatureProperty](#setfeatureproperty)
- [trash](#trash)
- [uncombineFeatures](#uncombinefeatures)
- [undo](#undo)

### Constructors

#### constructor

\+ **new DrawTool**(`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)): [*DrawTool*](#classesdefaultdrawtoolmd)

构造函数

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*IDrawOptions*](#interfacesdefaultidrawoptionsmd) |

**Returns:** [*DrawTool*](#classesdefaultdrawtoolmd)

### Properties

#### add

• **add**: (`geojson`: *any*) => *string*[]

此方法采用 GeoJSON Feature、FeatureCollection 或 Geometry 并将其添加到 Draw。它返回一个 id 数组，用于与添加的功能进行交互。如果某个功能没有自己的 id，则会自动生成一个

##### Type declaration

▸ (`geojson`: *any*): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `geojson` | *any* |

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[add](#add)

___

#### changeMode

• **changeMode**: (`mode`: *string*, `modeOptions?`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

将绘图更改为另一种模式。返回用于链接的绘制实例

##### Type declaration

▸ (`mode`: *string*, `modeOptions?`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `mode` | *string* |
| `modeOptions?` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[changeMode](#changemode)

___

#### combineFeatures

• **combineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的combineFeatures操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[combineFeatures](#combinefeatures)

___

#### delete

• **delete**: (`featureIds`: *string* \| *string*[]) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除具有指定 ID 的功能。返回用于链接的绘制实例

##### Type declaration

▸ (`featureIds`: *string* \| *string*[]): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureIds` | *string* \| *string*[] |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[delete](#delete)

___

#### deleteAll

• **deleteAll**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除所有功能。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[deleteAll](#deleteall)

___

#### doAction

• **doAction**: (`actionName`: *string*) => *any*

在当前模式下执行动作

##### Type declaration

▸ (`actionName`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `actionName` | *string* |

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[doAction](#doaction)

___

#### forceRefresh

• **forceRefresh**: () => *any*

强制刷新

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[forceRefresh](#forcerefresh)

___

#### get

• **get**: (`id`: *string*) => *any*

返回 Draw 中具有指定 id 的 GeoJSON 功能，或者undefined如果 id 不匹配任何功能

##### Type declaration

▸ (`id`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `id` | *string* |

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[get](#get)

___

#### getAll

• **getAll**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getAll](#getall)

___

#### getFeatureIdsAt

• **getFeatureIdsAt**: (`point`: { `x`: *number* ; `y`: *number*  }) => *string*[]

返回当前在指定点呈现的功能的功能 ID 数组。

##### Type declaration

▸ (`point`: { `x`: *number* ; `y`: *number*  }): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | *object* |
| `point.x` | *number* |
| `point.y` | *number* |

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getFeatureIdsAt](#getfeatureidsat)

___

#### getMode

• **getMode**: () => *string*

返回 Draw 的当前模式

##### Type declaration

▸ (): *string*

**Returns:** *string*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getMode](#getmode)

___

#### getSelected

• **getSelected**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回当前选择的所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getSelected](#getselected)

___

#### getSelectedIds

• **getSelectedIds**: () => *string*[]

返回当前所选功能的功能 ID 数组

##### Type declaration

▸ (): *string*[]

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getSelectedIds](#getselectedids)

___

#### getSelectedPoints

• **getSelectedPoints**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回代表当前选择的所有顶点的 FeatureCollection 点

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getSelectedPoints](#getselectedpoints)

___

#### modes

• **modes**: *Record*<string, any\>

内部变量模式值

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[modes](#modes)

___

#### onAdd

• **onAdd**: (`map`: *any*) => *any*

增加时回调接口

##### Type declaration

▸ (`map`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[onAdd](#onadd)

___

#### onRemove

• **onRemove**: () => *any*

移除时回调接口

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[onRemove](#onremove)

___

#### options

• **options**: *Record*<string, any\>

内部变量选项值

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[options](#options)

___

#### redo

• **redo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[redo](#redo)

___

#### set

• **set**: (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>) => *string*[]

将 Draw 的功能设置为指定的 FeatureCollection

##### Type declaration

▸ (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureCollection` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[set](#set)

___

#### setFeatureProperty

• **setFeatureProperty**: (`featureId`: *string*, `property`: *string*, `value`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

设置具有指定 id 的要素的属性值。返回用于链接的绘制实例

##### Type declaration

▸ (`featureId`: *string*, `property`: *string*, `value`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureId` | *string* |
| `property` | *string* |
| `value` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[setFeatureProperty](#setfeatureproperty)

___

#### trash

• **trash**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的删除trash操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[trash](#trash)

___

#### uncombineFeatures

• **uncombineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[uncombineFeatures](#uncombinefeatures)

___

#### undo

• **undo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[undo](#undo)


<a name="classesdefaultellipseedgemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / EllipseEdge

## Class: EllipseEdge

[default](#modulesdefaultmd).EllipseEdge

创建只有边框的椭圆或椭圆弧

### Hierarchy

- [*Polyline*](#classesdefaultpolylinemd)

  ↳ **EllipseEdge**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getLineBlur](#getlineblur)
- [getLineCap](#getlinecap)
- [getLineColor](#getlinecolor)
- [getLineDasharray](#getlinedasharray)
- [getLineGapWidth](#getlinegapwidth)
- [getLineGradient](#getlinegradient)
- [getLineJoin](#getlinejoin)
- [getLineMiterMimit](#getlinemitermimit)
- [getLineOffset](#getlineoffset)
- [getLineOpacity](#getlineopacity)
- [getLinePattern](#getlinepattern)
- [getLineRoundLimit](#getlineroundlimit)
- [getLineSortKey](#getlinesortkey)
- [getLineTranslate](#getlinetranslate)
- [getLineTranslateAnchor](#getlinetranslateanchor)
- [getLineWidth](#getlinewidth)
- [getMajorAxisRadius](#getmajoraxisradius)
- [getMinorAxisRadius](#getminoraxisradius)
- [getPoints](#getpoints)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setLineBlur](#setlineblur)
- [setLineCap](#setlinecap)
- [setLineColor](#setlinecolor)
- [setLineDasharray](#setlinedasharray)
- [setLineGapWidth](#setlinegapwidth)
- [setLineGradient](#setlinegradient)
- [setLineJoin](#setlinejoin)
- [setLineMiterMimit](#setlinemitermimit)
- [setLineOffset](#setlineoffset)
- [setLineOpacity](#setlineopacity)
- [setLinePattern](#setlinepattern)
- [setLineRoundLimit](#setlineroundlimit)
- [setLineSortKey](#setlinesortkey)
- [setLineTranslate](#setlinetranslate)
- [setLineTranslateAnchor](#setlinetranslateanchor)
- [setLineWidth](#setlinewidth)
- [setMajorAxisRadius](#setmajoraxisradius)
- [setMinorAxisRadius](#setminoraxisradius)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new EllipseEdge**(`options`: [*EllipseEdgeOptions*](#interfacesdefaultellipseedgeoptionsmd)): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*EllipseEdgeOptions*](#interfacesdefaultellipseedgeoptionsmd) |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Overrides: [Polyline](#classesdefaultpolylinemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polyline](#classesdefaultpolylinemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[layerId](#layerid)

___

#### options

• **options**: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

Inherited from: [Polyline](#classesdefaultpolylinemd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polyline](#classesdefaultpolylinemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineBlur

▸ **getLineBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineCap

▸ **getLineCap**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineColor

▸ **getLineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineDasharray

▸ **getLineDasharray**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGapWidth

▸ **getLineGapWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGradient

▸ **getLineGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineJoin

▸ **getLineJoin**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineMiterMimit

▸ **getLineMiterMimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOffset

▸ **getLineOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOpacity

▸ **getLineOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLinePattern

▸ **getLinePattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineRoundLimit

▸ **getLineRoundLimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineSortKey

▸ **getLineSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslate

▸ **getLineTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslateAnchor

▸ **getLineTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineWidth

▸ **getLineWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getMajorAxisRadius

▸ **getMajorAxisRadius**(): *number*

得到长轴半径。

**Returns:** *number*

___

#### getMinorAxisRadius

▸ **getMinorAxisRadius**(): *number*

得到短轴半径。

**Returns:** *number*

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineBlur

▸ **setLineBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineCap

▸ **setLineCap**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineColor

▸ **setLineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineDasharray

▸ **setLineDasharray**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGapWidth

▸ **setLineGapWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGradient

▸ **setLineGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineJoin

▸ **setLineJoin**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineMiterMimit

▸ **setLineMiterMimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOffset

▸ **setLineOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOpacity

▸ **setLineOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLinePattern

▸ **setLinePattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineRoundLimit

▸ **setLineRoundLimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineSortKey

▸ **setLineSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslate

▸ **setLineTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslateAnchor

▸ **setLineTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineWidth

▸ **setLineWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setMajorAxisRadius

▸ **setMajorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置长轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setMinorAxisRadius

▸ **setMinorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置短轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classesdefaultellipsefillmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / EllipseFill

## Class: EllipseFill

[default](#modulesdefaultmd).EllipseFill

创建填充的的椭圆或椭圆弧

### Hierarchy

- [*Polygon*](#classesdefaultpolygonmd)

  ↳ **EllipseFill**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getFillAntialias](#getfillantialias)
- [getFillColor](#getfillcolor)
- [getFillOpacity](#getfillopacity)
- [getFillOutlineColor](#getfilloutlinecolor)
- [getFillPattern](#getfillpattern)
- [getFillSortKey](#getfillsortkey)
- [getFillTranslate](#getfilltranslate)
- [getFillTranslateAnchor](#getfilltranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getMajorAxisRadius](#getmajoraxisradius)
- [getMinorAxisRadius](#getminoraxisradius)
- [getPoints](#getpoints)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFillAntialias](#setfillantialias)
- [setFillColor](#setfillcolor)
- [setFillOpacity](#setfillopacity)
- [setFillOutlineColor](#setfilloutlinecolor)
- [setFillPattern](#setfillpattern)
- [setFillSortKey](#setfillsortkey)
- [setFillTranslate](#setfilltranslate)
- [setFillTranslateAnchor](#setfilltranslateanchor)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setMajorAxisRadius](#setmajoraxisradius)
- [setMinorAxisRadius](#setminoraxisradius)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new EllipseFill**(`options`: [*EllipseFillOptions*](#interfacesdefaultellipsefilloptionsmd)): [*EllipseFill*](#classesdefaultellipsefillmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*EllipseFillOptions*](#interfacesdefaultellipsefilloptionsmd) |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Overrides: [Polygon](#classesdefaultpolygonmd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polygon](#classesdefaultpolygonmd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[layerId](#layerid)

___

#### options

• **options**: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

Inherited from: [Polygon](#classesdefaultpolygonmd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polygon](#classesdefaultpolygonmd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getFillAntialias

▸ **getFillAntialias**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

获取图层的“填充抗锯齿”绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillColor

▸ **getFillColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOpacity

▸ **getFillOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的 `fill-opacity` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOutlineColor

▸ **getFillOutlineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-outline-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillPattern

▸ **getFillPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的`fill-pattern` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillSortKey

▸ **getFillSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的`fill-sort-key` 布局属性.

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslate

▸ **getFillTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

获取图层的 `fill-translate` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslateAnchor

▸ **getFillTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

获取图层的 `fill-translate-anchor` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getMajorAxisRadius

▸ **getMajorAxisRadius**(): *number*

得到长轴半径。

**Returns:** *number*

___

#### getMinorAxisRadius

▸ **getMinorAxisRadius**(): *number*

得到短轴半径。

**Returns:** *number*

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setFillAntialias

▸ **setFillAntialias**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-antialias` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillColor

▸ **setFillColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOpacity

▸ **setFillOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-opacity` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOutlineColor

▸ **setFillOutlineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-outline-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillPattern

▸ **setFillPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-pattern` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillSortKey

▸ **setFillSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一层或多层设置`fill-sort-key`布局属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslate

▸ **setFillTranslate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-translate` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslateAnchor

▸ **setFillTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-translate-anchor` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setMajorAxisRadius

▸ **setMajorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置长轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setMinorAxisRadius

▸ **setMinorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置短轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classesdefaultfillextrusionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / FillExtrusion

## Class: FillExtrusion

[default](#modulesdefaultmd).FillExtrusion

创建拉伸的多边形.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **FillExtrusion**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getFillExtrusionBase](#getfillextrusionbase)
- [getFillExtrusionColor](#getfillextrusioncolor)
- [getFillExtrusionHeight](#getfillextrusionheight)
- [getFillExtrusionOpacity](#getfillextrusionopacity)
- [getFillExtrusionPattern](#getfillextrusionpattern)
- [getFillExtrusionTranslate](#getfillextrusiontranslate)
- [getFillExtrusionTranslateAnchor](#getfillextrusiontranslateanchor)
- [getFillExtrusionVerticalGradient](#getfillextrusionverticalgradient)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFillExtrusionBase](#setfillextrusionbase)
- [setFillExtrusionColor](#setfillextrusioncolor)
- [setFillExtrusionHeight](#setfillextrusionheight)
- [setFillExtrusionOpacity](#setfillextrusionopacity)
- [setFillExtrusionPattern](#setfillextrusionpattern)
- [setFillExtrusionTranslate](#setfillextrusiontranslate)
- [setFillExtrusionTranslateAnchor](#setfillextrusiontranslateanchor)
- [setFillExtrusionVerticalGradient](#setfillextrusionverticalgradient)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new FillExtrusion**(`options`: [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd)): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd) |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getFillExtrusionBase

▸ **getFillExtrusionBase**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillExtrusionColor

▸ **getFillExtrusionColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillExtrusionHeight

▸ **getFillExtrusionHeight**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillExtrusionOpacity

▸ **getFillExtrusionOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getFillExtrusionPattern

▸ **getFillExtrusionPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillExtrusionTranslate

▸ **getFillExtrusionTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getFillExtrusionTranslateAnchor

▸ **getFillExtrusionTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getFillExtrusionVerticalGradient

▸ **getFillExtrusionVerticalGradient**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFillExtrusionBase

▸ **setFillExtrusionBase**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionColor

▸ **setFillExtrusionColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionHeight

▸ **setFillExtrusionHeight**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionOpacity

▸ **setFillExtrusionOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionPattern

▸ **setFillExtrusionPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionTranslate

▸ **setFillExtrusionTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionTranslateAnchor

▸ **setFillExtrusionTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionVerticalGradient

▸ **setFillExtrusionVerticalGradient**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultfluorescencemarkermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / FluorescenceMarker

## Class: FluorescenceMarker

[default](#modulesdefaultmd).FluorescenceMarker

荧光点.

### Hierarchy

- *MarkerBase*

  ↳ **FluorescenceMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new FluorescenceMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*FluorescenceMarker*](#classesdefaultfluorescencemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*FluorescenceMarker*](#classesdefaultfluorescencemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesdefaultgeoboundsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GeoBounds

## Class: GeoBounds

[default](#modulesdefaultmd).GeoBounds

`GeoBounds` 地理范围.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [max](#max)
- [min](#min)

#### Methods

- [center](#center)
- [clone](#clone)
- [closestPoint](#closestpoint)
- [contains](#contains)
- [height](#height)
- [intersect](#intersect)
- [isContains](#iscontains)
- [isIntersect](#isintersect)
- [leftBottom](#leftbottom)
- [leftTop](#lefttop)
- [randomGeoJsonLineCollection](#randomgeojsonlinecollection)
- [randomGeoJsonPointCollection](#randomgeojsonpointcollection)
- [randomGeoJsonPolygonCollection](#randomgeojsonpolygoncollection)
- [randomPoint](#randompoint)
- [randomPoints](#randompoints)
- [rightBottom](#rightbottom)
- [rightTop](#righttop)
- [scale](#scale)
- [scaleXY](#scalexy)
- [set](#set)
- [square](#square)
- [toArray](#toarray)
- [toPointArray](#topointarray)
- [toString](#tostring)
- [translate](#translate)
- [union](#union)
- [update](#update)
- [updateByBounds](#updatebybounds)
- [width](#width)
- [fromArray](#fromarray)
- [fromCenterWH](#fromcenterwh)
- [fromDataExtent](#fromdataextent)
- [fromString](#fromstring)

### Constructors

#### constructor

\+ **new GeoBounds**(`min?`: [*GeoPoint*](#classesdefaultgeopointmd), `max?`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `min?` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `max?` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

### Properties

#### max

• **max**: [*GeoPoint*](#classesdefaultgeopointmd)

___

#### min

• **min**: [*GeoPoint*](#classesdefaultgeopointmd)

### Methods

#### center

▸ **center**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到中心点

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### clone

▸ **clone**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

 克隆

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### closestPoint

▸ **closestPoint**(`testPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `includeInterior?`: *boolean*): [*GeoPoint*](#classesdefaultgeopointmd)

查找边界框上最近的点并返回该点.

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `testPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | - | 点. |
| `includeInterior` | *boolean* | true | 如果为true，则最近的点可以位于边界框内。如果为false，则最近的点只能位于边界框的外边缘上. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### contains

▸ **contains**(`point`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

查看点是否在包围盒中

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

#### height

▸ **height**(): *number*

 获取高度

**Returns:** *number*

___

#### intersect

▸ **intersect**(`b`: [*GeoBounds*](#classesdefaultgeoboundsmd)): ``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)

两包围盒求交集

##### Parameters

| Name | Type |
| :------ | :------ |
| `b` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** ``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### isContains

▸ **isContains**(`bound`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *boolean*

求一个包围盒是否包含另一个包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `bound` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *boolean*

___

#### isIntersect

▸ **isIntersect**(`bound`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *boolean*

判断与另一个包围盒是否相交

##### Parameters

| Name | Type |
| :------ | :------ |
| `bound` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *boolean*

___

#### leftBottom

▸ **leftBottom**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到左下角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### leftTop

▸ **leftTop**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到左上角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### randomGeoJsonLineCollection

▸ **randomGeoJsonLineCollection**(`maxLineCount`: *number*, `maxPointCount`: *number*, `xRatio?`: *number*, `yRatio?`: *number*, `propertiesCb?`: (`index`: *number*) => Object, `minLineCount?`: *number*, `minPointCount?`: *number*): GeoJsonGeomertry

生成一个随机geojson线集合

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `maxLineCount` | *number* | - | 最多线的数目 |
| `maxPointCount` | *number* | - | 每条线最多的点的数目 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |
| `propertiesCb?` | (`index`: *number*) => Object | - | 属性回调函数 |
| `minLineCount?` | *number* | - | 最少线的数目（缺省为1) |
| `minPointCount?` | *number* | - | 每条线最少的点的数目（缺省为2) |

**Returns:** GeoJsonGeomertry

___

#### randomGeoJsonPointCollection

▸ **randomGeoJsonPointCollection**(`count`: *number*, `xRatio?`: *number*, `yRatio?`: *number*, `propertiesCb?`: (`index`: *number*) => Object): GeoJsonGeomertry

生成一个随机geojson点集合

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `count` | *number* | - | 点的数目 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |
| `propertiesCb?` | (`index`: *number*) => Object | - | 属性回调函数 |

**Returns:** GeoJsonGeomertry

___

#### randomGeoJsonPolygonCollection

▸ **randomGeoJsonPolygonCollection**(`maxPolygonCount`: *number*, `maxPointCount`: *number*, `xRatio?`: *number*, `yRatio?`: *number*, `propertiesCb?`: (`index`: *number*) => Object, `minPolygonCount?`: *number*, `minPointCount?`: *number*): GeoJsonGeomertry

生成一个随机geojson多边形集合

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `maxPolygonCount` | *number* | - | 最多多边形的数目 |
| `maxPointCount` | *number* | - | 每条线最多的点的数目 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |
| `propertiesCb?` | (`index`: *number*) => Object | - | 属性回调函数 |
| `minPolygonCount?` | *number* | - | 最少多边形的数目(缺省为1) |
| `minPointCount?` | *number* | - | 每条线最少的点的数目(缺省为3) |

**Returns:** GeoJsonGeomertry

___

#### randomPoint

▸ **randomPoint**(`xRatio?`: *number*, `yRatio?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

生成一个随机点

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### randomPoints

▸ **randomPoints**(`minPointCount`: *number*, `maxPointCount`: *number*, `xRatio?`: *number*, `yRatio?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

生成一个随机点序列

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `minPointCount` | *number* | - | 最少的点数 |
| `maxPointCount` | *number* | - | 最多的点数 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### rightBottom

▸ **rightBottom**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到右下角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### rightTop

▸ **rightTop**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到右上角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### scale

▸ **scale**(`ratio`: *number*, `origin?`: ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

 按照比例扩大/缩小出一个新的 GeoBounds。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ratio` | *number* | 比例 |
| `origin?` | ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd) | 扩大时的基准点，默认为当前 bounds 的中心点 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### scaleXY

▸ **scaleXY**(`ratioX`: *number*, `ratioY`: *number*, `origin?`: ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

 按照XY比例扩大/缩小出一个新的 GeoBounds。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ratioX` | *number* | X比例 |
| `ratioY` | *number* | Y比例 |
| `origin?` | ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd) | 扩大时的基准点，默认为当前 bounds 的中心点 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### set

▸ **set**(`min`: [*GeoPoint*](#classesdefaultgeopointmd), `max`: [*GeoPoint*](#classesdefaultgeopointmd)): *void*

设置包围盒范围

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `min` | [*GeoPoint*](#classesdefaultgeopointmd) | 最小值 |
| `max` | [*GeoPoint*](#classesdefaultgeopointmd) | 最大值 |

**Returns:** *void*

___

#### square

▸ **square**(`isLatlng?`: *boolean*, `isMinValue?`: *boolean*): [*GeoBounds*](#classesdefaultgeoboundsmd)

变成正方形，使宽高相等

**`return{geobounds}`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `isLatlng?` | *boolean* | 是否是经纬度 |
| `isMinValue?` | *boolean* | 是否取宽高的最小值或最大值，默认最大值 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### toArray

▸ **toArray**(): *number*[]

返回数组

**Returns:** *number*[]

The coordinates represented as a array of the format `[minx, miny, maxx, maxy]'`.

___

#### toPointArray

▸ **toPointArray**(): [*number*, *number*][]

返回点数组，包括四个顶点

**Returns:** [*number*, *number*][]

The coordinates represented as a array of the format `[[minx,maxy], [maxx,maxy], [maxx,miny], [minx,miny]]'`.

___

#### toString

▸ **toString**(`fixed?`: *number*): *string*

返回字符串.

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** *string*

The coordinates represented as a string of the format `minx, miny, maxx, maxy'`.

___

#### translate

▸ **translate**(`dx`: *number*, `dy`: *number*): *void*

位移包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `dx` | *number* |
| `dy` | *number* |

**Returns:** *void*

___

#### union

▸ **union**(`bound`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

求多个包围盒的并集

##### Parameters

| Name | Type |
| :------ | :------ |
| `bound` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### update

▸ **update**(`vertices`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *void*

更新包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `vertices` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *void*

___

#### updateByBounds

▸ **updateByBounds**(`bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [*GeoBounds*](#classesdefaultgeoboundsmd)[]): *void*

根据子包围盒更新包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) \| [*GeoBounds*](#classesdefaultgeoboundsmd)[] |

**Returns:** *void*

___

#### width

▸ **width**(): *number*

 获取宽度

**Returns:** *number*

___

#### fromArray

▸ `Static` **fromArray**(`input`: [*number*, *number*, *number*, *number*]): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据数组创建 `GeoBounds`.

Example:
```typescript
const b = GeoBounds.fromArray([left, bottom, right, top]);
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*number*, *number*, *number*, *number*] |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### fromCenterWH

▸ `Static` **fromCenterWH**(`center`: [*GeoPointLike*](#geopointlike), `width`: *number*, `height?`: *number*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据中心点和长，宽生成bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | 中心点 |
| `width` | *number* | 宽 |
| `height?` | *number* | 高，不输入时与宽一样 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### fromDataExtent

▸ `Static` **fromDataExtent**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据数据范围来生成bounds

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### fromString

▸ `Static` **fromString**(`input`: *string*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据数组创建 `GeoBounds`.

Example:
```typescript
const b = GeoBounds.fromString("[1,2,3,4]");
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *string* |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)


<a name="classesdefaultgeopointmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GeoPoint

## Class: GeoPoint

[default](#modulesdefaultmd).GeoPoint

`GeoPoint` 地理坐标.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [x](#x)
- [y](#y)
- [z](#z)

#### Methods

- [add](#add)
- [angle](#angle)
- [angleTo](#angleto)
- [angleWith](#anglewith)
- [angleWithSep](#anglewithsep)
- [clone](#clone)
- [distSqr](#distsqr)
- [distanceTo](#distanceto)
- [div](#div)
- [divByPoint](#divbypoint)
- [dot](#dot)
- [equals](#equals)
- [equalsZ](#equalsz)
- [lengthSq](#lengthsq)
- [lerp](#lerp)
- [mag](#mag)
- [matMult](#matmult)
- [mult](#mult)
- [multByPoint](#multbypoint)
- [perp](#perp)
- [roateAround](#roatearound)
- [rotate](#rotate)
- [round](#round)
- [roundInt](#roundint)
- [roundStr](#roundstr)
- [sub](#sub)
- [toArray](#toarray)
- [toString](#tostring)
- [transform](#transform)
- [unit](#unit)
- [convert](#convert)
- [fromString](#fromstring)

### Constructors

#### constructor

\+ **new GeoPoint**(`x`: *number*, `y`: *number*, `z?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

 `GeoPoint` 构造函数

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | x坐标. |
| `y` | *number* | y坐标. |
| `z?` | *number* | z坐标(可选）. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

### Properties

#### x

• **x**: *number*

坐标X.

___

#### y

• **y**: *number*

坐标y.

___

#### z

• `Optional` **z**: *number*

坐标z(可选）.

### Methods

#### add

▸ **add**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相加.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相加的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### angle

▸ **angle**(): *number*

角度.

**Returns:** *number*

___

#### angleTo

▸ **angleTo**(`b`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

距一个点的角度

##### Parameters

| Name | Type |
| :------ | :------ |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### angleWith

▸ **angleWith**(`b`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

距一个点的interiorAngle

##### Parameters

| Name | Type |
| :------ | :------ |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### angleWithSep

▸ **angleWithSep**(`x`: *number*, `y`: *number*): *number*

距一个点的interiorAngle

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |

**Returns:** *number*

___

#### clone

▸ **clone**(): [*GeoPoint*](#classesdefaultgeopointmd)

 克隆一个坐标

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### distSqr

▸ **distSqr**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

两点之间距离平方.

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### distanceTo

▸ **distanceTo**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

两点之间距离.

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### div

▸ **div**(`k`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

除一个系数.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `k` | *number* | 系数. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### divByPoint

▸ **divByPoint**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相除.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相除的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### dot

▸ **dot**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### equals

▸ **equals**(`other`: [*GeoPoint*](#classesdefaultgeopointmd), `dotErr?`: *number*): *boolean*

判断是否相等

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `other` | [*GeoPoint*](#classesdefaultgeopointmd) | - | 另外一个点 |
| `dotErr` | *number* | 8 | 允许误差的小数点后几位，默认8位 |

**Returns:** *boolean*

___

#### equalsZ

▸ **equalsZ**(`other`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

是否相等（判断z).

##### Parameters

| Name | Type |
| :------ | :------ |
| `other` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

#### lengthSq

▸ **lengthSq**(): *number*

**Returns:** *number*

___

#### lerp

▸ **lerp**(`v`: [*GeoPoint*](#classesdefaultgeopointmd), `alpha`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `alpha` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### mag

▸ **mag**(): *number*

长度.

**Returns:** *number*

___

#### matMult

▸ **matMult**(`m`: *number*[]): [*GeoPoint*](#classesdefaultgeopointmd)

乘一个矩阵.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m` | *number*[] | 矩阵值. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### mult

▸ **mult**(`k`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

乘一个系数.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `k` | *number* | 系数. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### multByPoint

▸ **multByPoint**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相乘.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相乘的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### perp

▸ **perp**(): [*GeoPoint*](#classesdefaultgeopointmd)

投影 [x,y] = [-y, x].

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### roateAround

▸ **roateAround**(`angle`: *number*, `p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

绕一个点旋转.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `angle` | *number* | 弧度. |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 围绕的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### rotate

▸ **rotate**(`angle`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

旋转.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `angle` | *number* | 弧度. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### round

▸ **round**(`fixed?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

后小数点几位取整

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### roundInt

▸ **roundInt**(): [*GeoPoint*](#classesdefaultgeopointmd)

四舍五入取整.

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### roundStr

▸ **roundStr**(`fixed?`: *number*): *string*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** *string*

___

#### sub

▸ **sub**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相减.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相减的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### toArray

▸ **toArray**(): *number*[]

返回数组

**Returns:** *number*[]

The coordinates represeted as an array of x and y.
```typescript
var ll = new vjmap.GeoPoint(-73.9749, 40.7736);
ll.toArray(); // = [-73.9749, 40.7736]
```

___

#### toString

▸ **toString**(`fixed?`: *number*): *string*

返回字符串.

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** *string*

The coordinates represented as a string of the format `'x, y, z?'`.
```typescript
var ll = new vjmap.GeoPoint(-73.9749, 40.7736);
ll.toString(); // = "GeoPoint(-73.9749, 40.7736)"
```

___

#### transform

▸ **transform**(`basePt`: [*GeoPoint*](#classesdefaultgeopointmd), `destPt`: [*GeoPoint*](#classesdefaultgeopointmd), `scale?`: *number*, `angle?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

对一个点围绕一个基点进行缩放旋转平移操作.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `basePt` | [*GeoPoint*](#classesdefaultgeopointmd) | 围绕的基点坐标 |
| `destPt` | [*GeoPoint*](#classesdefaultgeopointmd) | 要平移至的目的地坐标 |
| `scale?` | *number* | 缩放比例，默认1.0 |
| `angle?` | *number* | 旋转角度，逆时针，默认0 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### unit

▸ **unit**(): [*GeoPoint*](#classesdefaultgeopointmd)

单位长度.

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### convert

▸ `Static` **convert**(`input`: [*GeoPointLike*](#geopointlike)): [*GeoPoint*](#classesdefaultgeopointmd)

根据不同的类型创建地理坐标 [GeoPoint](#classesdefaultgeopointmd) .

Example:
```typescript
const p1 = GeoPoint.convert(new GeoPoint(x, y, z));
const p2 = GeoPoint.convert([x, y]);
const p3 = GeoPoint.convert([x, y, z]);
const p4 = GeoPoint.convert(lng: -73.9749, lat: 40.7736});
const p5 = GeoPoint.convert(lon: -73.9749, lat: 40.7736});
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | Either [GeoPointLike](#geopointlike), [GeoPointLike](#geopointlike) or [GeoPointLike](#geopointlike) object literal. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### fromString

▸ `Static` **fromString**(`input`: *string*): [*GeoPoint*](#classesdefaultgeopointmd)

根据字符串创建 `GeoPoint`.

Example:
```typescript
const b = GeoPoint.fromString("1,2");
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *string* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)


<a name="classesdefaultgeoprojectionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GeoProjection

## Class: GeoProjection

[default](#modulesdefaultmd).GeoProjection

`GeoProjection` 地理坐标投影.

Example:
```typescript
const mapExtent = new GeoBounds(new GeoPoint(10, 20), new GeoPoint(80, 90));
const prj = new GeoProjection(mapExtent);
const pt = [30, 30];
const latlng = prj.toLngLat(pt);
const pt_geo = prj.fromLngLat(latlng);
const mkt = prj.toMercator(pt);
const pt_mkt = prj.fromMercator(mkt);
```

### Hierarchy

- [*Projection*](#classesdefaultprojectionmd)

  ↳ **GeoProjection**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [mapExtent](#mapextent)
- [EARTH\_BOUNDS](#earth_bounds)
- [EQUATORIAL\_SEMIPERIMETER](#equatorial_semiperimeter)

#### Methods

- [fromLngLat](#fromlnglat)
- [fromMercator](#frommercator)
- [fromMeter](#frommeter)
- [getMapExtent](#getmapextent)
- [setExtent](#setextent)
- [toLngLat](#tolnglat)
- [toMercator](#tomercator)
- [toMeter](#tometer)
- [lngLat2Mercator](#lnglat2mercator)
- [mercator2LngLat](#mercator2lnglat)

### Constructors

#### constructor

\+ **new GeoProjection**(`extent`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoProjection*](#classesdefaultgeoprojectionmd)

 `GeoBounds` 构造函数

**`extent`** extent - 地图地理范围.

##### Parameters

| Name | Type |
| :------ | :------ |
| `extent` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoProjection*](#classesdefaultgeoprojectionmd)

Overrides: [Projection](#classesdefaultprojectionmd)

### Properties

#### mapExtent

• **mapExtent**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图地理范围.

___

#### EARTH\_BOUNDS

▪ `Static` **EARTH\_BOUNDS**: [*number*, *number*, *number*, *number*]

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EARTH_BOUNDS](#earth_bounds)

___

#### EQUATORIAL\_SEMIPERIMETER

▪ `Static` **EQUATORIAL\_SEMIPERIMETER**: *number*= 20037508.3427892

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EQUATORIAL_SEMIPERIMETER](#equatorial_semiperimeter)

### Methods

#### fromLngLat

▸ **fromLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

经纬度转地图地理坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 经纬度坐标点 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMercator

▸ **fromMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托(epsg:3857)转坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 墨卡托坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMeter

▸ **fromMeter**(`meter`: *number*): *number*

把米转化为距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `meter` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### getMapExtent

▸ **getMapExtent**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

得到地图范围

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### setExtent

▸ **setExtent**(`extent`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *void*

 设置地图范围

**`extent`** extent - 地图地理范围.

##### Parameters

| Name | Type |
| :------ | :------ |
| `extent` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *void*

___

#### toLngLat

▸ **toLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): LngLatLike

地图地理坐标转经纬度

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 地理坐标点 |

**Returns:** LngLatLike

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMercator

▸ **toMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

坐标转墨卡托(epsg:3857)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMeter

▸ **toMeter**(`dist`: *number*): *number*

把距离转化为米

##### Parameters

| Name | Type |
| :------ | :------ |
| `dist` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### lngLat2Mercator

▸ `Static` **lngLat2Mercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

经纬度转墨卡托 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)

___

#### mercator2LngLat

▸ `Static` **mercator2LngLat**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托转经纬度 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)


<a name="classesdefaultgladapterlayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GlAdapterLayer

## Class: GlAdapterLayer

[default](#modulesdefaultmd).GlAdapterLayer

### Hierarchy

- *Evented*

  ↳ **GlAdapterLayer**

  ↳↳ [*GlPolyLineLayer*](#classesdefaultglpolylinelayermd)

  ↳↳ [*GlPolyLineLayer*](#classesglpolylinelayermd)

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [id](#id)
- [map](#map)
- [regl](#regl)
- [renderAnimation](#renderanimation)
- [type](#type)

#### Methods

- [frame](#frame)
- [getReglInitializationOptions](#getreglinitializationoptions)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [prerender](#prerender)
- [remove](#remove)
- [render](#render)
- [triggerRepaint](#triggerrepaint)

### Constructors

#### constructor

\+ **new GlAdapterLayer**(): [*GlAdapterLayer*](#classesdefaultgladapterlayermd)

**Returns:** [*GlAdapterLayer*](#classesdefaultgladapterlayermd)

Inherited from: Evented.constructor

### Properties

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### map

• **map**: *Map*

___

#### regl

• **regl**: *any*

___

#### renderAnimation

• `Optional` **renderAnimation**: *boolean*

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### frame

▸ `Protected` `Abstract` **frame**(`gl`: WebGLRenderingContext, `matrix`: *number*[], `context?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |
| `context?` | *any* |

**Returns:** *void*

___

#### getReglInitializationOptions

▸ `Protected` `Abstract` **getReglInitializationOptions**(): *any*

**Returns:** *any*

___

#### init

▸ `Protected` `Abstract` **init**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### prerender

▸ **prerender**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.prerender

___

#### remove

▸ `Protected` `Abstract` **remove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

NOTE: map won't call it every frame.

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### triggerRepaint

▸ **triggerRepaint**(): *void*

**Returns:** *void*


<a name="classesdefaultglpolylinelayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GlPolyLineLayer

## Class: GlPolyLineLayer

[default](#modulesdefaultmd).GlPolyLineLayer

### Hierarchy

- [*GlAdapterLayer*](#classesdefaultgladapterlayermd)

  ↳ **GlPolyLineLayer**

### Implements

- [*ILineLayerOptions*](#interfacesdefaultilinelayeroptionsmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [drawPoints](#drawpoints)
- [id](#id)
- [instance](#instance)
- [map](#map)
- [pointColor](#pointcolor)
- [points](#points)
- [regl](#regl)
- [renderAnimation](#renderanimation)
- [type](#type)

#### Methods

- [frame](#frame)
- [getReglInitializationOptions](#getreglinitializationoptions)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [prerender](#prerender)
- [remove](#remove)
- [render](#render)
- [triggerRepaint](#triggerrepaint)

### Constructors

#### constructor

\+ **new GlPolyLineLayer**(`options`: *Partial*<[*ILineLayerOptions*](#interfacesdefaultilinelayeroptionsmd)\>): [*GlPolyLineLayer*](#classesdefaultglpolylinelayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *Partial*<[*ILineLayerOptions*](#interfacesdefaultilinelayeroptionsmd)\> |

**Returns:** [*GlPolyLineLayer*](#classesdefaultglpolylinelayermd)

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

### Properties

#### drawPoints

• **drawPoints**: *any*

___

#### id

• **id**: *string*= 'custom-line'

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd).[id](#id)

___

#### instance

• **instance**: *boolean*= true

___

#### map

• **map**: *Map*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[map](#map)

___

#### pointColor

• **pointColor**: *number*[]

___

#### points

• **points**: { `lat`: *number* ; `lng`: *number*  }[]= []

Implementation of: [ILineLayerOptions](#interfacesdefaultilinelayeroptionsmd).[points](#points)

___

#### regl

• **regl**: *any*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[regl](#regl)

___

#### renderAnimation

• `Optional` **renderAnimation**: *boolean*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[renderAnimation](#renderanimation)

___

#### type

• **type**: ``"custom"``

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[type](#type)

### Methods

#### frame

▸ **frame**(`gl`: WebGLRenderingContext, `matrix`: *number*[], `context?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |
| `context?` | *any* |

**Returns:** *void*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### getReglInitializationOptions

▸ **getReglInitializationOptions**(): *any*

**Returns:** *any*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### init

▸ **init**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### onAdd

▸ **onAdd**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### onRemove

▸ **onRemove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### prerender

▸ **prerender**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### remove

▸ **remove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

NOTE: map won't call it every frame.

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### triggerRepaint

▸ **triggerRepaint**(): *void*

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)


<a name="classesdefaultgridlayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GridLayer

## Class: GridLayer

[default](#modulesdefaultmd).GridLayer

网络线图层

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [id](#id)
- [renderingMode](#renderingmode)
- [type](#type)

#### Methods

- [getWrapNum](#getwrapnum)
- [onAdd](#onadd)
- [removeFromMap](#removefrommap)
- [render](#render)
- [setExtent](#setextent)
- [setIntervals](#setintervals)
- [setMaxZoom](#setmaxzoom)
- [setMinZoom](#setminzoom)
- [setShowLabel](#setshowlabel)
- [setStrokeStyle](#setstrokestyle)
- [setVisibility](#setvisibility)
- [setXLabelStyle](#setxlabelstyle)
- [setYLabelStyle](#setylabelstyle)

### Constructors

#### constructor

\+ **new GridLayer**(`options?`: [*GridLayerOptions*](#interfacesdefaultgridlayeroptionsmd)): [*GridLayer*](#classesdefaultgridlayermd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `options` | [*GridLayerOptions*](#interfacesdefaultgridlayeroptionsmd) | {} |

**Returns:** [*GridLayer*](#classesdefaultgridlayermd)

### Properties

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### renderingMode

• `Optional` **renderingMode**: ``"2d"`` \| ``"3d"``

Implementation of: CustomLayerInterface.renderingMode

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### getWrapNum

▸ **getWrapNum**(`x`: *number*, `includeMax?`: *boolean*, `includeMin?`: *boolean*, `range?`: *number*[]): *number*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `x` | *number* | - |
| `includeMax` | *boolean* | true |
| `includeMin` | *boolean* | true |
| `range` | *number*[] | - |

**Returns:** *number*

___

#### onAdd

▸ **onAdd**(`map`: *Map*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### removeFromMap

▸ **removeFromMap**(): *void*

**`description`** 移除图层。

**Returns:** *void*

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### setExtent

▸ **setExtent**(`extent`: *LngLatBounds*): *void*

**`description`** 设置坐标网格渲染的边界范围。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `extent` | *LngLatBounds* | 坐标网格渲染的边界范围。 |

**Returns:** *void*

___

#### setIntervals

▸ **setIntervals**(`interval`: *number* \| Function): *void*

**`description`** 设置经纬度的间隔（以度为单位)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `interval` | *number* \| Function | 经纬度的间隔（以度为单位），可以是数字，也可以是函数，参数是map。 |

**Returns:** *void*

___

#### setMaxZoom

▸ **setMaxZoom**(`maxZoom`: *number*): *void*

**`description`** 该图层可见的最大视图缩放级别。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `maxZoom` | *number* | 该图层可见的最大视图缩放级别（含）。 |

**Returns:** *void*

___

#### setMinZoom

▸ **setMinZoom**(`minZoom`: *number*): *void*

**`description`** 设置最小视图缩放级别。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `minZoom` | *number* | 最小视图缩放级别（不包括此级别），在该级别之上，该层将可见。 |

**Returns:** *void*

___

#### setShowLabel

▸ **setShowLabel**(`showLabel`: *boolean*): *void*

**`description`** 设置显示标签。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `showLabel` | *boolean* | 是否显示标签。 |

**Returns:** *void*

___

#### setStrokeStyle

▸ **setStrokeStyle**(`strokeStyle`: [*GridLayerStrokeStyle*](#interfacesdefaultgridlayerstrokestylemd)): *void*

**`description`** 设置经纬线样式。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `strokeStyle` | [*GridLayerStrokeStyle*](#interfacesdefaultgridlayerstrokestylemd) | 经纬线样式。 |

**Returns:** *void*

___

#### setVisibility

▸ **setVisibility**(`visible?`: *boolean*): *void*

**`description`** 设置可见性。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `visible?` | *boolean* | 是否可见。 |

**Returns:** *void*

___

#### setXLabelStyle

▸ **setXLabelStyle**(`labelStyle`: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)): *void*

**`description`** 设置经度标签样式。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `labelStyle` | [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd) | 标签样式。 |

**Returns:** *void*

___

#### setYLabelStyle

▸ **setYLabelStyle**(`labelStyle`: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)): *void*

**`description`** 设置纬度标签样式。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `labelStyle` | [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd) | 标签样式。 |

**Returns:** *void*


<a name="classesdefaulthaloringmarkermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / HaloRingMarker

## Class: HaloRingMarker

[default](#modulesdefaultmd).HaloRingMarker

发光的光环.

### Hierarchy

- *MarkerBase*

  ↳ **HaloRingMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new HaloRingMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*HaloRingMarker*](#classesdefaulthaloringmarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*HaloRingMarker*](#classesdefaulthaloringmarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesdefaultheatmapmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Heatmap

## Class: Heatmap

[default](#modulesdefaultmd).Heatmap

创建热力图图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Heatmap**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getHeatmapColor](#getheatmapcolor)
- [getHeatmapIntensity](#getheatmapintensity)
- [getHeatmapOpacity](#getheatmapopacity)
- [getHeatmapRadius](#getheatmapradius)
- [getHeatmapWeight](#getheatmapweight)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setHeatmapColor](#setheatmapcolor)
- [setHeatmapIntensity](#setheatmapintensity)
- [setHeatmapOpacity](#setheatmapopacity)
- [setHeatmapRadius](#setheatmapradius)
- [setHeatmapWeight](#setheatmapweight)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Heatmap**(`options`: [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd)): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd) |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getHeatmapColor

▸ **getHeatmapColor**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### getHeatmapIntensity

▸ **getHeatmapIntensity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getHeatmapOpacity

▸ **getHeatmapOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getHeatmapRadius

▸ **getHeatmapRadius**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getHeatmapWeight

▸ **getHeatmapWeight**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setHeatmapColor

▸ **setHeatmapColor**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapIntensity

▸ **setHeatmapIntensity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapOpacity

▸ **setHeatmapOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapRadius

▸ **setHeatmapRadius**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapWeight

▸ **setHeatmapWeight**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultlnglatprojectionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / LnglatProjection

## Class: LnglatProjection

[default](#modulesdefaultmd).LnglatProjection

`LnglatProjection` 经纬度坐标投影.

Example:
```typescript
const mapExtent = new GeoBounds(new GeoPoint(10, 20), new GeoPoint(80, 90));
const prj = new LnglatProjection(mapExtent);
const pt = [30, 30];
const latlng = prj.toLngLat(pt);
const pt_geo = prj.fromLngLat(latlng);
const mkt = prj.toMercator(pt);
const pt_mkt = prj.fromMercator(mkt);
```

### Hierarchy

- [*Projection*](#classesdefaultprojectionmd)

  ↳ **LnglatProjection**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [mapExtent](#mapextent)
- [EARTH\_BOUNDS](#earth_bounds)
- [EQUATORIAL\_SEMIPERIMETER](#equatorial_semiperimeter)

#### Methods

- [fromLngLat](#fromlnglat)
- [fromMercator](#frommercator)
- [fromMeter](#frommeter)
- [getMapExtent](#getmapextent)
- [setExtent](#setextent)
- [toLngLat](#tolnglat)
- [toMercator](#tomercator)
- [toMeter](#tometer)
- [lngLat2Mercator](#lnglat2mercator)
- [mercator2LngLat](#mercator2lnglat)

### Constructors

#### constructor

\+ **new LnglatProjection**(): [*LnglatProjection*](#classesdefaultlnglatprojectionmd)

 `GeoBounds` 构造函数

**`extent`** extent - 地图地理范围.

**Returns:** [*LnglatProjection*](#classesdefaultlnglatprojectionmd)

Overrides: [Projection](#classesdefaultprojectionmd)

### Properties

#### mapExtent

• **mapExtent**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图地理范围.

___

#### EARTH\_BOUNDS

▪ `Static` **EARTH\_BOUNDS**: [*number*, *number*, *number*, *number*]

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EARTH_BOUNDS](#earth_bounds)

___

#### EQUATORIAL\_SEMIPERIMETER

▪ `Static` **EQUATORIAL\_SEMIPERIMETER**: *number*= 20037508.3427892

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EQUATORIAL_SEMIPERIMETER](#equatorial_semiperimeter)

### Methods

#### fromLngLat

▸ **fromLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

经纬度转地图地理坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 经纬度坐标点 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMercator

▸ **fromMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托(epsg:3857)转坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 墨卡托坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMeter

▸ **fromMeter**(`meter`: *number*): *number*

把米转化为距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `meter` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### getMapExtent

▸ **getMapExtent**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

得到地图范围

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### setExtent

▸ **setExtent**(`extent`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *void*

 设置地图范围

**`extent`** extent - 地图地理范围.

##### Parameters

| Name | Type |
| :------ | :------ |
| `extent` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *void*

___

#### toLngLat

▸ **toLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): LngLatLike

地图地理坐标转经纬度

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 地理坐标点 |

**Returns:** LngLatLike

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMercator

▸ **toMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

坐标转墨卡托(epsg:3857)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMeter

▸ **toMeter**(`dist`: *number*): *number*

把距离转化为米

##### Parameters

| Name | Type |
| :------ | :------ |
| `dist` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### lngLat2Mercator

▸ `Static` **lngLat2Mercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

经纬度转墨卡托 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)

___

#### mercator2LngLat

▸ `Static` **mercator2LngLat**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托转经纬度 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)


<a name="classesdefaultmapglutilsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MapGlUtils

## Class: MapGlUtils

[default](#modulesdefaultmd).MapGlUtils

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [init](#init)
- [newMap](#newmap)

### Constructors

#### constructor

\+ **new MapGlUtils**(): [*MapGlUtils*](#classesdefaultmapglutilsmd)

**Returns:** [*MapGlUtils*](#classesdefaultmapglutilsmd)

### Methods

#### init

▸ `Static` **init**(`map`: *any*, `bindToMap`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `bindToMap` | *any* |

**Returns:** *any*

___

#### newMap

▸ `Static` **newMap**(`params?`: {}, `options?`: {}): *Promise*<Map\>

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `params` | *object* | {} |
| `options` | *object* | {} |

**Returns:** *Promise*<Map\>


<a name="classesdefaultmarkerclustermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MarkerCluster

## Class: MarkerCluster

[default](#modulesdefaultmd).MarkerCluster

创建文本组件.

### Hierarchy

- *Evented*

  ↳ **MarkerCluster**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [addTo](#addto)
- [allowOverlap](#allowoverlap)
- [allowOverlapMaxZoom](#allowoverlapmaxzoom)
- [getData](#getdata)
- [hide](#hide)
- [remove](#remove)
- [show](#show)
- [updateData](#updatedata)
- [updateMarkers](#updatemarkers)

### Constructors

#### constructor

\+ **new MarkerCluster**(`options`: [*MarkerClusterOptions*](#interfacesdefaultmarkerclusteroptionsmd)): [*MarkerCluster*](#classesdefaultmarkerclustermd)

构造函数

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*MarkerClusterOptions*](#interfacesdefaultmarkerclusteroptionsmd) |

**Returns:** [*MarkerCluster*](#classesdefaultmarkerclustermd)

Overrides: Evented.constructor

### Methods

#### addTo

▸ **addTo**(`map`: *Map*): [*MarkerCluster*](#classesdefaultmarkerclustermd)

将 `MarkerCluster` 附加到 `Map` 对象。

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** [*MarkerCluster*](#classesdefaultmarkerclustermd)

___

#### allowOverlap

▸ **allowOverlap**(`bAllowOverlap`: *boolean*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bAllowOverlap` | *boolean* |

**Returns:** *void*

___

#### allowOverlapMaxZoom

▸ **allowOverlapMaxZoom**(`zoom`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `zoom` | *number* |

**Returns:** *void*

___

#### getData

▸ **getData**(): [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]

获取数据。

**Returns:** [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]

___

#### hide

▸ **hide**(): *void*

隐藏

**Returns:** *void*

___

#### remove

▸ **remove**(): *void*

从地图中删除。

**Returns:** *void*

___

#### show

▸ **show**(): *void*

显示

**Returns:** *void*

___

#### updateData

▸ **updateData**(`data`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]): *void*

更新数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[] |

**Returns:** *void*

___

#### updateMarkers

▸ **updateMarkers**(): *void*

更新markers。

**Returns:** *void*


<a name="classesdefaultmath2dboxmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / [Math2D](#modulesdefaultmath2dmd) / Box

## Class: Box

[default](#modulesdefaultmd).[Math2D](#modulesdefaultmath2dmd).Box

Alternative 2D box object with less memory impact (four numbers instead of two min/max
objects with two numbers each). Should be faster.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [h](#h)
- [w](#w)
- [x](#x)
- [y](#y)

#### Methods

- [contains](#contains)
- [containsBox](#containsbox)
- [intersects](#intersects)
- [set](#set)

### Constructors

#### constructor

\+ **new Box**(`x?`: *number*, `y?`: *number*, `w?`: *number*, `h?`: *number*): [*Box*](#classesdefaultmath2dboxmd)

Alternative 2D box object with less memory impact (four numbers instead of two min/max
objects with two numbers each). Should be faster.

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `x` | *number* | 0 | New X value. |
| `y` | *number* | 0 | New y value. |
| `w` | *number* | 0 | New w value. |
| `h` | *number* | 0 | New h value. |

**Returns:** [*Box*](#classesdefaultmath2dboxmd)

### Properties

#### h

• **h**: *number*= 0

___

#### w

• **w**: *number*= 0

___

#### x

• **x**: *number*= 0

___

#### y

• **y**: *number*= 0

### Methods

#### contains

▸ **contains**(`x`: *number*, `y`: *number*): *boolean*

Test box for inclusion of point.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X coordinate of point. |
| `y` | *number* | Y coordinate of point. |

**Returns:** *boolean*

___

#### containsBox

▸ **containsBox**(`other`: [*Box*](#classesdefaultmath2dboxmd)): *boolean*

Test box for inclusion of another box.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `other` | [*Box*](#classesdefaultmath2dboxmd) | Box 2 to test for inclusion. |

**Returns:** *boolean*

___

#### intersects

▸ **intersects**(`other`: [*Box*](#classesdefaultmath2dboxmd)): *boolean*

Test two boxes for intersection.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `other` | [*Box*](#classesdefaultmath2dboxmd) | Box 2 to test for intersection. |

**Returns:** *boolean*

___

#### set

▸ **set**(`x`: *number*, `y`: *number*, `w`: *number*, `h`: *number*): *void*

Set new values to all properties of the box.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | New X value. |
| `y` | *number* | New y value. |
| `w` | *number* | New w value. |
| `h` | *number* | New h value. |

**Returns:** *void*


<a name="classesdefaultminimapcontrolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MiniMapControl

## Class: MiniMapControl

[default](#modulesdefaultmd).MiniMapControl

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [\_convertBoundsToPoints](#_convertboundstopoints)
- [\_createContainer](#_createcontainer)
- [\_load](#_load)
- [\_mouseDown](#_mousedown)
- [\_mouseMove](#_mousemove)
- [\_mouseUp](#_mouseup)
- [\_moveTrackingRect](#_movetrackingrect)
- [\_onAdd](#_onadd)
- [\_onRemove](#_onremove)
- [\_onSize](#_onsize)
- [\_preventDefault](#_preventdefault)
- [\_setTrackingRectBounds](#_settrackingrectbounds)
- [\_update](#_update)
- [\_updateMapExtent](#_updatemapextent)
- [\_zoomAdjust](#_zoomadjust)
- [getDefaultPosition](#getdefaultposition)
- [getMap](#getmap)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)

### Constructors

#### constructor

\+ **new MiniMapControl**(`options`: [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd)): [*MiniMapControl*](#classesdefaultminimapcontrolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd) |

**Returns:** [*MiniMapControl*](#classesdefaultminimapcontrolmd)

### Methods

#### \_convertBoundsToPoints

▸ **_convertBoundsToPoints**(`bounds`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | *any* |

**Returns:** *void*

___

#### \_createContainer

▸ **_createContainer**(`parentMap`: *Map*): HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `parentMap` | *Map* |

**Returns:** HTMLDivElement

___

#### \_load

▸ **_load**(): *void*

**Returns:** *void*

___

#### \_mouseDown

▸ **_mouseDown**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_mouseMove

▸ **_mouseMove**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_mouseUp

▸ **_mouseUp**(): *void*

**Returns:** *void*

___

#### \_moveTrackingRect

▸ **_moveTrackingRect**(`offset`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `offset` | *any* |

**Returns:** *any*

___

#### \_onAdd

▸ **_onAdd**(`parentMap`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `parentMap` | *Map* |

**Returns:** HTMLElement

___

#### \_onRemove

▸ **_onRemove**(): *void*

**Returns:** *void*

___

#### \_onSize

▸ **_onSize**(): *void*

**Returns:** *void*

___

#### \_preventDefault

▸ **_preventDefault**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_setTrackingRectBounds

▸ **_setTrackingRectBounds**(`bounds`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | *any* |

**Returns:** *void*

___

#### \_update

▸ **_update**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_updateMapExtent

▸ **_updateMapExtent**(`data`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### \_zoomAdjust

▸ **_zoomAdjust**(): *void*

**Returns:** *void*

___

#### getDefaultPosition

▸ **getDefaultPosition**(): *string*

**Returns:** *string*

___

#### getMap

▸ **getMap**(): *Map*

**Returns:** *Map*

___

#### init

▸ **init**(`options`: [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd) |

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`parentMap`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `parentMap` | *Map* |

**Returns:** HTMLElement

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*


<a name="classesdefaultmousepositioncontrolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MousePositionControl

## Class: MousePositionControl

[default](#modulesdefaultmd).MousePositionControl

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [defaultLabelFormat](#defaultlabelformat)
- [getDefaultPosition](#getdefaultposition)
- [insertControl](#insertcontrol)
- [onAdd](#onadd)
- [onMouseMove](#onmousemove)
- [onRemove](#onremove)

### Constructors

#### constructor

\+ **new MousePositionControl**(`options?`: [*MousePositionControlOption*](#interfacesdefaultmousepositioncontroloptionmd)): [*MousePositionControl*](#classesdefaultmousepositioncontrolmd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `options` | [*MousePositionControlOption*](#interfacesdefaultmousepositioncontroloptionmd) | {} |

**Returns:** [*MousePositionControl*](#classesdefaultmousepositioncontrolmd)

### Methods

#### defaultLabelFormat

▸ **defaultLabelFormat**(`lng`: *number*, `lat`: *number*, `x`: *number*, `y`: *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `lng` | *number* |
| `lat` | *number* |
| `x` | *number* |
| `y` | *number* |

**Returns:** *string*

___

#### getDefaultPosition

▸ **getDefaultPosition**(): *string*

**Returns:** *string*

___

#### insertControl

▸ **insertControl**(): *void*

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`map`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** HTMLElement

___

#### onMouseMove

▸ **onMouseMove**(`evt?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `evt?` | *any* |

**Returns:** *void*

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*


<a name="classesdefaultoverlaylayerbasemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / OverlayLayerBase

## Class: OverlayLayerBase

[default](#modulesdefaultmd).OverlayLayerBase

### Hierarchy

- **OverlayLayerBase**

  ↳ [*Polygon*](#classesdefaultpolygonmd)

  ↳ [*Polyline*](#classesdefaultpolylinemd)

  ↳ [*BackgroundLayer*](#classesdefaultbackgroundlayermd)

  ↳ [*FillExtrusion*](#classesdefaultfillextrusionmd)

  ↳ [*SkyLayer*](#classesdefaultskylayermd)

  ↳ [*Symbol*](#classesdefaultsymbolmd)

  ↳ [*Circle*](#classesdefaultcirclemd)

  ↳ [*Heatmap*](#classesdefaultheatmapmd)

  ↳ [*Polygon*](#classespolygonmd)

  ↳ [*Polyline*](#classespolylinemd)

  ↳ [*BackgroundLayer*](#classesbackgroundlayermd)

  ↳ [*FillExtrusion*](#classesfillextrusionmd)

  ↳ [*SkyLayer*](#classesskylayermd)

  ↳ [*Symbol*](#classessymbolmd)

  ↳ [*Circle*](#classescirclemd)

  ↳ [*Heatmap*](#classesheatmapmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new OverlayLayerBase**(): [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

**Returns:** [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

___

#### layerId

• `Optional` **layerId**: *string*

___

#### sourceId

• `Optional` **sourceId**: *string*

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*


<a name="classesdefaultpolygonmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Polygon

## Class: Polygon

[default](#modulesdefaultmd).Polygon

创建多边形.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Polygon**

  ↳↳ [*CircleFill*](#classesdefaultcirclefillmd)

  ↳↳ [*EllipseFill*](#classesdefaultellipsefillmd)

  ↳↳ [*CircleFill*](#classescirclefillmd)

  ↳↳ [*EllipseFill*](#classesellipsefillmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getFillAntialias](#getfillantialias)
- [getFillColor](#getfillcolor)
- [getFillOpacity](#getfillopacity)
- [getFillOutlineColor](#getfilloutlinecolor)
- [getFillPattern](#getfillpattern)
- [getFillSortKey](#getfillsortkey)
- [getFillTranslate](#getfilltranslate)
- [getFillTranslateAnchor](#getfilltranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFillAntialias](#setfillantialias)
- [setFillColor](#setfillcolor)
- [setFillOpacity](#setfillopacity)
- [setFillOutlineColor](#setfilloutlinecolor)
- [setFillPattern](#setfillpattern)
- [setFillSortKey](#setfillsortkey)
- [setFillTranslate](#setfilltranslate)
- [setFillTranslateAnchor](#setfilltranslateanchor)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Polygon**(`options`: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)): [*Polygon*](#classesdefaultpolygonmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd) |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getFillAntialias

▸ **getFillAntialias**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

获取图层的“填充抗锯齿”绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getFillColor

▸ **getFillColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillOpacity

▸ **getFillOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的 `fill-opacity` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillOutlineColor

▸ **getFillOutlineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-outline-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillPattern

▸ **getFillPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的`fill-pattern` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillSortKey

▸ **getFillSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的`fill-sort-key` 布局属性.

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillTranslate

▸ **getFillTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

获取图层的 `fill-translate` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getFillTranslateAnchor

▸ **getFillTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

获取图层的 `fill-translate-anchor` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFillAntialias

▸ **setFillAntialias**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-antialias` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillColor

▸ **setFillColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillOpacity

▸ **setFillOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-opacity` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillOutlineColor

▸ **setFillOutlineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-outline-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillPattern

▸ **setFillPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-pattern` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillSortKey

▸ **setFillSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polygon*](#classesdefaultpolygonmd)

为一层或多层设置`fill-sort-key`布局属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillTranslate

▸ **setFillTranslate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-translate` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillTranslateAnchor

▸ **setFillTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-translate-anchor` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Polyline

## Class: Polyline

[default](#modulesdefaultmd).Polyline

创建多段线.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Polyline**

  ↳↳ [*CircleEdge*](#classesdefaultcircleedgemd)

  ↳↳ [*EllipseEdge*](#classesdefaultellipseedgemd)

  ↳↳ [*CircleEdge*](#classescircleedgemd)

  ↳↳ [*EllipseEdge*](#classesellipseedgemd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getLineBlur](#getlineblur)
- [getLineCap](#getlinecap)
- [getLineColor](#getlinecolor)
- [getLineDasharray](#getlinedasharray)
- [getLineGapWidth](#getlinegapwidth)
- [getLineGradient](#getlinegradient)
- [getLineJoin](#getlinejoin)
- [getLineMiterMimit](#getlinemitermimit)
- [getLineOffset](#getlineoffset)
- [getLineOpacity](#getlineopacity)
- [getLinePattern](#getlinepattern)
- [getLineRoundLimit](#getlineroundlimit)
- [getLineSortKey](#getlinesortkey)
- [getLineTranslate](#getlinetranslate)
- [getLineTranslateAnchor](#getlinetranslateanchor)
- [getLineWidth](#getlinewidth)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setLineBlur](#setlineblur)
- [setLineCap](#setlinecap)
- [setLineColor](#setlinecolor)
- [setLineDasharray](#setlinedasharray)
- [setLineGapWidth](#setlinegapwidth)
- [setLineGradient](#setlinegradient)
- [setLineJoin](#setlinejoin)
- [setLineMiterMimit](#setlinemitermimit)
- [setLineOffset](#setlineoffset)
- [setLineOpacity](#setlineopacity)
- [setLinePattern](#setlinepattern)
- [setLineRoundLimit](#setlineroundlimit)
- [setLineSortKey](#setlinesortkey)
- [setLineTranslate](#setlinetranslate)
- [setLineTranslateAnchor](#setlinetranslateanchor)
- [setLineWidth](#setlinewidth)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Polyline**(`options`: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd) |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLineBlur

▸ **getLineBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineCap

▸ **getLineCap**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

___

#### getLineColor

▸ **getLineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getLineDasharray

▸ **getLineDasharray**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

___

#### getLineGapWidth

▸ **getLineGapWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineGradient

▸ **getLineGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### getLineJoin

▸ **getLineJoin**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

___

#### getLineMiterMimit

▸ **getLineMiterMimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getLineOffset

▸ **getLineOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineOpacity

▸ **getLineOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLinePattern

▸ **getLinePattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getLineRoundLimit

▸ **getLineRoundLimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getLineSortKey

▸ **getLineSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineTranslate

▸ **getLineTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getLineTranslateAnchor

▸ **getLineTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getLineWidth

▸ **getLineWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLineBlur

▸ **setLineBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineCap

▸ **setLineCap**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineColor

▸ **setLineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineDasharray

▸ **setLineDasharray**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineGapWidth

▸ **setLineGapWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineGradient

▸ **setLineGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineJoin

▸ **setLineJoin**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineMiterMimit

▸ **setLineMiterMimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineOffset

▸ **setLineOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineOpacity

▸ **setLineOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLinePattern

▸ **setLinePattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineRoundLimit

▸ **setLineRoundLimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineSortKey

▸ **setLineSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineTranslate

▸ **setLineTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineTranslateAnchor

▸ **setLineTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineWidth

▸ **setLineWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultpolylinearrowmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PolylineArrow

## Class: PolylineArrow

[default](#modulesdefaultmd).PolylineArrow

创建箭头多段线.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [animateFun](#animatefun)
- [animatedPointIdx](#animatedpointidx)
- [borderGeoJson](#bordergeojson)
- [geojson](#geojson)
- [id](#id)
- [lineArrowImageName](#linearrowimagename)
- [lineGeojson](#linegeojson)
- [options](#options)
- [strokeImageName](#strokeimagename)
- [type](#type)

#### Methods

- [\_addLayer](#_addlayer)
- [\_addShowDirFun](#_addshowdirfun)
- [\_addStrokeImage](#_addstrokeimage)
- [\_creatDirLine](#_creatdirline)
- [\_createBorderLine](#_createborderline)
- [\_createLineGeojson](#_createlinegeojson)
- [\_mouseenterCallbackFun](#_mouseentercallbackfun)
- [\_mouseleaveCallbackFun](#_mouseleavecallbackfun)
- [\_updateLineStyle](#_updatelinestyle)
- [addDir](#adddir)
- [addTo](#addto)
- [animate](#animate)
- [createGeojson](#creategeojson)
- [getBounds](#getbounds)
- [getId](#getid)
- [getLength](#getlength)
- [getOptions](#getoptions)
- [getPath](#getpath)
- [hide](#hide)
- [hideDir](#hidedir)
- [init](#init)
- [off](#off)
- [on](#on)
- [once](#once)
- [remove](#remove)
- [removeDir](#removedir)
- [setBorderColor](#setbordercolor)
- [setBorderOpacity](#setborderopacity)
- [setBorderWidth](#setborderwidth)
- [setColor](#setcolor)
- [setCursor](#setcursor)
- [setOpacity](#setopacity)
- [setOptions](#setoptions)
- [setPath](#setpath)
- [setStrokeImage](#setstrokeimage)
- [setWeight](#setweight)
- [show](#show)
- [showDir](#showdir)

### Constructors

#### constructor

\+ **new PolylineArrow**(`options`: [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)): [*PolylineArrow*](#classesdefaultpolylinearrowmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd) |

**Returns:** [*PolylineArrow*](#classesdefaultpolylinearrowmd)

### Properties

#### animateFun

• **animateFun**: ``null`` \| Function

___

#### animatedPointIdx

• **animatedPointIdx**: *number*

___

#### borderGeoJson

• **borderGeoJson**: *any*

___

#### geojson

• **geojson**: *any*

___

#### id

• **id**: *string*

___

#### lineArrowImageName

• **lineArrowImageName**: *string*

___

#### lineGeojson

• **lineGeojson**: *any*

___

#### options

• **options**: [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)

___

#### strokeImageName

• **strokeImageName**: *undefined* \| *string*

___

#### type

• **type**: *string*

### Methods

#### \_addLayer

▸ **_addLayer**(): *void*

**Returns:** *void*

___

#### \_addShowDirFun

▸ **_addShowDirFun**(): *void*

**Returns:** *void*

___

#### \_addStrokeImage

▸ **_addStrokeImage**(): *void*

**Returns:** *void*

___

#### \_creatDirLine

▸ **_creatDirLine**(): *void*

**Returns:** *void*

___

#### \_createBorderLine

▸ **_createBorderLine**(): *void*

**Returns:** *void*

___

#### \_createLineGeojson

▸ **_createLineGeojson**(): *void*

**Returns:** *void*

___

#### \_mouseenterCallbackFun

▸ **_mouseenterCallbackFun**(): *void*

**Returns:** *void*

___

#### \_mouseleaveCallbackFun

▸ **_mouseleaveCallbackFun**(): *void*

**Returns:** *void*

___

#### \_updateLineStyle

▸ **_updateLineStyle**(`options`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *void*

___

#### addDir

▸ **addDir**(): *void*

**Returns:** *void*

___

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

___

#### animate

▸ **animate**(`step?`: *number*, `fps?`: *number*, `isLoop?`: *boolean*, `stopCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void*, `onFrameCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd), `context`: *any*) => *void*): [*FrameAnimation*](#interfacesdefaultframeanimationmd)

开启动画

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `step` | *number* | 100 | 把线段分成多少段 |
| `fps` | *number* | 10 | 每一秒跑多少段 |
| `isLoop` | *boolean* | false | 是否循环 |
| `stopCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void* | - | 结束回调 |
| `onFrameCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd), `context`: *any*) => *void* | - | 每一帧的回调 |

**Returns:** [*FrameAnimation*](#interfacesdefaultframeanimationmd)

___

#### createGeojson

▸ **createGeojson**(): *void*

**Returns:** *void*

___

#### getBounds

▸ **getBounds**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### getId

▸ **getId**(): *string*

**Returns:** *string*

___

#### getLength

▸ **getLength**(): *number*

**Returns:** *number*

___

#### getOptions

▸ **getOptions**(): [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)

**Returns:** [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)

___

#### getPath

▸ **getPath**(): *any*

**Returns:** *any*

___

#### hide

▸ **hide**(): *void*

**Returns:** *void*

___

#### hideDir

▸ **hideDir**(): *void*

**Returns:** *void*

___

#### init

▸ **init**(): *void*

**Returns:** *void*

___

#### off

▸ **off**(`type`: *any*, `listener`: EventedListener): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *any* |
| `listener` | EventedListener |

**Returns:** *void*

___

#### on

▸ **on**(`type`: *any*, `listener`: EventedListener): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *any* |
| `listener` | EventedListener |

**Returns:** *void*

___

#### once

▸ **once**(`type`: *any*, `listener`: EventedListener): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *any* |
| `listener` | EventedListener |

**Returns:** *void*

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### removeDir

▸ **removeDir**(): *void*

**Returns:** *void*

___

#### setBorderColor

▸ **setBorderColor**(`value`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *any* |

**Returns:** *void*

___

#### setBorderOpacity

▸ **setBorderOpacity**(`val`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | *any* |

**Returns:** *void*

___

#### setBorderWidth

▸ **setBorderWidth**(`weight`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `weight` | *any* |

**Returns:** *void*

___

#### setColor

▸ **setColor**(`color`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *any* |

**Returns:** *void*

___

#### setCursor

▸ **setCursor**(`cursor?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `cursor?` | *string* |

**Returns:** *void*

___

#### setOpacity

▸ **setOpacity**(`val`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | *any* |

**Returns:** *void*

___

#### setOptions

▸ **setOptions**(`options`: [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd) |

**Returns:** *void*

___

#### setPath

▸ **setPath**(`val`: [*GeoPointLike*](#geopointlike)[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | [*GeoPointLike*](#geopointlike)[] |

**Returns:** *void*

___

#### setStrokeImage

▸ **setStrokeImage**(`strokeImage`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `strokeImage` | *string* |

**Returns:** *void*

___

#### setWeight

▸ **setWeight**(`val`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | *any* |

**Returns:** *void*

___

#### show

▸ **show**(): *void*

**Returns:** *void*

___

#### showDir

▸ **showDir**(): *void*

**Returns:** *void*


<a name="classesdefaultprojectionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Projection

## Class: Projection

[default](#modulesdefaultmd).Projection

`GeoPoint` 地理坐标.

### Hierarchy

- **Projection**

  ↳ [*GeoProjection*](#classesdefaultgeoprojectionmd)

  ↳ [*LnglatProjection*](#classesdefaultlnglatprojectionmd)

  ↳ [*GeoProjection*](#classesgeoprojectionmd)

  ↳ [*LnglatProjection*](#classeslnglatprojectionmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [EARTH\_BOUNDS](#earth_bounds)
- [EQUATORIAL\_SEMIPERIMETER](#equatorial_semiperimeter)

#### Methods

- [fromLngLat](#fromlnglat)
- [fromMercator](#frommercator)
- [fromMeter](#frommeter)
- [getMapExtent](#getmapextent)
- [toLngLat](#tolnglat)
- [toMercator](#tomercator)
- [toMeter](#tometer)
- [lngLat2Mercator](#lnglat2mercator)
- [mercator2LngLat](#mercator2lnglat)

### Constructors

#### constructor

\+ **new Projection**(): [*Projection*](#classesdefaultprojectionmd)

**Returns:** [*Projection*](#classesdefaultprojectionmd)

### Properties

#### EARTH\_BOUNDS

▪ `Static` **EARTH\_BOUNDS**: [*number*, *number*, *number*, *number*]

The equatorial semi perimeter in meters.

___

#### EQUATORIAL\_SEMIPERIMETER

▪ `Static` **EQUATORIAL\_SEMIPERIMETER**: *number*= 20037508.3427892

The equatorial semi perimeter in meters.

### Methods

#### fromLngLat

▸ `Abstract` **fromLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

经纬度转地图地理坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 经纬度坐标点 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

___

#### fromMercator

▸ `Abstract` **fromMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托(epsg:3857)转坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 墨卡托坐标点 |

**Returns:** [*number*, *number*]

___

#### fromMeter

▸ `Abstract` **fromMeter**(`meter`: *number*): *number*

把米转化为距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `meter` | *number* |

**Returns:** *number*

___

#### getMapExtent

▸ `Abstract` **getMapExtent**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

得到地图范围

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### toLngLat

▸ `Abstract` **toLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): LngLatLike

地图地理坐标转经纬度

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 地理坐标点 |

**Returns:** LngLatLike

___

#### toMercator

▸ `Abstract` **toMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

坐标转墨卡托(epsg:3857)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 坐标点 |

**Returns:** [*number*, *number*]

___

#### toMeter

▸ `Abstract` **toMeter**(`dist`: *number*): *number*

把距离转化为米

##### Parameters

| Name | Type |
| :------ | :------ |
| `dist` | *number* |

**Returns:** *number*

___

#### lngLat2Mercator

▸ `Static` **lngLat2Mercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

经纬度转墨卡托 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

___

#### mercator2LngLat

▸ `Static` **mercator2LngLat**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托转经纬度 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]


<a name="classesdefaultreglbaselayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ReglBaseLayer

## Class: ReglBaseLayer

[default](#modulesdefaultmd).ReglBaseLayer

### Hierarchy

- *Evented*

  ↳ **ReglBaseLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [id](#id)
- [map](#map)
- [regl](#regl)
- [renderAnimation](#renderanimation)
- [type](#type)

#### Methods

- [frame](#frame)
- [getReglInitialization](#getreglinitialization)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [prerender](#prerender)
- [remove](#remove)
- [render](#render)
- [triggerRepaint](#triggerrepaint)

### Constructors

#### constructor

\+ **new ReglBaseLayer**(): [*ReglBaseLayer*](#classesdefaultreglbaselayermd)

**Returns:** [*ReglBaseLayer*](#classesdefaultreglbaselayermd)

Inherited from: Evented.constructor

### Properties

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### map

• **map**: *Map*

___

#### regl

• **regl**: *any*

___

#### renderAnimation

• `Optional` **renderAnimation**: *boolean*

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### frame

▸ `Protected` `Abstract` **frame**(`gl`: WebGLRenderingContext, `matrix`: *number*[], `context?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |
| `context?` | *any* |

**Returns:** *void*

___

#### getReglInitialization

▸ `Protected` `Abstract` **getReglInitialization**(`gl`: WebGLRenderingContext): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |

**Returns:** *any*

___

#### init

▸ `Protected` `Abstract` **init**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### prerender

▸ **prerender**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.prerender

___

#### remove

▸ `Protected` `Abstract` **remove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

NOTE: map won't call it every frame.

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### triggerRepaint

▸ **triggerRepaint**(): *void*

**Returns:** *void*


<a name="classesdefaultrotatingaperturemarkermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / RotatingApertureMarker

## Class: RotatingApertureMarker

[default](#modulesdefaultmd).RotatingApertureMarker

旋转的光环.

### Hierarchy

- *MarkerBase*

  ↳ **RotatingApertureMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new RotatingApertureMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*RotatingApertureMarker*](#classesdefaultrotatingaperturemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*RotatingApertureMarker*](#classesdefaultrotatingaperturemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesdefaultrotatingtextbordermarkermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / RotatingTextBorderMarker

## Class: RotatingTextBorderMarker

[default](#modulesdefaultmd).RotatingTextBorderMarker

旋转的文本框.

### Hierarchy

- *MarkerBase*

  ↳ **RotatingTextBorderMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [\_setMarkerContainerProperty](#_setmarkercontainerproperty)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersHeight](#setmarkersheight)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new RotatingTextBorderMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*RotatingTextBorderMarker*](#classesdefaultrotatingtextbordermarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*RotatingTextBorderMarker*](#classesdefaultrotatingtextbordermarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### \_setMarkerContainerProperty

▸ **_setMarkerContainerProperty**(`properties`: *any*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `properties` | *any* |
| `index?` | *number* |

**Returns:** *void*

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersHeight

▸ **setMarkersHeight**(`height`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `height` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Overrides: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |
| `index?` | *number* |

**Returns:** *void*

Overrides: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Overrides: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |

**Returns:** *void*


<a name="classesdefaultservicemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Service

## Class: Service

[default](#modulesdefaultmd).Service

`Service` 服务类.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [accessToken](#accesstoken)
- [serverUrl](#serverurl)

#### Methods

- [addAccessKey](#addaccesskey)
- [addSecretKey](#addsecretkey)
- [baseUrl](#baseurl)
- [blankTileUrl](#blanktileurl)
- [checkFileHasUpload](#checkfilehasupload)
- [clearCache](#clearcache)
- [clone](#clone)
- [cmdClearMapCache](#cmdclearmapcache)
- [cmdClearTileCache](#cmdcleartilecache)
- [cmdCreateEntitiesGeomData](#cmdcreateentitiesgeomdata)
- [cmdDeleteCache](#cmddeletecache)
- [cmdDeleteMap](#cmddeletemap)
- [cmdDeleteStyle](#cmddeletestyle)
- [cmdExportLayout](#cmdexportlayout)
- [cmdGetAccessKey](#cmdgetaccesskey)
- [cmdGetDrawBounds](#cmdgetdrawbounds)
- [cmdGetSupportFormat](#cmdgetsupportformat)
- [cmdMapDiff](#cmdmapdiff)
- [cmdMatchObject](#cmdmatchobject)
- [cmdPrjWktToPrj4](#cmdprjwkttoprj4)
- [cmdRenameMap](#cmdrenamemap)
- [cmdResetAccessKey](#cmdresetaccesskey)
- [cmdRunStatus](#cmdrunstatus)
- [cmdSetMapPassword](#cmdsetmappassword)
- [cmdSliceLayer](#cmdslicelayer)
- [cmdSwitchLayers](#cmdswitchlayers)
- [cmdTransform](#cmdtransform)
- [cmdUpdateStyle](#cmdupdatestyle)
- [composeNewMap](#composenewmap)
- [conditionQueryFeature](#conditionqueryfeature)
- [createStyle](#createstyle)
- [currentMapParam](#currentmapparam)
- [deleteCustomData](#deletecustomdata)
- [execCommand](#execcommand)
- [exprQueryFeature](#exprqueryfeature)
- [fileMd5](#filemd5)
- [getConstData](#getconstdata)
- [getCurWorkspaceName](#getcurworkspacename)
- [getCustomData](#getcustomdata)
- [getCustomDataKeysByPrefix](#getcustomdatakeysbyprefix)
- [getFontsCapacity](#getfontscapacity)
- [getMapLayers](#getmaplayers)
- [getSliceCacheZoom](#getslicecachezoom)
- [getStyleLayerName](#getstylelayername)
- [getWorkspaces](#getworkspaces)
- [glyphsUrl](#glyphsurl)
- [listMaps](#listmaps)
- [metadata](#metadata)
- [openMap](#openmap)
- [pointQueryFeature](#pointqueryfeature)
- [processQueryResult](#processqueryresult)
- [pwdToSecretKey](#pwdtosecretkey)
- [qrcodeUrl](#qrcodeurl)
- [rasterBlankStyle](#rasterblankstyle)
- [rasterLayerId](#rasterlayerid)
- [rasterSourceId](#rastersourceid)
- [rasterStyle](#rasterstyle)
- [rasterTileUrl](#rastertileurl)
- [rectQueryFeature](#rectqueryfeature)
- [removeAccessKey](#removeaccesskey)
- [removeSecretKey](#removesecretkey)
- [saveCustomData](#savecustomdata)
- [serviceUrl](#serviceurl)
- [setCurrentMapParam](#setcurrentmapparam)
- [setSprite](#setsprite)
- [spriteUrl](#spriteurl)
- [strMd5](#strmd5)
- [styleVersion](#styleversion)
- [switchWorkspace](#switchworkspace)
- [thumbnailUrl](#thumbnailurl)
- [toLayerIndex](#tolayerindex)
- [updateMap](#updatemap)
- [updateMetadata](#updatemetadata)
- [uploadMap](#uploadmap)
- [uploadUrl](#uploadurl)
- [vectorStyle](#vectorstyle)
- [vectorTileUrl](#vectortileurl)
- [waitMapOpenFinish](#waitmapopenfinish)
- [webMapUrl](#webmapurl)
- [wmsTileUrl](#wmstileurl)
- [workspaceCreate](#workspacecreate)
- [workspaceDelete](#workspacedelete)
- [workspaceModify](#workspacemodify)

### Constructors

#### constructor

\+ **new Service**(`url`: *string*, `token?`: *string*, `req?`: [*IRequest*](#interfacesdefaultirequestmd)): [*Service*](#classesdefaultservicemd)

构造函数

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `url` | *string* | 服务地址 |
| `token?` | *string* | 访问凭证 |
| `req?` | [*IRequest*](#interfacesdefaultirequestmd) | 请求的方法实现（默认内部实现) |

**Returns:** [*Service*](#classesdefaultservicemd)

### Properties

#### accessToken

• **accessToken**: *string*= ""

访问凭证

___

#### serverUrl

• **serverUrl**: *string*= ""

服务器地址

### Methods

#### addAccessKey

▸ **addAccessKey**(`key`: *string*): *Set*<string\>

增加访问key

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *Set*<string\>

___

#### addSecretKey

▸ **addSecretKey**(`key`: *string*): *Set*<string\>

增加秘钥key

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *Set*<string\>

___

#### baseUrl

▸ **baseUrl**(): *string*

服务根地址

**Returns:** *string*

___

#### blankTileUrl

▸ **blankTileUrl**(): *string*

空白瓦片地址

**Returns:** *string*

___

#### checkFileHasUpload

▸ **checkFileHasUpload**(`filemd5`: *string*): *Promise*<any\>

检查文件是否上传过

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filemd5` | *string* | 文件md5值 |

**Returns:** *Promise*<any\>

___

#### clearCache

▸ **clearCache**(`prefix?`: *string*): *Promise*<{}\>

清空服务器缓存数据

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `prefix` | *string* | "" | key前缀 |

**Returns:** *Promise*<{}\>

___

#### clone

▸ **clone**(`isCloneWorkspace?`: *boolean*): [*Service*](#classesdefaultservicemd)

克隆一个新的服务实例对象

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `isCloneWorkspace?` | *boolean* | 是否克隆当前工作区 (默认是) |

**Returns:** [*Service*](#classesdefaultservicemd)

Service

___

#### cmdClearMapCache

▸ **cmdClearMapCache**(`mapid`: *string*, `version`: *string*): *Promise*<any\>

清空地图的几何和瓦片缓存数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version` | *string* | 版本号 |

**Returns:** *Promise*<any\>

___

#### cmdClearTileCache

▸ **cmdClearTileCache**(`mapid`: *string*, `version`: *string*): *Promise*<any\>

清空地图的瓦片缓存数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version` | *string* | 版本号 |

**Returns:** *Promise*<any\>

___

#### cmdCreateEntitiesGeomData

▸ **cmdCreateEntitiesGeomData**(`param`: [*ICreateEntitiesGeomData*](#interfacesdefaulticreateentitiesgeomdatamd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

获取创建实体的几何数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*ICreateEntitiesGeomData*](#interfacesdefaulticreateentitiesgeomdatamd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### cmdDeleteCache

▸ **cmdDeleteCache**(`param`: [*IDeleteCache*](#interfacesdefaultideletecachemd)): *Promise*<any\>

删除地图缓存

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IDeleteCache*](#interfacesdefaultideletecachemd) | 缓存接口 |

**Returns:** *Promise*<any\>

___

#### cmdDeleteMap

▸ **cmdDeleteMap**(`mapid`: *string*, `version`: *string*, `retainVersionMaxCount?`: *number*): *Promise*<any\>

删除地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version` | *string* | 版本号，如删除所有版本，输入"*"号 |
| `retainVersionMaxCount?` | *number* | 删除所有版本时，保留的最新的版本总数。如总共有10个版本，retainVersionMaxCount为3时，会保存最新的3个版本，其余的都会删除 |

**Returns:** *Promise*<any\>

___

#### cmdDeleteStyle

▸ **cmdDeleteStyle**(`param`: [*IDeleteStyle*](#interfacesdefaultideletestylemd)): *Promise*<any\>

删除地图样式

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IDeleteStyle*](#interfacesdefaultideletestylemd) | 样式接口 |

**Returns:** *Promise*<any\>

___

#### cmdExportLayout

▸ **cmdExportLayout**(`param`: [*IExportLayout*](#interfacesdefaultiexportlayoutmd)): *Promise*<any\>

导出布局空间为dwg图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IExportLayout*](#interfacesdefaultiexportlayoutmd) | 参数 |

**Returns:** *Promise*<any\>

___

#### cmdGetAccessKey

▸ **cmdGetAccessKey**(`mapid`: *string*, `key`: *string*): *Promise*<any\>

获取地图的AccessKey，获取之前请确保已成功打开了地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `key` | *string* | secretKey秘钥和超级管理员superKey |

**Returns:** *Promise*<any\>

___

#### cmdGetDrawBounds

▸ **cmdGetDrawBounds**(`mapid?`: *string*, `version?`: *string*): *Promise*<``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)\>

获取图形中有数据的范围区域

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid?` | *string* | 地图id |
| `version?` | *string* | 版本号 |

**Returns:** *Promise*<``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)\>

___

#### cmdGetSupportFormat

▸ **cmdGetSupportFormat**(): *Promise*<any\>

获取支持的格式类型

**Returns:** *Promise*<any\>

___

#### cmdMapDiff

▸ **cmdMapDiff**(`param`: [*IMapDiff*](#interfacesdefaultimapdiffmd)): *Promise*<any\>

比较地图不同

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IMapDiff*](#interfacesdefaultimapdiffmd) | 组合参数 |

**Returns:** *Promise*<any\>

___

#### cmdMatchObject

▸ **cmdMatchObject**(`param`: [*IMatchObject*](#interfacesdefaultimatchobjectmd)): *Promise*<any\>

目标匹配

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IMatchObject*](#interfacesdefaultimatchobjectmd) | 参数 |

**Returns:** *Promise*<any\>

___

#### cmdPrjWktToPrj4

▸ **cmdPrjWktToPrj4**(`wkt`: *string*, `from?`: ``""`` \| ``"url"`` \| ``"wmsauto"`` \| ``"xml"`` \| ``"urn"`` \| ``"crsurl"`` \| ``"micoordsys"`` \| ``"pci"``): *Promise*<any\>

投影prj文件WKT字符转proj4字符串

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `wkt` | *string* | - |
| `from?` | ``""`` \| ``"url"`` \| ``"wmsauto"`` \| ``"xml"`` \| ``"urn"`` \| ``"crsurl"`` \| ``"micoordsys"`` \| ``"pci"`` | 字符串来源，为空为话为WKT |

**Returns:** *Promise*<any\>

___

#### cmdRenameMap

▸ **cmdRenameMap**(`oldMapID`: *string*, `newMapID`: *string*): *Promise*<any\>

地图ID重命名

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `oldMapID` | *string* | 旧地图ID |
| `newMapID` | *string* | 新地图ID |

**Returns:** *Promise*<any\>

___

#### cmdResetAccessKey

▸ **cmdResetAccessKey**(`mapid`: *string*, `key`: *string*): *Promise*<any\>

重置地图的AccessKey，获取之前请确保已成功打开了地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `key` | *string* | secretKey秘钥和超级管理员superKey |

**Returns:** *Promise*<any\>

___

#### cmdRunStatus

▸ **cmdRunStatus**(`bDetail?`: *boolean*): *Promise*<any\>

获取当前运行状态

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `bDetail?` | *boolean* | 是否需要细节 (默认false) |

**Returns:** *Promise*<any\>

___

#### cmdSetMapPassword

▸ **cmdSetMapPassword**(`mapid`: *string*, `key`: *string*, `newKey`: *string*): *Promise*<any\>

重置地图的密码，如果之前有密码，则是修改密码。如果之前没有密码，则是把此地图设置了密码保护。如果设置密码为空，则取消对此地图的密码保护。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `key` | *string* | 旧的secretKey秘钥和超级管理员superKey |
| `newKey` | *string* | 新的secretKey秘钥 |

**Returns:** *Promise*<any\>

___

#### cmdSliceLayer

▸ **cmdSliceLayer**(`param`: [*ISliceLayer*](#interfacesdefaultislicelayermd)): *Promise*<any\>

对图层进行切片缓存

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | [*ISliceLayer*](#interfacesdefaultislicelayermd) |

**Returns:** *Promise*<any\>

___

#### cmdSwitchLayers

▸ **cmdSwitchLayers**(`visibleLayers`: *string*[]): *Promise*<any\>

切换图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `visibleLayers` | *string*[] | 让可见的图层列表数组 |

**Returns:** *Promise*<any\>

___

#### cmdTransform

▸ **cmdTransform**(`srs`: *string*, `crs`: *string*, `points`: [*GeoPoint*](#classesdefaultgeopointmd) \| [*GeoPoint*](#classesdefaultgeopointmd)[], `fourParameter?`: *string* \| *string*[], `isInverseFourParamter?`: *boolean*): *Promise*<any\>

坐标转换

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `srs` | *string* | 源坐标系名称，如 EPSG:4326 |
| `crs` | *string* | 目标坐标系名称，如 EPSG:3857 |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd) \| [*GeoPoint*](#classesdefaultgeopointmd)[] | 要转换的坐标 |
| `fourParameter?` | *string* \| *string*[] | 四参数(x偏移,y偏移,缩放，旋转弧度)，可选，对坐标最后进行修正 |
| `isInverseFourParamter?` | *boolean* | 是否是上面四参数坐标的反算 |

**Returns:** *Promise*<any\>

___

#### cmdUpdateStyle

▸ **cmdUpdateStyle**(`param`: [*IUpdateStyle*](#interfacesdefaultiupdatestylemd)): *Promise*<any\>

更新样式

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IUpdateStyle*](#interfacesdefaultiupdatestylemd) | 样式参数 |

**Returns:** *Promise*<any\>

Example:
```typescript
const res = svc.cmdUpdateStyle({
    name: "style1",
    layeron: [0,1,2,4,5,6,7,8,9],
    layeroff: "",
    clipbounds: "",
    backcolor: 0,
    lineweight:[1,1,0]
    expression: "gOutColorRed := gInColorGreen;gOutColorGreen := gInColorBlue;gOutColorBlue := gInColorRed;gOutColorAlpha := gInColorAlpha;"
});
```

___

#### composeNewMap

▸ **composeNewMap**(`param`: [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd) \| [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd)[]): *Promise*<any\>

组合成新地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd) \| [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd)[] | 组合参数 |

**Returns:** *Promise*<any\>

___

#### conditionQueryFeature

▸ **conditionQueryFeature**(`param`: [*IConditionQueryFeatures*](#interfacesdefaulticonditionqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

条件查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IConditionQueryFeatures*](#interfacesdefaulticonditionqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### createStyle

▸ **createStyle**(`style`: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd), `mapid?`: *string*, `version?`: *string*, `isGeomLayer?`: *boolean*): *Promise*<any\>

获取样式图层名

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `style` | [*IMapStyleParam*](#interfacesdefaultimapstyleparammd) | 样式参数 |
| `mapid?` | *string* | 地图ID |
| `version?` | *string* | 版本号，为空，则获取最新的; |
| `isGeomLayer?` | *boolean* | 几何渲染图层优先(默认true) |

**Returns:** *Promise*<any\>

___

#### currentMapParam

▸ **currentMapParam**(): ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

当前地图参数

**Returns:** ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

___

#### deleteCustomData

▸ **deleteCustomData**(`key`: *string* \| *string*[], `isPrefix?`: *boolean*): *Promise*<any\>

删除用户自定义数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* \| *string*[] | 键名，如果是数组的话，可以查询 |
| `isPrefix?` | *boolean* | 是否删除所有前缀为key的所有键值，默认false |

**Returns:** *Promise*<any\>

___

#### execCommand

▸ **execCommand**(`cmdname`: *string*, `param?`: *Record*<string, any\>, `mapid?`: *string*, `version?`: *string*, `useGet?`: *boolean*): *Promise*<any\>

执行命令

##### Parameters

| Name | Type |
| :------ | :------ |
| `cmdname` | *string* |
| `param?` | *Record*<string, any\> |
| `mapid?` | *string* |
| `version?` | *string* |
| `useGet?` | *boolean* |

**Returns:** *Promise*<any\>

___

#### exprQueryFeature

▸ **exprQueryFeature**(`param`: [*IExprQueryFeatures*](#interfacesdefaultiexprqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

表达式查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IExprQueryFeatures*](#interfacesdefaultiexprqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### fileMd5

▸ **fileMd5**(`file`: File): *Promise*<any\>

获取文件的Md5值

##### Parameters

| Name | Type |
| :------ | :------ |
| `file` | File |

**Returns:** *Promise*<any\>

___

#### getConstData

▸ **getConstData**(): *Promise*<any\>

获取服务后台常量设置

**Returns:** *Promise*<any\>

___

#### getCurWorkspaceName

▸ **getCurWorkspaceName**(): *string*

获取当前的工作区名称

**Returns:** *string*

___

#### getCustomData

▸ **getCustomData**(`key`: *string* \| *string*[], `options?`: { `contentType?`: ``""`` \| ``"image"`` ; `retDataType?`: ``""`` \| ``"value"`` \| ``"prop"``  }): *Promise*<any\>

获取用户自定义数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* \| *string*[] | 键名，如果是数组的话，可以查询. |
| `options?` | *object* | 选项 retDataType为空时查询数据及属性,"value"只查询数据，"prop"只查询属性。contentType返回类型,为空时为json，为"image"时为图片. |
| `options.contentType?` | ``""`` \| ``"image"`` | - |
| `options.retDataType?` | ``""`` \| ``"value"`` \| ``"prop"`` | - |

**Returns:** *Promise*<any\>

___

#### getCustomDataKeysByPrefix

▸ **getCustomDataKeysByPrefix**(`prefix`: *string*): *Promise*<any\>

通过前缀获取用户自定义数据的键值

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `prefix` | *string* | 键名前缀 |

**Returns:** *Promise*<any\>

___

#### getFontsCapacity

▸ **getFontsCapacity**(): *Promise*<{}\>

得到所有矢量字体名称

**Returns:** *Promise*<{}\>

___

#### getMapLayers

▸ **getMapLayers**(): [*IMapLayer*](#interfacesdefaultimaplayermd)[]

得到地图图层集合，调用前请确保地图已打开，否则会抛异常

**Returns:** [*IMapLayer*](#interfacesdefaultimaplayermd)[]

___

#### getSliceCacheZoom

▸ **getSliceCacheZoom**(`param`: [*ISliceCacheZoom*](#interfacesdefaultislicecachezoommd)): *Promise*<any\>

获取已缓存的切片级别

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*ISliceCacheZoom*](#interfacesdefaultislicecachezoommd) | 参数 |

**Returns:** *Promise*<any\>

___

#### getStyleLayerName

▸ **getStyleLayerName**(`mapid`: *string*, `version?`: *string*, `isGeomLayer?`: *boolean*, `name?`: *string*): *Promise*<any\>

获取样式图层名

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version?` | *string* | 版本号，为空，则获取最新的; |
| `isGeomLayer?` | *boolean* | 几何渲染图层优先(默认true) |
| `name?` | *string* | 有名称时，根据名称来查找; |

**Returns:** *Promise*<any\>

___

#### getWorkspaces

▸ **getWorkspaces**(): *Promise*<any\>

获取所有工作区(如果不是root权限的token获取非公开的工作区名称将返回空)

**Returns:** *Promise*<any\>

___

#### glyphsUrl

▸ **glyphsUrl**(): *string*

字体地址

**Returns:** *string*

___

#### listMaps

▸ **listMaps**(`mapid?`: *string* \| *string*[] \| { `curPage`: *number* ; `mapIds?`: *string*[] ; `pageCount`: *number*  }, `version?`: *string*): *Promise*<any\>

获取所有地图信息

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `mapid` | *string* \| *string*[] \| { `curPage`: *number* ; `mapIds?`: *string*[] ; `pageCount`: *number*  } | "\_" | 地图ID，为空，则获取所有的；如果传入的是地图ID数组，则获取指定的地图ID数组的信息。如果不想一次性获取，可通过传入分页对象获取，如{curPage: 1, pageCount: 10} |
| `version` | *string* | "\_" | 版本号，为空，则获取最新的; * 则获取所有的版本 |

**Returns:** *Promise*<any\>

___

#### metadata

▸ **metadata**(`mapid?`: *string*, `version?`: *string*): *Promise*<any\>

获取地图元数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid?` | *string* | 地图ID ，为空, 则为当前打开的图形 |
| `version?` | *string* | 版本号，为空 则为当前打开的版本; |

**Returns:** *Promise*<any\>

___

#### openMap

▸ **openMap**(`param`: [*IOpenMapParam*](#interfacesdefaultiopenmapparammd), `isWaitFinish?`: *boolean*): *Promise*<any\>

打开图

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `param` | [*IOpenMapParam*](#interfacesdefaultiopenmapparammd) | - |  |
| `isWaitFinish` | *boolean* | true | 是否等待打开完成 |

**Returns:** *Promise*<any\>

___

#### pointQueryFeature

▸ **pointQueryFeature**(`param`: [*IPointQueryFeatures*](#interfacesdefaultipointqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

点查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IPointQueryFeatures*](#interfacesdefaultipointqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### processQueryResult

▸ **processQueryResult**(`param`: *any*, `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *any*

处理查询结果

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | *any* | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *any*

___

#### pwdToSecretKey

▸ **pwdToSecretKey**(`pwd`: *string*): *string*

密码转换为秘钥

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pwd` | *string* | 密码 |

**Returns:** *string*

___

#### qrcodeUrl

▸ **qrcodeUrl**(`content`: *string*, `size?`: *number*): *string*

二维码图片地址

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `content` | *string* | 生成二维码的内容 |
| `size?` | *number* | 生成二维码的大小，默认256 |

**Returns:** *string*

___

#### rasterBlankStyle

▸ **rasterBlankStyle**(`minzoom?`: *number*, `maxzoom?`: *number*, `prefix?`: *string*): Style

空白栅格style

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `minzoom?` | *number* | 最小级别，缺省0 |
| `maxzoom?` | *number* | 最大级别，缺省24 |
| `prefix?` | *string* | 前缀，缺省rasterBlank |

**Returns:** Style

___

#### rasterLayerId

▸ **rasterLayerId**(`prefix?`: *string*): *string*

获取栅格图层ID

##### Parameters

| Name | Type |
| :------ | :------ |
| `prefix?` | *string* |

**Returns:** *string*

___

#### rasterSourceId

▸ **rasterSourceId**(`prefix?`: *string*): *string*

获取栅格源ID

##### Parameters

| Name | Type |
| :------ | :------ |
| `prefix?` | *string* |

**Returns:** *string*

___

#### rasterStyle

▸ **rasterStyle**(`tileUrl?`: *string*, `minzoom?`: *number*, `maxzoom?`: *number*, `prefix?`: *string*): Style

栅格style

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `tileUrl?` | *string* | 栅格瓦片地址 |
| `minzoom?` | *number* | 最小级别，缺省0 |
| `maxzoom?` | *number* | 最大级别，缺省24 |
| `prefix?` | *string* | 前缀，缺省raster |

**Returns:** Style

___

#### rasterTileUrl

▸ **rasterTileUrl**(`param?`: [*ITileUrlParam*](#interfacesdefaultitileurlparammd)): *string*

栅格瓦片地址

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `param` | [*ITileUrlParam*](#interfacesdefaultitileurlparammd) | {} |

**Returns:** *string*

___

#### rectQueryFeature

▸ **rectQueryFeature**(`param`: [*IRectQueryFeatures*](#interfacesdefaultirectqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

矩形查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IRectQueryFeatures*](#interfacesdefaultirectqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### removeAccessKey

▸ **removeAccessKey**(`key`: *string*): *void*

移除访问key, 如果key为undefined时，则移除所有的

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *void*

___

#### removeSecretKey

▸ **removeSecretKey**(`key`: *string*): *undefined* \| *Set*<string\>

移除秘钥key, 如果key为undefined时，则移除所有的

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *undefined* \| *Set*<string\>

___

#### saveCustomData

▸ **saveCustomData**(`key`: *string* \| { `key`: *string* ; `prop?`: *any* ; `ttl?`: *number* ; `value`: *any*  }[], `value?`: *any*, `prop?`: *any*, `ttl?`: *number*): *Promise*<any\>

保存用户自定义数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* \| { `key`: *string* ; `prop?`: *any* ; `ttl?`: *number* ; `value`: *any*  }[] | 键名(必须唯一，否则会覆盖之前的数据，同类型的key前缀尽量一样)，如果是数组的话，可以批量 |
| `value?` | *any* | 键值 |
| `prop?` | *any* | 属性值 |
| `ttl?` | *number* | 有效时间，单位秒，默认长期有效 |

**Returns:** *Promise*<any\>

___

#### serviceUrl

▸ **serviceUrl**(`u`: *string*): *string*

得到服务地址

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `u` | *string* | 要拼接的地址 |

**Returns:** *string*

string

___

#### setCurrentMapParam

▸ **setCurrentMapParam**(`param`: [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)): ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

设置打开地图参数

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd) |

**Returns:** ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

___

#### setSprite

▸ **setSprite**(`name`: *string*): *string*

设置精灵图片名称

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | *string* | 精灵名称 |

**Returns:** *string*

___

#### spriteUrl

▸ **spriteUrl**(`name`: *string*): *string*

精灵图片名称

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | *string* | 精灵名称 |

**Returns:** *string*

___

#### strMd5

▸ **strMd5**(`str`: *string*): *string*

获取字符串的Md5值

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

___

#### styleVersion

▸ **styleVersion**(): *number*

得到style的版本号

**Returns:** *number*

___

#### switchWorkspace

▸ **switchWorkspace**(`workspaceName`: *string*): *void*

切换至工作区

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `workspaceName` | *string* | 工作区名称 |

**Returns:** *void*

___

#### thumbnailUrl

▸ **thumbnailUrl**(`mapid?`: *string*, `version?`: *string*, `width?`: *number*, `height?`: *number*, `darkTheme?`: *boolean*): *string*

获取图的缩略图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid?` | *string* |  |
| `version?` | *string* |  |
| `width?` | *number* |  |
| `height?` | *number* |  |
| `darkTheme?` | *boolean* | 是否是深色主题，是的话，图片将反色（黑色变白色） |

**Returns:** *string*

___

#### toLayerIndex

▸ **toLayerIndex**(`layernames`: *string*[], `layers`: *any*[]): *number*[]

把图层名称数组转成图层索引数组

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `layernames` | *string*[] | 图层名称数组 |
| `layers` | *any*[] | 图层列表 |

**Returns:** *number*[]

___

#### updateMap

▸ **updateMap**(`param`: [*IUpdateMapParam*](#interfacesdefaultiupdatemapparammd), `isWaitFinish?`: *boolean*): *Promise*<any\>

更新地图

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `param` | [*IUpdateMapParam*](#interfacesdefaultiupdatemapparammd) | - |  |
| `isWaitFinish` | *boolean* | true | 是否等待打开完成 |

**Returns:** *Promise*<any\>

___

#### updateMetadata

▸ **updateMetadata**(`meta`: *Record*<string, undefined \| ``null`` \| string \| number \| boolean\>, `mapid?`: *string*, `version?`: *string*): *Promise*<any\>

修改地图元数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `meta` | *Record*<string, undefined \| ``null`` \| string \| number \| boolean\> | 要修改的元数据项 |
| `mapid?` | *string* | 地图ID ，为空, 则为当前打开的图形 |
| `version?` | *string* | 版本号，为空 则为当前打开的版本; |

**Returns:** *Promise*<any\>

___

#### uploadMap

▸ **uploadMap**(`file`: File): *Promise*<any\>

上传地图

##### Parameters

| Name | Type |
| :------ | :------ |
| `file` | File |

**Returns:** *Promise*<any\>

___

#### uploadUrl

▸ **uploadUrl**(): *string*

返回上传文件的url地址

**Returns:** *string*

___

#### vectorStyle

▸ **vectorStyle**(`tileUrl?`: *string* \| *Record*<string, any\>, `minzoom?`: *number*, `maxzoom?`: *number*, `prefix?`: *string*, `hoverColor?`: *string*, `hoverOpacity?`: *number*, `hoverLineWidth?`: *number*, `customColorCaseExpr?`: *any*[], `customOpacityCaseExpr?`: *any*[], `customLineWidthCaseExpr?`: *any*[], `disableHover?`: *boolean*): Style

矢量style

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `tileUrl?` | *string* \| *Record*<string, any\> | 矢量瓦片地址 或者为一个Object，为Object时，设置项为参数的每个项值，做为一个参数传入 |
| `minzoom?` | *number* | 最小级别，缺省0 |
| `maxzoom?` | *number* | 最大级别，缺省24 |
| `prefix?` | *string* | 前缀，缺省vector |
| `hoverColor?` | *string* | 高亮时颜色，缺省rgba(0,0,255,255) |
| `hoverOpacity?` | *number* | 高亮时透明度,缺省0.5 |
| `hoverLineWidth?` | *number* | 高亮时线宽,缺省3 |
| `customColorCaseExpr?` | *any*[] | 自定义颜色表达式，必须为数组[条件1，值，条件2，值,...]，如[['==', ['feature-state', 'status'], 'alarm'], '#ff0000', ['==', ['feature-state', 'status'], 'normal'], '#00ff00'],缺省默认 |
| `customOpacityCaseExpr?` | *any*[] | 自定义透明度表达式，必须为数组,缺省默认 |
| `customLineWidthCaseExpr?` | *any*[] | 自定义线宽表达式，必须为数组,缺省默认 |
| `disableHover?` | *boolean* | 禁止hover |

**Returns:** Style

___

#### vectorTileUrl

▸ **vectorTileUrl**(`param?`: [*ITileUrlParam*](#interfacesdefaultitileurlparammd)): *string*

矢量瓦片地址

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `param` | [*ITileUrlParam*](#interfacesdefaultitileurlparammd) | {} |

**Returns:** *string*

___

#### waitMapOpenFinish

▸ **waitMapOpenFinish**(`mapid`: *string*, `version`: *string*, `tryTime?`: *number*, `maxTryTimes?`: *number*): *Promise*<any\>

等待地图打开完成

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `mapid` | *string* | - | 地图ID |
| `version` | *string* | - | 地图版本号 |
| `tryTime` | *number* | 5 | 每次尝试时间间隔(秒) |
| `maxTryTimes` | *number* | 120 | 最大尝试次数 |

**Returns:** *Promise*<any\>

___

#### webMapUrl

▸ **webMapUrl**(`tileProvider`: { `fourParameterAfter?`: *string* ; `fourParameterBefore?`: *string* ; `mapbounds?`: *string* ; `srs?`: *string* ; `tileCrs?`: ``"gcj02"`` \| ``"wgs84"`` ; `tileFlipY?`: *boolean* ; `tileMaxZoom?`: *number* ; `tileRetina?`: *number* ; `tileShards?`: *string* ; `tileSize?`: *number* ; `tileToken?`: *string* \| *string*[] ; `tileUrl`: *string* \| *string*[]  }): *string*

获取服务器地图服务地址

##### Parameters

| Name | Type |
| :------ | :------ |
| `tileProvider` | *object* |
| `tileProvider.fourParameterAfter?` | *string* |
| `tileProvider.fourParameterBefore?` | *string* |
| `tileProvider.mapbounds?` | *string* |
| `tileProvider.srs?` | *string* |
| `tileProvider.tileCrs?` | ``"gcj02"`` \| ``"wgs84"`` |
| `tileProvider.tileFlipY?` | *boolean* |
| `tileProvider.tileMaxZoom?` | *number* |
| `tileProvider.tileRetina?` | *number* |
| `tileProvider.tileShards?` | *string* |
| `tileProvider.tileSize?` | *number* |
| `tileProvider.tileToken?` | *string* \| *string*[] |
| `tileProvider.tileUrl` | *string* \| *string*[] |

**Returns:** *string*

___

#### wmsTileUrl

▸ **wmsTileUrl**(`param`: [*IWmsTileUrl*](#interfacesdefaultiwmstileurlmd)): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | [*IWmsTileUrl*](#interfacesdefaultiwmstileurlmd) |

**Returns:** *string*

___

#### workspaceCreate

▸ **workspaceCreate**(`workspace`: [*IWorkspace*](#interfacesdefaultiworkspacemd)): *Promise*<any\>

创建工作区(默认需要root权限)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `workspace` | [*IWorkspace*](#interfacesdefaultiworkspacemd) | 工作区设置 |

**Returns:** *Promise*<any\>

___

#### workspaceDelete

▸ **workspaceDelete**(`name`: *string*): *Promise*<any\>

删除工作区（会同时删除工作区下面的所有目录文件）(默认需要root权限)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | *string* | 要删除的工作区名称 |

**Returns:** *Promise*<any\>

___

#### workspaceModify

▸ **workspaceModify**(`workspace`: [*IWorkspace*](#interfacesdefaultiworkspacemd)): *Promise*<any\>

修改工作区(默认需要root权限)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `workspace` | [*IWorkspace*](#interfacesdefaultiworkspacemd) | 工作区 |

**Returns:** *Promise*<any\>


<a name="classesdefaultskylayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SkyLayer

## Class: SkyLayer

[default](#modulesdefaultmd).SkyLayer

创建天空图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **SkyLayer**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSkyAtmosphereColor](#getskyatmospherecolor)
- [getSkyAtmosphereHaloColor](#getskyatmospherehalocolor)
- [getSkyAtmosphereSun](#getskyatmospheresun)
- [getSkyAtmosphereSunIntensity](#getskyatmospheresunintensity)
- [getSkyGradient](#getskygradient)
- [getSkyGradientCenter](#getskygradientcenter)
- [getSkyGradientRadius](#getskygradientradius)
- [getSkyOpacity](#getskyopacity)
- [getSkyType](#getskytype)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [setSkyAtmosphereColor](#setskyatmospherecolor)
- [setSkyAtmosphereHaloColor](#setskyatmospherehalocolor)
- [setSkyAtmosphereSun](#setskyatmospheresun)
- [setSkyAtmosphereSunIntensity](#setskyatmospheresunintensity)
- [setSkyGradient](#setskygradient)
- [setSkyGradientCenter](#setskygradientcenter)
- [setSkyGradientRadius](#setskygradientradius)
- [setSkyOpacity](#setskyopacity)
- [setSkyType](#setskytype)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new SkyLayer**(`options`: [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd)): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd) |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSkyAtmosphereColor

▸ **getSkyAtmosphereColor**(): *string*

**Returns:** *string*

___

#### getSkyAtmosphereHaloColor

▸ **getSkyAtmosphereHaloColor**(): *string*

**Returns:** *string*

___

#### getSkyAtmosphereSun

▸ **getSkyAtmosphereSun**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getSkyAtmosphereSunIntensity

▸ **getSkyAtmosphereSunIntensity**(): *number*

**Returns:** *number*

___

#### getSkyGradient

▸ **getSkyGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### getSkyGradientCenter

▸ **getSkyGradientCenter**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getSkyGradientRadius

▸ **getSkyGradientRadius**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getSkyOpacity

▸ **getSkyOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getSkyType

▸ **getSkyType**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\>

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setSkyAtmosphereColor

▸ **setSkyAtmosphereColor**(`value`: *string*): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *string* |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyAtmosphereHaloColor

▸ **setSkyAtmosphereHaloColor**(`value`: *string*): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *string* |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyAtmosphereSun

▸ **setSkyAtmosphereSun**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyAtmosphereSunIntensity

▸ **setSkyAtmosphereSunIntensity**(`value`: *number*): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *number* |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyGradient

▸ **setSkyGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyGradientCenter

▸ **setSkyGradientCenter**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyGradientRadius

▸ **setSkyGradientRadius**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyOpacity

▸ **setSkyOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyType

▸ **setSkyType**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaultsvgoverlaymd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SvgOverlay

## Class: SvgOverlay

[default](#modulesdefaultmd).SvgOverlay

在一个地理范围内创建一个随缩放而缩放的svg的覆盖物，(注：svg覆盖物性能低，不建议大量使用，同时在级别特别大时会导致失真，在倾斜角很大时会导致不可见)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [divOverlay](#divoverlay)
- [elements](#elements)
- [options](#options)

#### Methods

- [addElement](#addelement)
- [addElements](#addelements)
- [addTo](#addto)
- [getElements](#getelements)
- [getSvgContainer](#getsvgcontainer)
- [remove](#remove)
- [removeElements](#removeelements)
- [updateElements](#updateelements)
- [attr\_cx\_cy\_r](#attr_cx_cy_r)
- [attr\_cx\_cy\_rx\_ry](#attr_cx_cy_rx_ry)
- [attr\_fontsize](#attr_fontsize)
- [attr\_length](#attr_length)
- [attr\_path](#attr_path)
- [attr\_point](#attr_point)
- [attr\_points](#attr_points)
- [attr\_x1\_y1\_x2\_y2](#attr_x1_y1_x2_y2)
- [attr\_x\_y](#attr_x_y)
- [attr\_x\_y\_w\_h](#attr_x_y_w_h)

### Constructors

#### constructor

\+ **new SvgOverlay**(`options?`: [*SvgOverlayOptions*](#interfacesdefaultsvgoverlayoptionsmd)): [*SvgOverlay*](#classesdefaultsvgoverlaymd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*SvgOverlayOptions*](#interfacesdefaultsvgoverlayoptionsmd) |

**Returns:** [*SvgOverlay*](#classesdefaultsvgoverlaymd)

### Properties

#### divOverlay

• **divOverlay**: [*DivOverlay*](#classesdefaultdivoverlaymd)

___

#### elements

• **elements**: [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### options

• **options**: [*SvgOverlayOptions*](#interfacesdefaultsvgoverlayoptionsmd)

### Methods

#### addElement

▸ **addElement**(`element`: *string* \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd), `noUpdate?`: *boolean*): *void*

增加svg元素

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `element` | *string* \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd) | 要增加的元素 |
| `noUpdate?` | *boolean* | 不立即更新 |

**Returns:** *void*

___

#### addElements

▸ **addElements**(`elements`: [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[], `noUpdate?`: *boolean*): *void*

增加svg元素

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `elements` | [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[] | 多个元素内容 |
| `noUpdate?` | *boolean* | 不立即更新 |

**Returns:** *void*

___

#### addTo

▸ **addTo**(`map`: *Map*, `insertId?`: *string* \| HTMLElement): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `insertId?` | *string* \| HTMLElement |

**Returns:** *void*

___

#### getElements

▸ **getElements**(): [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

获取所有的元素

**Returns:** [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### getSvgContainer

▸ **getSvgContainer**(): SVGSVGElement

获取svg获取

**Returns:** SVGSVGElement

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### removeElements

▸ **removeElements**(`id`: *string* \| *string*[]): [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

移动一个元素

##### Parameters

| Name | Type |
| :------ | :------ |
| `id` | *string* \| *string*[] |

**Returns:** [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### updateElements

▸ **updateElements**(`elements`: [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd) \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]): [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

更新一个元素

##### Parameters

| Name | Type |
| :------ | :------ |
| `elements` | [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd) \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[] |

**Returns:** [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### attr\_cx\_cy\_r

▸ `Static` **attr_cx_cy_r**(`cx`: *number*, `cy`: *number*, `r`: *number*): *string*

圆心半径属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `cx` | *number* |
| `cy` | *number* |
| `r` | *number* |

**Returns:** *string*

___

#### attr\_cx\_cy\_rx\_ry

▸ `Static` **attr_cx_cy_rx_ry**(`cx`: *number*, `cy`: *number*, `rx`: *number*, `ry`: *number*): *string*

椭圆心半径属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `cx` | *number* |
| `cy` | *number* |
| `rx` | *number* |
| `ry` | *number* |

**Returns:** *string*

___

#### attr\_fontsize

▸ `Static` **attr_fontsize**(`fontsize`: *number*): *string*

字体属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `fontsize` | *number* |

**Returns:** *string*

___

#### attr\_length

▸ `Static` **attr_length**(`len`: *number*): *string*

和长度有关属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `len` | *number* |

**Returns:** *string*

___

#### attr\_path

▸ `Static` **attr_path**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *string*

路径序列属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *string*

___

#### attr\_point

▸ `Static` **attr_point**(`point`: [*GeoPoint*](#classesdefaultgeopointmd), `joinComma?`: *boolean*): *string*

和点坐标有关属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `joinComma?` | *boolean* |

**Returns:** *string*

___

#### attr\_points

▸ `Static` **attr_points**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *string*

坐标序列属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *string*

___

#### attr\_x1\_y1\_x2\_y2

▸ `Static` **attr_x1_y1_x2_y2**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*): *string*

直线坐标属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `x1` | *number* |
| `y1` | *number* |
| `x2` | *number* |
| `y2` | *number* |

**Returns:** *string*

___

#### attr\_x\_y

▸ `Static` **attr_x_y**(`x`: *number*, `y`: *number*): *string*

坐标属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |

**Returns:** *string*

___

#### attr\_x\_y\_w\_h

▸ `Static` **attr_x_y_w_h**(`x`: *number*, `y`: *number*, `w`: *number*, `h`: *number*): *string*

坐标宽高属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |
| `w` | *number* |
| `h` | *number* |

**Returns:** *string*


<a name="classesdefaultsymbolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Symbol

## Class: Symbol

[default](#modulesdefaultmd).Symbol

创建符号图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Symbol**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getIconAllowOverlap](#geticonallowoverlap)
- [getIconAnchor](#geticonanchor)
- [getIconColor](#geticoncolor)
- [getIconHaloBlur](#geticonhaloblur)
- [getIconHaloColor](#geticonhalocolor)
- [getIconHaloWidth](#geticonhalowidth)
- [getIconIgnorePlacement](#geticonignoreplacement)
- [getIconImage](#geticonimage)
- [getIconKeepUpright](#geticonkeepupright)
- [getIconOffset](#geticonoffset)
- [getIconOpacity](#geticonopacity)
- [getIconOptional](#geticonoptional)
- [getIconPadding](#geticonpadding)
- [getIconPitchAlignment](#geticonpitchalignment)
- [getIconRotate](#geticonrotate)
- [getIconRotationAlignment](#geticonrotationalignment)
- [getIconSize](#geticonsize)
- [getIconTextFit](#geticontextfit)
- [getIconTextFitPadding](#geticontextfitpadding)
- [getIconTranslate](#geticontranslate)
- [getIconTranslateAnchor](#geticontranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [getSymbolAvoidEdges](#getsymbolavoidedges)
- [getSymbolPlacement](#getsymbolplacement)
- [getSymbolSortKey](#getsymbolsortkey)
- [getSymbolSpacing](#getsymbolspacing)
- [getSymbolZOrder](#getsymbolzorder)
- [getTextAllowOverlap](#gettextallowoverlap)
- [getTextAnchor](#gettextanchor)
- [getTextColor](#gettextcolor)
- [getTextField](#gettextfield)
- [getTextFont](#gettextfont)
- [getTextHaloBlur](#gettexthaloblur)
- [getTextHaloColor](#gettexthalocolor)
- [getTextHaloWidth](#gettexthalowidth)
- [getTextIgnorePlacement](#gettextignoreplacement)
- [getTextJustify](#gettextjustify)
- [getTextKeepUpright](#gettextkeepupright)
- [getTextLetterSpacing](#gettextletterspacing)
- [getTextLineHeight](#gettextlineheight)
- [getTextMaxAngle](#gettextmaxangle)
- [getTextMaxWidth](#gettextmaxwidth)
- [getTextOffset](#gettextoffset)
- [getTextOpacity](#gettextopacity)
- [getTextOptional](#gettextoptional)
- [getTextPadding](#gettextpadding)
- [getTextPitchAlignment](#gettextpitchalignment)
- [getTextRadialOffset](#gettextradialoffset)
- [getTextRotate](#gettextrotate)
- [getTextRotationAlignment](#gettextrotationalignment)
- [getTextSize](#gettextsize)
- [getTextTransform](#gettexttransform)
- [getTextTranslate](#gettexttranslate)
- [getTextTranslateAnchor](#gettexttranslateanchor)
- [getTextVariableAnchor](#gettextvariableanchor)
- [getTextWritingMode](#gettextwritingmode)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setIconAllowOverlap](#seticonallowoverlap)
- [setIconAnchor](#seticonanchor)
- [setIconColor](#seticoncolor)
- [setIconHaloBlur](#seticonhaloblur)
- [setIconHaloColor](#seticonhalocolor)
- [setIconHaloWidth](#seticonhalowidth)
- [setIconIgnorePlacement](#seticonignoreplacement)
- [setIconImage](#seticonimage)
- [setIconKeepUpright](#seticonkeepupright)
- [setIconOffset](#seticonoffset)
- [setIconOpacity](#seticonopacity)
- [setIconOptional](#seticonoptional)
- [setIconPadding](#seticonpadding)
- [setIconPitchAlignment](#seticonpitchalignment)
- [setIconRotate](#seticonrotate)
- [setIconRotationAlignment](#seticonrotationalignment)
- [setIconSize](#seticonsize)
- [setIconTextFit](#seticontextfit)
- [setIconTextFitPadding](#seticontextfitpadding)
- [setIconTranslate](#seticontranslate)
- [setIconTranslateAnchor](#seticontranslateanchor)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [setSymbolAvoidEdges](#setsymbolavoidedges)
- [setSymbolPlacement](#setsymbolplacement)
- [setSymbolSortKey](#setsymbolsortkey)
- [setSymbolSpacing](#setsymbolspacing)
- [setSymbolZOrder](#setsymbolzorder)
- [setTextAllowOverlap](#settextallowoverlap)
- [setTextAnchor](#settextanchor)
- [setTextColor](#settextcolor)
- [setTextField](#settextfield)
- [setTextFont](#settextfont)
- [setTextHaloBlur](#settexthaloblur)
- [setTextHaloColor](#settexthalocolor)
- [setTextHaloWidth](#settexthalowidth)
- [setTextIgnorePlacement](#settextignoreplacement)
- [setTextJustify](#settextjustify)
- [setTextKeepUpright](#settextkeepupright)
- [setTextLetterSpacing](#settextletterspacing)
- [setTextLineHeight](#settextlineheight)
- [setTextMaxAngle](#settextmaxangle)
- [setTextMaxWidth](#settextmaxwidth)
- [setTextOffset](#settextoffset)
- [setTextOpacity](#settextopacity)
- [setTextOptional](#settextoptional)
- [setTextPadding](#settextpadding)
- [setTextPitchAlignment](#settextpitchalignment)
- [setTextRadialOffset](#settextradialoffset)
- [setTextRotate](#settextrotate)
- [setTextRotationAlignment](#settextrotationalignment)
- [setTextSize](#settextsize)
- [setTextTransform](#settexttransform)
- [setTextTranslate](#settexttranslate)
- [setTextTranslateAnchor](#settexttranslateanchor)
- [setTextVariableAnchor](#settextvariableanchor)
- [setTextWritingMode](#settextwritingmode)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Symbol**(`options`: [*SymbolOptions*](#interfacesdefaultsymboloptionsmd)): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*SymbolOptions*](#interfacesdefaultsymboloptionsmd) |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*SymbolOptions*](#interfacesdefaultsymboloptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getIconAllowOverlap

▸ **getIconAllowOverlap**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconAnchor

▸ **getIconAnchor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

___

#### getIconColor

▸ **getIconColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getIconHaloBlur

▸ **getIconHaloBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconHaloColor

▸ **getIconHaloColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getIconHaloWidth

▸ **getIconHaloWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconIgnorePlacement

▸ **getIconIgnorePlacement**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconImage

▸ **getIconImage**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getIconKeepUpright

▸ **getIconKeepUpright**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconOffset

▸ **getIconOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

___

#### getIconOpacity

▸ **getIconOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconOptional

▸ **getIconOptional**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconPadding

▸ **getIconPadding**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getIconPitchAlignment

▸ **getIconPitchAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getIconRotate

▸ **getIconRotate**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconRotationAlignment

▸ **getIconRotationAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getIconSize

▸ **getIconSize**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconTextFit

▸ **getIconTextFit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\>

___

#### getIconTextFitPadding

▸ **getIconTextFitPadding**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\>

___

#### getIconTranslate

▸ **getIconTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getIconTranslateAnchor

▸ **getIconTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSymbolAvoidEdges

▸ **getSymbolAvoidEdges**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getSymbolPlacement

▸ **getSymbolPlacement**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\>

___

#### getSymbolSortKey

▸ **getSymbolSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getSymbolSpacing

▸ **getSymbolSpacing**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getSymbolZOrder

▸ **getSymbolZOrder**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\>

___

#### getTextAllowOverlap

▸ **getTextAllowOverlap**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextAnchor

▸ **getTextAnchor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

___

#### getTextColor

▸ **getTextColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getTextField

▸ **getTextField**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getTextFont

▸ **getTextFont**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\>

___

#### getTextHaloBlur

▸ **getTextHaloBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextHaloColor

▸ **getTextHaloColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getTextHaloWidth

▸ **getTextHaloWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextIgnorePlacement

▸ **getTextIgnorePlacement**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextJustify

▸ **getTextJustify**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\>

___

#### getTextKeepUpright

▸ **getTextKeepUpright**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextLetterSpacing

▸ **getTextLetterSpacing**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextLineHeight

▸ **getTextLineHeight**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextMaxAngle

▸ **getTextMaxAngle**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getTextMaxWidth

▸ **getTextMaxWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextOffset

▸ **getTextOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

___

#### getTextOpacity

▸ **getTextOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextOptional

▸ **getTextOptional**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextPadding

▸ **getTextPadding**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getTextPitchAlignment

▸ **getTextPitchAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getTextRadialOffset

▸ **getTextRadialOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextRotate

▸ **getTextRotate**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextRotationAlignment

▸ **getTextRotationAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getTextSize

▸ **getTextSize**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextTransform

▸ **getTextTransform**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\>

___

#### getTextTranslate

▸ **getTextTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getTextTranslateAnchor

▸ **getTextTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getTextVariableAnchor

▸ **getTextVariableAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\>

___

#### getTextWritingMode

▸ **getTextWritingMode**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\>

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setIconAllowOverlap

▸ **setIconAllowOverlap**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconAnchor

▸ **setIconAnchor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconColor

▸ **setIconColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconHaloBlur

▸ **setIconHaloBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconHaloColor

▸ **setIconHaloColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconHaloWidth

▸ **setIconHaloWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconIgnorePlacement

▸ **setIconIgnorePlacement**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconImage

▸ **setIconImage**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconKeepUpright

▸ **setIconKeepUpright**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconOffset

▸ **setIconOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconOpacity

▸ **setIconOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconOptional

▸ **setIconOptional**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconPadding

▸ **setIconPadding**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconPitchAlignment

▸ **setIconPitchAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconRotate

▸ **setIconRotate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconRotationAlignment

▸ **setIconRotationAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconSize

▸ **setIconSize**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTextFit

▸ **setIconTextFit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTextFitPadding

▸ **setIconTextFitPadding**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTranslate

▸ **setIconTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTranslateAnchor

▸ **setIconTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setSymbolAvoidEdges

▸ **setSymbolAvoidEdges**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolPlacement

▸ **setSymbolPlacement**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolSortKey

▸ **setSymbolSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolSpacing

▸ **setSymbolSpacing**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolZOrder

▸ **setSymbolZOrder**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextAllowOverlap

▸ **setTextAllowOverlap**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextAnchor

▸ **setTextAnchor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextColor

▸ **setTextColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextField

▸ **setTextField**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextFont

▸ **setTextFont**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextHaloBlur

▸ **setTextHaloBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextHaloColor

▸ **setTextHaloColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextHaloWidth

▸ **setTextHaloWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextIgnorePlacement

▸ **setTextIgnorePlacement**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextJustify

▸ **setTextJustify**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextKeepUpright

▸ **setTextKeepUpright**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextLetterSpacing

▸ **setTextLetterSpacing**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextLineHeight

▸ **setTextLineHeight**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextMaxAngle

▸ **setTextMaxAngle**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextMaxWidth

▸ **setTextMaxWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextOffset

▸ **setTextOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextOpacity

▸ **setTextOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextOptional

▸ **setTextOptional**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextPadding

▸ **setTextPadding**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextPitchAlignment

▸ **setTextPitchAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextRadialOffset

▸ **setTextRadialOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextRotate

▸ **setTextRotate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextRotationAlignment

▸ **setTextRotationAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextSize

▸ **setTextSize**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextTransform

▸ **setTextTransform**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextTranslate

▸ **setTextTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextTranslateAnchor

▸ **setTextTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextVariableAnchor

▸ **setTextVariableAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextWritingMode

▸ **setTextWritingMode**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesdefaulttextmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Text

## Class: Text

[default](#modulesdefaultmd).Text

创建文本组件.

**`param`**

**`param`** 文字内容

**`param`** 文字样式

**`param`** 用作文本的 DOM 元素。

**`param`** 一个字符串，指示应该放置在最靠近坐标的标记部分。选项有“center”、“top”、“bottom”、“left”、“right”、“top-left”、“top-right”、“top-right” “左下”和“右下”.

**`param`** 作为要应用的对象相对于元素中心的偏移量（以像素为单位）。负数表示向左和向上.

**`param`** 如果未提供`options.element`.

**`param`** 如果未提供`options.element`，则用于默认文本的比例。.

**`param`** 一个布尔值，指示是否可以将文本拖动到地图上的新位置.

**`param`** 用户在单击文本期间可以移动鼠标指针以将其视为有效单击（与文本拖动相反）的最大像素数。默认是继承地图的`clickTolerance`.

**`param`** 文本相对于其各自的“rotationAlignment”设置的旋转角度（以度为单位）。正值将顺时针旋转文本.

**`param`** `map` 将 `Text` 与地图平面对齐。 `viewport` 将 `Text` 与视口平面对齐。 `auto` 自动匹配 `rotationAlignment` 的值.

**`param`** `map` 对齐 `Text` 相对于地图的旋转，在地图旋转时保持方位。 `viewport` 对齐 `Text` 相对于视口的旋转，与地图旋转无关。 `auto` 等价于 `viewport`.

**`example`**
// Create a new Text.
const text = new vjmap.Text({text: "abc“})
    .setLngLat([30.5, 50.5])
    .addTo(map);

**`example`**
// Set text options.
const text = new vjmap.Text({
    text: "abc“,
    draggable: true
}).setLngLat([30.5, 50.5])
    .addTo(map);

### Hierarchy

- *Evented*

  ↳ **Text**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_style](#_style)
- [\_textContainerDom](#_textcontainerdom)

#### Methods

- [addTo](#addto)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarker](#getmarker)
- [getOffset](#getoffset)
- [getPitchAlignment](#getpitchalignment)
- [getPopup](#getpopup)
- [getRotation](#getrotation)
- [getRotationAlignment](#getrotationalignment)
- [getStyle](#getstyle)
- [getText](#gettext)
- [hide](#hide)
- [isDraggable](#isdraggable)
- [remove](#remove)
- [setAnimation](#setanimation)
- [setCursor](#setcursor)
- [setDraggable](#setdraggable)
- [setLngLat](#setlnglat)
- [setOffset](#setoffset)
- [setPitchAlignment](#setpitchalignment)
- [setPopup](#setpopup)
- [setRotation](#setrotation)
- [setRotationAlignment](#setrotationalignment)
- [setStyle](#setstyle)
- [setText](#settext)
- [show](#show)
- [togglePopup](#togglepopup)

### Constructors

#### constructor

\+ **new Text**(`options?`: [*TextOptions*](#interfacesdefaulttextoptionsmd)): [*Text*](#classesdefaulttextmd)

构造函数

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*TextOptions*](#interfacesdefaulttextoptionsmd) |

**Returns:** [*Text*](#classesdefaulttextmd)

Overrides: Evented.constructor

### Properties

#### \_style

• **\_style**: *object*

___

#### \_textContainerDom

• **\_textContainerDom**: HTMLElement

### Methods

#### addTo

▸ **addTo**(`map`: *Map*): [*Text*](#classesdefaulttextmd)

将 `Text` 附加到 `Map` 对象。

**`example`**
const text = new vjmap.Text({text: "abc"})
    .setLngLat([30.5, 50.5])
    .addTo(map); // add the text to the map

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | *Map* | to add the text to. |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### getElement

▸ **getElement**(): HTMLElement

返回 `Text` 的 HTML 元素。

**`example`**
const element = text.getElement();

**Returns:** HTMLElement

Returns the text element.

___

#### getLngLat

▸ **getLngLat**(): LngLatLike

得到经纬度

**Returns:** LngLatLike

___

#### getMarker

▸ **getMarker**(): *Marker*

返回 `Text` 的 Marker 对象。

**Returns:** *Marker*

___

#### getOffset

▸ **getOffset**(): *number*

获取文本的偏移量.

**Returns:** *number*

The text's screen coordinates in pixels.

___

#### getPitchAlignment

▸ **getPitchAlignment**(): *string*

返回文本的当前 `pitchAlignment` 属性.

**Returns:** *string*

The current pitch alignment of the text in degrees.

___

#### getPopup

▸ **getPopup**(): *Popup*

返回绑定到 `Text` 的 `Popup` 实例。

**Returns:** *Popup*

Returns the popup.

___

#### getRotation

▸ **getRotation**(): *number*

返回文本的当前旋转角度（以度为单位）.

**Returns:** *number*

The current rotation angle of the text.

___

#### getRotationAlignment

▸ **getRotationAlignment**(): *string*

返回文本的当前 `rotationAlignment` 属性.

**Returns:** *string*

The current rotational alignment of the text.

___

#### getStyle

▸ **getStyle**(): *object*

得到文本样式

**Returns:** *object*

___

#### getText

▸ **getText**(): *string*

得到文本内容

**Returns:** *string*

___

#### hide

▸ **hide**(): *void*

隐藏

**Returns:** *void*

___

#### isDraggable

▸ **isDraggable**(): *boolean*

如果可以拖动文本，则返回 true。

**Returns:** *boolean*

True if the text is draggable.

___

#### remove

▸ **remove**(): [*Text*](#classesdefaulttextmd)

从地图中删除文本。

**`example`**
const text = new vjmap.Text().addTo(map);
text.remove();

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setAnimation

▸ **setAnimation**(`animationType`: *string*): *void*

设置动画

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `animationType` | *string* | MAP_ANIMATION_NONE 无动画 MAP_ANIMATION_BOUNCE 弹跳 MAP_ANIMATION_DROP 坠落 |

**Returns:** *void*

___

#### setCursor

▸ **setCursor**(`cur`: *string*): *void*

设置光标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cur` | *string* | 光标名称 |

**Returns:** *void*

___

#### setDraggable

▸ **setDraggable**(`shouldBeDraggable`: *boolean*): [*Text*](#classesdefaulttextmd)

设置文本的 `draggable` 属性和功能.

##### Parameters

| Name | Type |
| :------ | :------ |
| `shouldBeDraggable` | *boolean* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setLngLat

▸ **setLngLat**(`lnglat`: LngLatLike): [*Text*](#classesdefaulttextmd)

设置经纬度

##### Parameters

| Name | Type |
| :------ | :------ |
| `lnglat` | LngLatLike |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### setOffset

▸ **setOffset**(`offset`: PointLike): [*Text*](#classesdefaulttextmd)

设置文本的偏移量.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `offset` | PointLike | 以像素为单位的偏移量，作为 PointLike 对象相对于元素的中心应用。负数表示向左和向上。 |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setPitchAlignment

▸ **setPitchAlignment**(`alignment`: *string*): [*Text*](#classesdefaulttextmd)

设置文本的 `pitchAlignment` 属性.

##### Parameters

| Name | Type |
| :------ | :------ |
| `alignment` | *string* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setPopup

▸ **setPopup**(`popup?`: *Popup*): [*Text*](#classesdefaulttextmd)

Binds a `Popup` to the `Text`

##### Parameters

| Name | Type |
| :------ | :------ |
| `popup?` | *Popup* |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### setRotation

▸ **setRotation**(`rotation`: *number*): [*Text*](#classesdefaulttextmd)

Sets the `rotation` property of the text.

##### Parameters

| Name | Type |
| :------ | :------ |
| `rotation` | *number* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setRotationAlignment

▸ **setRotationAlignment**(`alignment`: *string*): [*Text*](#classesdefaulttextmd)

设置文本的 `rotationAlignment` 属性.

##### Parameters

| Name | Type |
| :------ | :------ |
| `alignment` | *string* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setStyle

▸ **setStyle**(`style?`: *object*): [*Text*](#classesdefaulttextmd)

设置文本样式

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `style` | *object* | {} |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### setText

▸ **setText**(`txt`: *string*): [*Text*](#classesdefaulttextmd)

设置文本内容

##### Parameters

| Name | Type |
| :------ | :------ |
| `txt` | *string* |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### show

▸ **show**(): *void*

显示

**Returns:** *void*

___

#### togglePopup

▸ **togglePopup**(): [*Text*](#classesdefaulttextmd)

根据 `Popup` 的当前状态打开或关闭绑定到 `Text` 的 `Popup` 实例.

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.


<a name="classesdefaultthreelayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ThreeLayer

## Class: ThreeLayer

[default](#modulesdefaultmd).ThreeLayer

threejs图层.

### Hierarchy

- *Evented*

  ↳ **ThreeLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [context](#context)
- [id](#id)
- [renderingMode](#renderingmode)
- [type](#type)

#### Methods

- [onAdd](#onadd)
- [onRemove](#onremove)
- [render](#render)

### Constructors

#### constructor

\+ **new ThreeLayer**(`options`: [*ThreeLayerOptions*](#interfacesdefaultthreelayeroptionsmd)): [*ThreeLayer*](#classesdefaultthreelayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ThreeLayerOptions*](#interfacesdefaultthreelayeroptionsmd) |

**Returns:** [*ThreeLayer*](#classesdefaultthreelayermd)

Overrides: Evented.constructor

### Properties

#### context

• **context**: [*ThreeJsContext*](#interfacesdefaultthreejscontextmd)

___

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### renderingMode

• `Optional` **renderingMode**: ``"2d"`` \| ``"3d"``

Implementation of: CustomLayerInterface.renderingMode

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### onAdd

▸ **onAdd**(`map`: *any*, `gl`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `gl` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### render

▸ **render**(`gl`: *any*, `matrix`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | *any* |
| `matrix` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.render


<a name="classesdiffusedaperturemarkermd"></a>

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

## Class: DiffusedApertureMarker

扩散的点.

### Hierarchy

- *MarkerBase*

  ↳ **DiffusedApertureMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new DiffusedApertureMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*DiffusedApertureMarker*](#classesdefaultdiffusedaperturemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*DiffusedApertureMarker*](#classesdefaultdiffusedaperturemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesdivoverlaymd"></a>

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

## Class: DivOverlay

在一个地理范围内创建一个随缩放而缩放的div的覆盖物
注：如果是svg，则需设置为 viewBox="0 0 width height" preserveAspectRatio="xMinYMin meet", updateDivSize选项设置为true

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [isRemoved](#isremoved)
- [isShow](#isshow)
- [maxPitch](#maxpitch)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [options](#options)
- [parentContainer](#parentcontainer)

#### Methods

- [addTo](#addto)
- [remove](#remove)
- [setVisible](#setvisible)
- [updateBounds](#updatebounds)
- [updateSize](#updatesize)

### Constructors

#### constructor

\+ **new DivOverlay**(`options`: [*DivOverlayOptions*](#interfacesdefaultdivoverlayoptionsmd)): [*DivOverlay*](#classesdefaultdivoverlaymd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*DivOverlayOptions*](#interfacesdefaultdivoverlayoptionsmd) |

**Returns:** [*DivOverlay*](#classesdefaultdivoverlaymd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

___

#### isRemoved

• **isRemoved**: *boolean*

___

#### isShow

• **isShow**: *boolean*

___

#### maxPitch

• **maxPitch**: *number*

___

#### maxZoom

• **maxZoom**: *number*

___

#### minZoom

• **minZoom**: *number*

___

#### options

• **options**: [*DivOverlayOptions*](#interfacesdefaultdivoverlayoptionsmd)

___

#### parentContainer

• `Optional` **parentContainer**: HTMLElement

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `insertId?`: *string* \| HTMLElement): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `insertId?` | *string* \| HTMLElement |

**Returns:** *void*

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### setVisible

▸ **setVisible**(`visible?`: *boolean*, `isDisplay?`: *boolean*): *void*

设置是否显示隐藏

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `visible?` | *boolean* | 是否显示 |
| `isDisplay?` | *boolean* | true的话，表示用style的display去控制隐藏显示，dom还在文档中。false的话，会从文档动态清空增加 |

**Returns:** *void*

___

#### updateBounds

▸ **updateBounds**(`bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [[*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike)]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) \| [[*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike)] |

**Returns:** *void*

___

#### updateSize

▸ **updateSize**(`width`: *number*, `height`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `height` | *number* |

**Returns:** *void*


<a name="classesdrawtoolmd"></a>

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

## Class: DrawTool

### Implements

- [*IDrawTool*](#interfacesdefaultidrawtoolmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [add](#add)
- [changeMode](#changemode)
- [combineFeatures](#combinefeatures)
- [delete](#delete)
- [deleteAll](#deleteall)
- [doAction](#doaction)
- [forceRefresh](#forcerefresh)
- [get](#get)
- [getAll](#getall)
- [getFeatureIdsAt](#getfeatureidsat)
- [getMode](#getmode)
- [getSelected](#getselected)
- [getSelectedIds](#getselectedids)
- [getSelectedPoints](#getselectedpoints)
- [modes](#modes)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [options](#options)
- [redo](#redo)
- [set](#set)
- [setFeatureProperty](#setfeatureproperty)
- [trash](#trash)
- [uncombineFeatures](#uncombinefeatures)
- [undo](#undo)

### Constructors

#### constructor

\+ **new DrawTool**(`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)): [*DrawTool*](#classesdefaultdrawtoolmd)

构造函数

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*IDrawOptions*](#interfacesdefaultidrawoptionsmd) |

**Returns:** [*DrawTool*](#classesdefaultdrawtoolmd)

### Properties

#### add

• **add**: (`geojson`: *any*) => *string*[]

此方法采用 GeoJSON Feature、FeatureCollection 或 Geometry 并将其添加到 Draw。它返回一个 id 数组，用于与添加的功能进行交互。如果某个功能没有自己的 id，则会自动生成一个

##### Type declaration

▸ (`geojson`: *any*): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `geojson` | *any* |

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[add](#add)

___

#### changeMode

• **changeMode**: (`mode`: *string*, `modeOptions?`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

将绘图更改为另一种模式。返回用于链接的绘制实例

##### Type declaration

▸ (`mode`: *string*, `modeOptions?`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `mode` | *string* |
| `modeOptions?` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[changeMode](#changemode)

___

#### combineFeatures

• **combineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的combineFeatures操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[combineFeatures](#combinefeatures)

___

#### delete

• **delete**: (`featureIds`: *string* \| *string*[]) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除具有指定 ID 的功能。返回用于链接的绘制实例

##### Type declaration

▸ (`featureIds`: *string* \| *string*[]): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureIds` | *string* \| *string*[] |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[delete](#delete)

___

#### deleteAll

• **deleteAll**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除所有功能。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[deleteAll](#deleteall)

___

#### doAction

• **doAction**: (`actionName`: *string*) => *any*

在当前模式下执行动作

##### Type declaration

▸ (`actionName`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `actionName` | *string* |

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[doAction](#doaction)

___

#### forceRefresh

• **forceRefresh**: () => *any*

强制刷新

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[forceRefresh](#forcerefresh)

___

#### get

• **get**: (`id`: *string*) => *any*

返回 Draw 中具有指定 id 的 GeoJSON 功能，或者undefined如果 id 不匹配任何功能

##### Type declaration

▸ (`id`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `id` | *string* |

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[get](#get)

___

#### getAll

• **getAll**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getAll](#getall)

___

#### getFeatureIdsAt

• **getFeatureIdsAt**: (`point`: { `x`: *number* ; `y`: *number*  }) => *string*[]

返回当前在指定点呈现的功能的功能 ID 数组。

##### Type declaration

▸ (`point`: { `x`: *number* ; `y`: *number*  }): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | *object* |
| `point.x` | *number* |
| `point.y` | *number* |

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getFeatureIdsAt](#getfeatureidsat)

___

#### getMode

• **getMode**: () => *string*

返回 Draw 的当前模式

##### Type declaration

▸ (): *string*

**Returns:** *string*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getMode](#getmode)

___

#### getSelected

• **getSelected**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回当前选择的所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getSelected](#getselected)

___

#### getSelectedIds

• **getSelectedIds**: () => *string*[]

返回当前所选功能的功能 ID 数组

##### Type declaration

▸ (): *string*[]

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getSelectedIds](#getselectedids)

___

#### getSelectedPoints

• **getSelectedPoints**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回代表当前选择的所有顶点的 FeatureCollection 点

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[getSelectedPoints](#getselectedpoints)

___

#### modes

• **modes**: *Record*<string, any\>

内部变量模式值

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[modes](#modes)

___

#### onAdd

• **onAdd**: (`map`: *any*) => *any*

增加时回调接口

##### Type declaration

▸ (`map`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[onAdd](#onadd)

___

#### onRemove

• **onRemove**: () => *any*

移除时回调接口

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[onRemove](#onremove)

___

#### options

• **options**: *Record*<string, any\>

内部变量选项值

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[options](#options)

___

#### redo

• **redo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[redo](#redo)

___

#### set

• **set**: (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>) => *string*[]

将 Draw 的功能设置为指定的 FeatureCollection

##### Type declaration

▸ (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureCollection` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *string*[]

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[set](#set)

___

#### setFeatureProperty

• **setFeatureProperty**: (`featureId`: *string*, `property`: *string*, `value`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

设置具有指定 id 的要素的属性值。返回用于链接的绘制实例

##### Type declaration

▸ (`featureId`: *string*, `property`: *string*, `value`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureId` | *string* |
| `property` | *string* |
| `value` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[setFeatureProperty](#setfeatureproperty)

___

#### trash

• **trash**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的删除trash操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[trash](#trash)

___

#### uncombineFeatures

• **uncombineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[uncombineFeatures](#uncombinefeatures)

___

#### undo

• **undo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*

Implementation of: [IDrawTool](#interfacesdefaultidrawtoolmd).[undo](#undo)


<a name="classesellipseedgemd"></a>

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

## Class: EllipseEdge

创建只有边框的椭圆或椭圆弧

### Hierarchy

- [*Polyline*](#classesdefaultpolylinemd)

  ↳ **EllipseEdge**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getLineBlur](#getlineblur)
- [getLineCap](#getlinecap)
- [getLineColor](#getlinecolor)
- [getLineDasharray](#getlinedasharray)
- [getLineGapWidth](#getlinegapwidth)
- [getLineGradient](#getlinegradient)
- [getLineJoin](#getlinejoin)
- [getLineMiterMimit](#getlinemitermimit)
- [getLineOffset](#getlineoffset)
- [getLineOpacity](#getlineopacity)
- [getLinePattern](#getlinepattern)
- [getLineRoundLimit](#getlineroundlimit)
- [getLineSortKey](#getlinesortkey)
- [getLineTranslate](#getlinetranslate)
- [getLineTranslateAnchor](#getlinetranslateanchor)
- [getLineWidth](#getlinewidth)
- [getMajorAxisRadius](#getmajoraxisradius)
- [getMinorAxisRadius](#getminoraxisradius)
- [getPoints](#getpoints)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setLineBlur](#setlineblur)
- [setLineCap](#setlinecap)
- [setLineColor](#setlinecolor)
- [setLineDasharray](#setlinedasharray)
- [setLineGapWidth](#setlinegapwidth)
- [setLineGradient](#setlinegradient)
- [setLineJoin](#setlinejoin)
- [setLineMiterMimit](#setlinemitermimit)
- [setLineOffset](#setlineoffset)
- [setLineOpacity](#setlineopacity)
- [setLinePattern](#setlinepattern)
- [setLineRoundLimit](#setlineroundlimit)
- [setLineSortKey](#setlinesortkey)
- [setLineTranslate](#setlinetranslate)
- [setLineTranslateAnchor](#setlinetranslateanchor)
- [setLineWidth](#setlinewidth)
- [setMajorAxisRadius](#setmajoraxisradius)
- [setMinorAxisRadius](#setminoraxisradius)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new EllipseEdge**(`options`: [*EllipseEdgeOptions*](#interfacesdefaultellipseedgeoptionsmd)): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*EllipseEdgeOptions*](#interfacesdefaultellipseedgeoptionsmd) |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Overrides: [Polyline](#classesdefaultpolylinemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polyline](#classesdefaultpolylinemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[layerId](#layerid)

___

#### options

• **options**: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

Inherited from: [Polyline](#classesdefaultpolylinemd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polyline](#classesdefaultpolylinemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polyline](#classesdefaultpolylinemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineBlur

▸ **getLineBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineCap

▸ **getLineCap**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineColor

▸ **getLineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineDasharray

▸ **getLineDasharray**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGapWidth

▸ **getLineGapWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineGradient

▸ **getLineGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineJoin

▸ **getLineJoin**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineMiterMimit

▸ **getLineMiterMimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOffset

▸ **getLineOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineOpacity

▸ **getLineOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLinePattern

▸ **getLinePattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineRoundLimit

▸ **getLineRoundLimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineSortKey

▸ **getLineSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslate

▸ **getLineTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineTranslateAnchor

▸ **getLineTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getLineWidth

▸ **getLineWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getMajorAxisRadius

▸ **getMajorAxisRadius**(): *number*

得到长轴半径。

**Returns:** *number*

___

#### getMinorAxisRadius

▸ **getMinorAxisRadius**(): *number*

得到短轴半径。

**Returns:** *number*

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineBlur

▸ **setLineBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineCap

▸ **setLineCap**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineColor

▸ **setLineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineDasharray

▸ **setLineDasharray**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGapWidth

▸ **setLineGapWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineGradient

▸ **setLineGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineJoin

▸ **setLineJoin**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineMiterMimit

▸ **setLineMiterMimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOffset

▸ **setLineOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineOpacity

▸ **setLineOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLinePattern

▸ **setLinePattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineRoundLimit

▸ **setLineRoundLimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineSortKey

▸ **setLineSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslate

▸ **setLineTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineTranslateAnchor

▸ **setLineTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setLineWidth

▸ **setLineWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseEdge*](#classesdefaultellipseedgemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setMajorAxisRadius

▸ **setMajorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置长轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setMinorAxisRadius

▸ **setMinorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置短轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseEdge*](#classesdefaultellipseedgemd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseEdge*](#classesdefaultellipseedgemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polyline](#classesdefaultpolylinemd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classesellipsefillmd"></a>

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

## Class: EllipseFill

创建填充的的椭圆或椭圆弧

### Hierarchy

- [*Polygon*](#classesdefaultpolygonmd)

  ↳ **EllipseFill**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getCenter](#getcenter)
- [getData](#getdata)
- [getEndAngle](#getendangle)
- [getFillAntialias](#getfillantialias)
- [getFillColor](#getfillcolor)
- [getFillOpacity](#getfillopacity)
- [getFillOutlineColor](#getfilloutlinecolor)
- [getFillPattern](#getfillpattern)
- [getFillSortKey](#getfillsortkey)
- [getFillTranslate](#getfilltranslate)
- [getFillTranslateAnchor](#getfilltranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getMajorAxisRadius](#getmajoraxisradius)
- [getMinorAxisRadius](#getminoraxisradius)
- [getPoints](#getpoints)
- [getSourceId](#getsourceid)
- [getStartAngle](#getstartangle)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setCenter](#setcenter)
- [setData](#setdata)
- [setEndAngle](#setendangle)
- [setFillAntialias](#setfillantialias)
- [setFillColor](#setfillcolor)
- [setFillOpacity](#setfillopacity)
- [setFillOutlineColor](#setfilloutlinecolor)
- [setFillPattern](#setfillpattern)
- [setFillSortKey](#setfillsortkey)
- [setFillTranslate](#setfilltranslate)
- [setFillTranslateAnchor](#setfilltranslateanchor)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setMajorAxisRadius](#setmajoraxisradius)
- [setMinorAxisRadius](#setminoraxisradius)
- [setPoints](#setpoints)
- [setProperty](#setproperty)
- [setStartAngle](#setstartangle)
- [show](#show)
- [toggle](#toggle)
- [updateData](#updatedata)

### Constructors

#### constructor

\+ **new EllipseFill**(`options`: [*EllipseFillOptions*](#interfacesdefaultellipsefilloptionsmd)): [*EllipseFill*](#classesdefaultellipsefillmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*EllipseFillOptions*](#interfacesdefaultellipsefilloptionsmd) |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Overrides: [Polygon](#classesdefaultpolygonmd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [Polygon](#classesdefaultpolygonmd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[layerId](#layerid)

___

#### options

• **options**: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

Inherited from: [Polygon](#classesdefaultpolygonmd).[options](#options)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [Polygon](#classesdefaultpolygonmd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [Polygon](#classesdefaultpolygonmd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getCenter

▸ **getCenter**(): [*GeoPointLike*](#geopointlike)

得到中心点。

**Returns:** [*GeoPointLike*](#geopointlike)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getEndAngle

▸ **getEndAngle**(): *number*

得到结束角度。

**Returns:** *number*

___

#### getFillAntialias

▸ **getFillAntialias**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

获取图层的“填充抗锯齿”绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillColor

▸ **getFillColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOpacity

▸ **getFillOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的 `fill-opacity` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillOutlineColor

▸ **getFillOutlineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-outline-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillPattern

▸ **getFillPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的`fill-pattern` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillSortKey

▸ **getFillSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的`fill-sort-key` 布局属性.

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslate

▸ **getFillTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

获取图层的 `fill-translate` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getFillTranslateAnchor

▸ **getFillTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

获取图层的 `fill-translate-anchor` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getMajorAxisRadius

▸ **getMajorAxisRadius**(): *number*

得到长轴半径。

**Returns:** *number*

___

#### getMinorAxisRadius

▸ **getMinorAxisRadius**(): *number*

得到短轴半径。

**Returns:** *number*

___

#### getPoints

▸ **getPoints**(): *number*

得到离散化的点的个数。

**Returns:** *number*

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### getStartAngle

▸ **getStartAngle**(): *number*

得到开始角度。

**Returns:** *number*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setCenter

▸ **setCenter**(`value`: [*GeoPointLike*](#geopointlike), `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置中心点。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | [*GeoPointLike*](#geopointlike) | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setEndAngle

▸ **setEndAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置结束角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setFillAntialias

▸ **setFillAntialias**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-antialias` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillColor

▸ **setFillColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOpacity

▸ **setFillOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-opacity` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillOutlineColor

▸ **setFillOutlineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-outline-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillPattern

▸ **setFillPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-pattern` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillSortKey

▸ **setFillSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一层或多层设置`fill-sort-key`布局属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslate

▸ **setFillTranslate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-translate` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFillTranslateAnchor

▸ **setFillTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*EllipseFill*](#classesdefaultellipsefillmd)

为一个或多个图层设置`fill-translate-anchor` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setMajorAxisRadius

▸ **setMajorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置长轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setMinorAxisRadius

▸ **setMinorAxisRadius**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置短轴半径。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setPoints

▸ **setPoints**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置离散化的点的个数。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### setStartAngle

▸ **setStartAngle**(`value`: *number*, `bFocusUpdateData?`: *boolean*): [*EllipseFill*](#classesdefaultellipsefillmd)

设置开始角度。

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `value` | *number* | - |
| `bFocusUpdateData` | *boolean* | true |

**Returns:** [*EllipseFill*](#classesdefaultellipsefillmd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [Polygon](#classesdefaultpolygonmd)

___

#### updateData

▸ **updateData**(): *void*

**Returns:** *void*


<a name="classeserroreventmd"></a>

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

## Class: ErrorEvent

### Hierarchy

- [*WebSocketEvent*](#classeswebsocketeventmd)

  ↳ **ErrorEvent**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [error](#error)
- [message](#message)
- [target](#target)
- [type](#type)

### Constructors

#### constructor

\+ **new ErrorEvent**(`error`: Error, `target`: *any*): [*ErrorEvent*](#classeserroreventmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `error` | Error |
| `target` | *any* |

**Returns:** [*ErrorEvent*](#classeserroreventmd)

Overrides: [WebSocketEvent](#classeswebsocketeventmd)

### Properties

#### error

• **error**: Error

___

#### message

• **message**: *string*

___

#### target

• **target**: *any*

Inherited from: [WebSocketEvent](#classeswebsocketeventmd).[target](#target)

___

#### type

• **type**: *string*

Inherited from: [WebSocketEvent](#classeswebsocketeventmd).[type](#type)


<a name="classesfillextrusionmd"></a>

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

## Class: FillExtrusion

创建拉伸的多边形.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **FillExtrusion**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getFillExtrusionBase](#getfillextrusionbase)
- [getFillExtrusionColor](#getfillextrusioncolor)
- [getFillExtrusionHeight](#getfillextrusionheight)
- [getFillExtrusionOpacity](#getfillextrusionopacity)
- [getFillExtrusionPattern](#getfillextrusionpattern)
- [getFillExtrusionTranslate](#getfillextrusiontranslate)
- [getFillExtrusionTranslateAnchor](#getfillextrusiontranslateanchor)
- [getFillExtrusionVerticalGradient](#getfillextrusionverticalgradient)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFillExtrusionBase](#setfillextrusionbase)
- [setFillExtrusionColor](#setfillextrusioncolor)
- [setFillExtrusionHeight](#setfillextrusionheight)
- [setFillExtrusionOpacity](#setfillextrusionopacity)
- [setFillExtrusionPattern](#setfillextrusionpattern)
- [setFillExtrusionTranslate](#setfillextrusiontranslate)
- [setFillExtrusionTranslateAnchor](#setfillextrusiontranslateanchor)
- [setFillExtrusionVerticalGradient](#setfillextrusionverticalgradient)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new FillExtrusion**(`options`: [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd)): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd) |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getFillExtrusionBase

▸ **getFillExtrusionBase**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillExtrusionColor

▸ **getFillExtrusionColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillExtrusionHeight

▸ **getFillExtrusionHeight**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillExtrusionOpacity

▸ **getFillExtrusionOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getFillExtrusionPattern

▸ **getFillExtrusionPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillExtrusionTranslate

▸ **getFillExtrusionTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getFillExtrusionTranslateAnchor

▸ **getFillExtrusionTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getFillExtrusionVerticalGradient

▸ **getFillExtrusionVerticalGradient**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFillExtrusionBase

▸ **setFillExtrusionBase**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionColor

▸ **setFillExtrusionColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionHeight

▸ **setFillExtrusionHeight**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionOpacity

▸ **setFillExtrusionOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionPattern

▸ **setFillExtrusionPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionTranslate

▸ **setFillExtrusionTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionTranslateAnchor

▸ **setFillExtrusionTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFillExtrusionVerticalGradient

▸ **setFillExtrusionVerticalGradient**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*FillExtrusion*](#classesdefaultfillextrusionmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*FillExtrusion*](#classesdefaultfillextrusionmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classesfluorescencemarkermd"></a>

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

## Class: FluorescenceMarker

荧光点.

### Hierarchy

- *MarkerBase*

  ↳ **FluorescenceMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new FluorescenceMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*FluorescenceMarker*](#classesdefaultfluorescencemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*FluorescenceMarker*](#classesdefaultfluorescencemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesgeoboundsmd"></a>

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

## Class: GeoBounds

`GeoBounds` 地理范围.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [max](#max)
- [min](#min)

#### Methods

- [center](#center)
- [clone](#clone)
- [closestPoint](#closestpoint)
- [contains](#contains)
- [height](#height)
- [intersect](#intersect)
- [isContains](#iscontains)
- [isIntersect](#isintersect)
- [leftBottom](#leftbottom)
- [leftTop](#lefttop)
- [randomGeoJsonLineCollection](#randomgeojsonlinecollection)
- [randomGeoJsonPointCollection](#randomgeojsonpointcollection)
- [randomGeoJsonPolygonCollection](#randomgeojsonpolygoncollection)
- [randomPoint](#randompoint)
- [randomPoints](#randompoints)
- [rightBottom](#rightbottom)
- [rightTop](#righttop)
- [scale](#scale)
- [scaleXY](#scalexy)
- [set](#set)
- [square](#square)
- [toArray](#toarray)
- [toPointArray](#topointarray)
- [toString](#tostring)
- [translate](#translate)
- [union](#union)
- [update](#update)
- [updateByBounds](#updatebybounds)
- [width](#width)
- [fromArray](#fromarray)
- [fromCenterWH](#fromcenterwh)
- [fromDataExtent](#fromdataextent)
- [fromString](#fromstring)

### Constructors

#### constructor

\+ **new GeoBounds**(`min?`: [*GeoPoint*](#classesdefaultgeopointmd), `max?`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `min?` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `max?` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

### Properties

#### max

• **max**: [*GeoPoint*](#classesdefaultgeopointmd)

___

#### min

• **min**: [*GeoPoint*](#classesdefaultgeopointmd)

### Methods

#### center

▸ **center**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到中心点

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### clone

▸ **clone**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

 克隆

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### closestPoint

▸ **closestPoint**(`testPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `includeInterior?`: *boolean*): [*GeoPoint*](#classesdefaultgeopointmd)

查找边界框上最近的点并返回该点.

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `testPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | - | 点. |
| `includeInterior` | *boolean* | true | 如果为true，则最近的点可以位于边界框内。如果为false，则最近的点只能位于边界框的外边缘上. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### contains

▸ **contains**(`point`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

查看点是否在包围盒中

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

#### height

▸ **height**(): *number*

 获取高度

**Returns:** *number*

___

#### intersect

▸ **intersect**(`b`: [*GeoBounds*](#classesdefaultgeoboundsmd)): ``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)

两包围盒求交集

##### Parameters

| Name | Type |
| :------ | :------ |
| `b` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** ``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### isContains

▸ **isContains**(`bound`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *boolean*

求一个包围盒是否包含另一个包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `bound` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *boolean*

___

#### isIntersect

▸ **isIntersect**(`bound`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *boolean*

判断与另一个包围盒是否相交

##### Parameters

| Name | Type |
| :------ | :------ |
| `bound` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *boolean*

___

#### leftBottom

▸ **leftBottom**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到左下角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### leftTop

▸ **leftTop**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到左上角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### randomGeoJsonLineCollection

▸ **randomGeoJsonLineCollection**(`maxLineCount`: *number*, `maxPointCount`: *number*, `xRatio?`: *number*, `yRatio?`: *number*, `propertiesCb?`: (`index`: *number*) => Object, `minLineCount?`: *number*, `minPointCount?`: *number*): GeoJsonGeomertry

生成一个随机geojson线集合

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `maxLineCount` | *number* | - | 最多线的数目 |
| `maxPointCount` | *number* | - | 每条线最多的点的数目 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |
| `propertiesCb?` | (`index`: *number*) => Object | - | 属性回调函数 |
| `minLineCount?` | *number* | - | 最少线的数目（缺省为1) |
| `minPointCount?` | *number* | - | 每条线最少的点的数目（缺省为2) |

**Returns:** GeoJsonGeomertry

___

#### randomGeoJsonPointCollection

▸ **randomGeoJsonPointCollection**(`count`: *number*, `xRatio?`: *number*, `yRatio?`: *number*, `propertiesCb?`: (`index`: *number*) => Object): GeoJsonGeomertry

生成一个随机geojson点集合

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `count` | *number* | - | 点的数目 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |
| `propertiesCb?` | (`index`: *number*) => Object | - | 属性回调函数 |

**Returns:** GeoJsonGeomertry

___

#### randomGeoJsonPolygonCollection

▸ **randomGeoJsonPolygonCollection**(`maxPolygonCount`: *number*, `maxPointCount`: *number*, `xRatio?`: *number*, `yRatio?`: *number*, `propertiesCb?`: (`index`: *number*) => Object, `minPolygonCount?`: *number*, `minPointCount?`: *number*): GeoJsonGeomertry

生成一个随机geojson多边形集合

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `maxPolygonCount` | *number* | - | 最多多边形的数目 |
| `maxPointCount` | *number* | - | 每条线最多的点的数目 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |
| `propertiesCb?` | (`index`: *number*) => Object | - | 属性回调函数 |
| `minPolygonCount?` | *number* | - | 最少多边形的数目(缺省为1) |
| `minPointCount?` | *number* | - | 每条线最少的点的数目(缺省为3) |

**Returns:** GeoJsonGeomertry

___

#### randomPoint

▸ **randomPoint**(`xRatio?`: *number*, `yRatio?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

生成一个随机点

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### randomPoints

▸ **randomPoints**(`minPointCount`: *number*, `maxPointCount`: *number*, `xRatio?`: *number*, `yRatio?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

生成一个随机点序列

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `minPointCount` | *number* | - | 最少的点数 |
| `maxPointCount` | *number* | - | 最多的点数 |
| `xRatio` | *number* | 0.6 | x轴范围比例 缺省 0.6 |
| `yRatio` | *number* | 0.6 | y轴范围比例 缺省 0.6 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### rightBottom

▸ **rightBottom**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到右下角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### rightTop

▸ **rightTop**(): [*GeoPoint*](#classesdefaultgeopointmd)

得到右上角

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### scale

▸ **scale**(`ratio`: *number*, `origin?`: ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

 按照比例扩大/缩小出一个新的 GeoBounds。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ratio` | *number* | 比例 |
| `origin?` | ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd) | 扩大时的基准点，默认为当前 bounds 的中心点 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### scaleXY

▸ **scaleXY**(`ratioX`: *number*, `ratioY`: *number*, `origin?`: ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

 按照XY比例扩大/缩小出一个新的 GeoBounds。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ratioX` | *number* | X比例 |
| `ratioY` | *number* | Y比例 |
| `origin?` | ``null`` \| [*GeoPoint*](#classesdefaultgeopointmd) | 扩大时的基准点，默认为当前 bounds 的中心点 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### set

▸ **set**(`min`: [*GeoPoint*](#classesdefaultgeopointmd), `max`: [*GeoPoint*](#classesdefaultgeopointmd)): *void*

设置包围盒范围

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `min` | [*GeoPoint*](#classesdefaultgeopointmd) | 最小值 |
| `max` | [*GeoPoint*](#classesdefaultgeopointmd) | 最大值 |

**Returns:** *void*

___

#### square

▸ **square**(`isLatlng?`: *boolean*, `isMinValue?`: *boolean*): [*GeoBounds*](#classesdefaultgeoboundsmd)

变成正方形，使宽高相等

**`return{geobounds}`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `isLatlng?` | *boolean* | 是否是经纬度 |
| `isMinValue?` | *boolean* | 是否取宽高的最小值或最大值，默认最大值 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### toArray

▸ **toArray**(): *number*[]

返回数组

**Returns:** *number*[]

The coordinates represented as a array of the format `[minx, miny, maxx, maxy]'`.

___

#### toPointArray

▸ **toPointArray**(): [*number*, *number*][]

返回点数组，包括四个顶点

**Returns:** [*number*, *number*][]

The coordinates represented as a array of the format `[[minx,maxy], [maxx,maxy], [maxx,miny], [minx,miny]]'`.

___

#### toString

▸ **toString**(`fixed?`: *number*): *string*

返回字符串.

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** *string*

The coordinates represented as a string of the format `minx, miny, maxx, maxy'`.

___

#### translate

▸ **translate**(`dx`: *number*, `dy`: *number*): *void*

位移包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `dx` | *number* |
| `dy` | *number* |

**Returns:** *void*

___

#### union

▸ **union**(`bound`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

求多个包围盒的并集

##### Parameters

| Name | Type |
| :------ | :------ |
| `bound` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### update

▸ **update**(`vertices`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *void*

更新包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `vertices` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *void*

___

#### updateByBounds

▸ **updateByBounds**(`bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [*GeoBounds*](#classesdefaultgeoboundsmd)[]): *void*

根据子包围盒更新包围盒

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) \| [*GeoBounds*](#classesdefaultgeoboundsmd)[] |

**Returns:** *void*

___

#### width

▸ **width**(): *number*

 获取宽度

**Returns:** *number*

___

#### fromArray

▸ `Static` **fromArray**(`input`: [*number*, *number*, *number*, *number*]): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据数组创建 `GeoBounds`.

Example:
```typescript
const b = GeoBounds.fromArray([left, bottom, right, top]);
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*number*, *number*, *number*, *number*] |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### fromCenterWH

▸ `Static` **fromCenterWH**(`center`: [*GeoPointLike*](#geopointlike), `width`: *number*, `height?`: *number*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据中心点和长，宽生成bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | 中心点 |
| `width` | *number* | 宽 |
| `height?` | *number* | 高，不输入时与宽一样 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### fromDataExtent

▸ `Static` **fromDataExtent**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据数据范围来生成bounds

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### fromString

▸ `Static` **fromString**(`input`: *string*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据数组创建 `GeoBounds`.

Example:
```typescript
const b = GeoBounds.fromString("[1,2,3,4]");
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *string* |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)


<a name="classesgeopointmd"></a>

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

## Class: GeoPoint

`GeoPoint` 地理坐标.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [x](#x)
- [y](#y)
- [z](#z)

#### Methods

- [add](#add)
- [angle](#angle)
- [angleTo](#angleto)
- [angleWith](#anglewith)
- [angleWithSep](#anglewithsep)
- [clone](#clone)
- [distSqr](#distsqr)
- [distanceTo](#distanceto)
- [div](#div)
- [divByPoint](#divbypoint)
- [dot](#dot)
- [equals](#equals)
- [equalsZ](#equalsz)
- [lengthSq](#lengthsq)
- [lerp](#lerp)
- [mag](#mag)
- [matMult](#matmult)
- [mult](#mult)
- [multByPoint](#multbypoint)
- [perp](#perp)
- [roateAround](#roatearound)
- [rotate](#rotate)
- [round](#round)
- [roundInt](#roundint)
- [roundStr](#roundstr)
- [sub](#sub)
- [toArray](#toarray)
- [toString](#tostring)
- [transform](#transform)
- [unit](#unit)
- [convert](#convert)
- [fromString](#fromstring)

### Constructors

#### constructor

\+ **new GeoPoint**(`x`: *number*, `y`: *number*, `z?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

 `GeoPoint` 构造函数

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | x坐标. |
| `y` | *number* | y坐标. |
| `z?` | *number* | z坐标(可选）. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

### Properties

#### x

• **x**: *number*

坐标X.

___

#### y

• **y**: *number*

坐标y.

___

#### z

• `Optional` **z**: *number*

坐标z(可选）.

### Methods

#### add

▸ **add**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相加.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相加的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### angle

▸ **angle**(): *number*

角度.

**Returns:** *number*

___

#### angleTo

▸ **angleTo**(`b`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

距一个点的角度

##### Parameters

| Name | Type |
| :------ | :------ |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### angleWith

▸ **angleWith**(`b`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

距一个点的interiorAngle

##### Parameters

| Name | Type |
| :------ | :------ |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### angleWithSep

▸ **angleWithSep**(`x`: *number*, `y`: *number*): *number*

距一个点的interiorAngle

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |

**Returns:** *number*

___

#### clone

▸ **clone**(): [*GeoPoint*](#classesdefaultgeopointmd)

 克隆一个坐标

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### distSqr

▸ **distSqr**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

两点之间距离平方.

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### distanceTo

▸ **distanceTo**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

两点之间距离.

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### div

▸ **div**(`k`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

除一个系数.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `k` | *number* | 系数. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### divByPoint

▸ **divByPoint**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相除.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相除的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### dot

▸ **dot**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### equals

▸ **equals**(`other`: [*GeoPoint*](#classesdefaultgeopointmd), `dotErr?`: *number*): *boolean*

判断是否相等

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `other` | [*GeoPoint*](#classesdefaultgeopointmd) | - | 另外一个点 |
| `dotErr` | *number* | 8 | 允许误差的小数点后几位，默认8位 |

**Returns:** *boolean*

___

#### equalsZ

▸ **equalsZ**(`other`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

是否相等（判断z).

##### Parameters

| Name | Type |
| :------ | :------ |
| `other` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

#### lengthSq

▸ **lengthSq**(): *number*

**Returns:** *number*

___

#### lerp

▸ **lerp**(`v`: [*GeoPoint*](#classesdefaultgeopointmd), `alpha`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `alpha` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### mag

▸ **mag**(): *number*

长度.

**Returns:** *number*

___

#### matMult

▸ **matMult**(`m`: *number*[]): [*GeoPoint*](#classesdefaultgeopointmd)

乘一个矩阵.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m` | *number*[] | 矩阵值. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### mult

▸ **mult**(`k`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

乘一个系数.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `k` | *number* | 系数. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### multByPoint

▸ **multByPoint**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相乘.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相乘的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### perp

▸ **perp**(): [*GeoPoint*](#classesdefaultgeopointmd)

投影 [x,y] = [-y, x].

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### roateAround

▸ **roateAround**(`angle`: *number*, `p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

绕一个点旋转.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `angle` | *number* | 弧度. |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 围绕的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### rotate

▸ **rotate**(`angle`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

旋转.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `angle` | *number* | 弧度. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### round

▸ **round**(`fixed?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

后小数点几位取整

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### roundInt

▸ **roundInt**(): [*GeoPoint*](#classesdefaultgeopointmd)

四舍五入取整.

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### roundStr

▸ **roundStr**(`fixed?`: *number*): *string*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** *string*

___

#### sub

▸ **sub**(`p`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

两个点相减.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) | 要相减的点. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### toArray

▸ **toArray**(): *number*[]

返回数组

**Returns:** *number*[]

The coordinates represeted as an array of x and y.
```typescript
var ll = new vjmap.GeoPoint(-73.9749, 40.7736);
ll.toArray(); // = [-73.9749, 40.7736]
```

___

#### toString

▸ **toString**(`fixed?`: *number*): *string*

返回字符串.

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `fixed` | *number* | 6 |

**Returns:** *string*

The coordinates represented as a string of the format `'x, y, z?'`.
```typescript
var ll = new vjmap.GeoPoint(-73.9749, 40.7736);
ll.toString(); // = "GeoPoint(-73.9749, 40.7736)"
```

___

#### transform

▸ **transform**(`basePt`: [*GeoPoint*](#classesdefaultgeopointmd), `destPt`: [*GeoPoint*](#classesdefaultgeopointmd), `scale?`: *number*, `angle?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)

对一个点围绕一个基点进行缩放旋转平移操作.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `basePt` | [*GeoPoint*](#classesdefaultgeopointmd) | 围绕的基点坐标 |
| `destPt` | [*GeoPoint*](#classesdefaultgeopointmd) | 要平移至的目的地坐标 |
| `scale?` | *number* | 缩放比例，默认1.0 |
| `angle?` | *number* | 旋转角度，逆时针，默认0 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### unit

▸ **unit**(): [*GeoPoint*](#classesdefaultgeopointmd)

单位长度.

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### convert

▸ `Static` **convert**(`input`: [*GeoPointLike*](#geopointlike)): [*GeoPoint*](#classesdefaultgeopointmd)

根据不同的类型创建地理坐标 [GeoPoint](#classesdefaultgeopointmd) .

Example:
```typescript
const p1 = GeoPoint.convert(new GeoPoint(x, y, z));
const p2 = GeoPoint.convert([x, y]);
const p3 = GeoPoint.convert([x, y, z]);
const p4 = GeoPoint.convert(lng: -73.9749, lat: 40.7736});
const p5 = GeoPoint.convert(lon: -73.9749, lat: 40.7736});
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | Either [GeoPointLike](#geopointlike), [GeoPointLike](#geopointlike) or [GeoPointLike](#geopointlike) object literal. |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### fromString

▸ `Static` **fromString**(`input`: *string*): [*GeoPoint*](#classesdefaultgeopointmd)

根据字符串创建 `GeoPoint`.

Example:
```typescript
const b = GeoPoint.fromString("1,2");
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *string* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)


<a name="classesgeoprojectionmd"></a>

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

## Class: GeoProjection

`GeoProjection` 地理坐标投影.

Example:
```typescript
const mapExtent = new GeoBounds(new GeoPoint(10, 20), new GeoPoint(80, 90));
const prj = new GeoProjection(mapExtent);
const pt = [30, 30];
const latlng = prj.toLngLat(pt);
const pt_geo = prj.fromLngLat(latlng);
const mkt = prj.toMercator(pt);
const pt_mkt = prj.fromMercator(mkt);
```

### Hierarchy

- [*Projection*](#classesdefaultprojectionmd)

  ↳ **GeoProjection**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [mapExtent](#mapextent)
- [EARTH\_BOUNDS](#earth_bounds)
- [EQUATORIAL\_SEMIPERIMETER](#equatorial_semiperimeter)

#### Methods

- [fromLngLat](#fromlnglat)
- [fromMercator](#frommercator)
- [fromMeter](#frommeter)
- [getMapExtent](#getmapextent)
- [setExtent](#setextent)
- [toLngLat](#tolnglat)
- [toMercator](#tomercator)
- [toMeter](#tometer)
- [lngLat2Mercator](#lnglat2mercator)
- [mercator2LngLat](#mercator2lnglat)

### Constructors

#### constructor

\+ **new GeoProjection**(`extent`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoProjection*](#classesdefaultgeoprojectionmd)

 `GeoBounds` 构造函数

**`extent`** extent - 地图地理范围.

##### Parameters

| Name | Type |
| :------ | :------ |
| `extent` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoProjection*](#classesdefaultgeoprojectionmd)

Overrides: [Projection](#classesdefaultprojectionmd)

### Properties

#### mapExtent

• **mapExtent**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图地理范围.

___

#### EARTH\_BOUNDS

▪ `Static` **EARTH\_BOUNDS**: [*number*, *number*, *number*, *number*]

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EARTH_BOUNDS](#earth_bounds)

___

#### EQUATORIAL\_SEMIPERIMETER

▪ `Static` **EQUATORIAL\_SEMIPERIMETER**: *number*= 20037508.3427892

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EQUATORIAL_SEMIPERIMETER](#equatorial_semiperimeter)

### Methods

#### fromLngLat

▸ **fromLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

经纬度转地图地理坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 经纬度坐标点 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMercator

▸ **fromMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托(epsg:3857)转坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 墨卡托坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMeter

▸ **fromMeter**(`meter`: *number*): *number*

把米转化为距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `meter` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### getMapExtent

▸ **getMapExtent**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

得到地图范围

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### setExtent

▸ **setExtent**(`extent`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *void*

 设置地图范围

**`extent`** extent - 地图地理范围.

##### Parameters

| Name | Type |
| :------ | :------ |
| `extent` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *void*

___

#### toLngLat

▸ **toLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): LngLatLike

地图地理坐标转经纬度

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 地理坐标点 |

**Returns:** LngLatLike

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMercator

▸ **toMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

坐标转墨卡托(epsg:3857)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMeter

▸ **toMeter**(`dist`: *number*): *number*

把距离转化为米

##### Parameters

| Name | Type |
| :------ | :------ |
| `dist` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### lngLat2Mercator

▸ `Static` **lngLat2Mercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

经纬度转墨卡托 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)

___

#### mercator2LngLat

▸ `Static` **mercator2LngLat**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托转经纬度 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)


<a name="classesgladapterlayermd"></a>

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

## Class: GlAdapterLayer

### Hierarchy

- *Evented*

  ↳ **GlAdapterLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [id](#id)
- [map](#map)
- [regl](#regl)
- [renderAnimation](#renderanimation)
- [type](#type)

#### Methods

- [frame](#frame)
- [getReglInitializationOptions](#getreglinitializationoptions)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [prerender](#prerender)
- [remove](#remove)
- [render](#render)
- [triggerRepaint](#triggerrepaint)

### Constructors

#### constructor

\+ **new GlAdapterLayer**(): [*GlAdapterLayer*](#classesdefaultgladapterlayermd)

**Returns:** [*GlAdapterLayer*](#classesdefaultgladapterlayermd)

Inherited from: Evented.constructor

### Properties

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### map

• **map**: *Map*

___

#### regl

• **regl**: *any*

___

#### renderAnimation

• `Optional` **renderAnimation**: *boolean*

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### frame

▸ `Protected` `Abstract` **frame**(`gl`: WebGLRenderingContext, `matrix`: *number*[], `context?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |
| `context?` | *any* |

**Returns:** *void*

___

#### getReglInitializationOptions

▸ `Protected` `Abstract` **getReglInitializationOptions**(): *any*

**Returns:** *any*

___

#### init

▸ `Protected` `Abstract` **init**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### prerender

▸ **prerender**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.prerender

___

#### remove

▸ `Protected` `Abstract` **remove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

NOTE: map won't call it every frame.

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### triggerRepaint

▸ **triggerRepaint**(): *void*

**Returns:** *void*


<a name="classesglpolylinelayermd"></a>

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

## Class: GlPolyLineLayer

### Hierarchy

- [*GlAdapterLayer*](#classesdefaultgladapterlayermd)

  ↳ **GlPolyLineLayer**

### Implements

- [*ILineLayerOptions*](#interfacesdefaultilinelayeroptionsmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [drawPoints](#drawpoints)
- [id](#id)
- [instance](#instance)
- [map](#map)
- [pointColor](#pointcolor)
- [points](#points)
- [regl](#regl)
- [renderAnimation](#renderanimation)
- [type](#type)

#### Methods

- [frame](#frame)
- [getReglInitializationOptions](#getreglinitializationoptions)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [prerender](#prerender)
- [remove](#remove)
- [render](#render)
- [triggerRepaint](#triggerrepaint)

### Constructors

#### constructor

\+ **new GlPolyLineLayer**(`options`: *Partial*<[*ILineLayerOptions*](#interfacesdefaultilinelayeroptionsmd)\>): [*GlPolyLineLayer*](#classesdefaultglpolylinelayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *Partial*<[*ILineLayerOptions*](#interfacesdefaultilinelayeroptionsmd)\> |

**Returns:** [*GlPolyLineLayer*](#classesdefaultglpolylinelayermd)

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

### Properties

#### drawPoints

• **drawPoints**: *any*

___

#### id

• **id**: *string*= 'custom-line'

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd).[id](#id)

___

#### instance

• **instance**: *boolean*= true

___

#### map

• **map**: *Map*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[map](#map)

___

#### pointColor

• **pointColor**: *number*[]

___

#### points

• **points**: { `lat`: *number* ; `lng`: *number*  }[]= []

Implementation of: [ILineLayerOptions](#interfacesdefaultilinelayeroptionsmd).[points](#points)

___

#### regl

• **regl**: *any*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[regl](#regl)

___

#### renderAnimation

• `Optional` **renderAnimation**: *boolean*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[renderAnimation](#renderanimation)

___

#### type

• **type**: ``"custom"``

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd).[type](#type)

### Methods

#### frame

▸ **frame**(`gl`: WebGLRenderingContext, `matrix`: *number*[], `context?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |
| `context?` | *any* |

**Returns:** *void*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### getReglInitializationOptions

▸ **getReglInitializationOptions**(): *any*

**Returns:** *any*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### init

▸ **init**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### onAdd

▸ **onAdd**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### onRemove

▸ **onRemove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### prerender

▸ **prerender**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### remove

▸ **remove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Overrides: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

NOTE: map won't call it every frame.

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)

___

#### triggerRepaint

▸ **triggerRepaint**(): *void*

**Returns:** *void*

Inherited from: [GlAdapterLayer](#classesdefaultgladapterlayermd)


<a name="classesgridlayermd"></a>

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

## Class: GridLayer

网络线图层

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [id](#id)
- [renderingMode](#renderingmode)
- [type](#type)

#### Methods

- [getWrapNum](#getwrapnum)
- [onAdd](#onadd)
- [removeFromMap](#removefrommap)
- [render](#render)
- [setExtent](#setextent)
- [setIntervals](#setintervals)
- [setMaxZoom](#setmaxzoom)
- [setMinZoom](#setminzoom)
- [setShowLabel](#setshowlabel)
- [setStrokeStyle](#setstrokestyle)
- [setVisibility](#setvisibility)
- [setXLabelStyle](#setxlabelstyle)
- [setYLabelStyle](#setylabelstyle)

### Constructors

#### constructor

\+ **new GridLayer**(`options?`: [*GridLayerOptions*](#interfacesdefaultgridlayeroptionsmd)): [*GridLayer*](#classesdefaultgridlayermd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `options` | [*GridLayerOptions*](#interfacesdefaultgridlayeroptionsmd) | {} |

**Returns:** [*GridLayer*](#classesdefaultgridlayermd)

### Properties

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### renderingMode

• `Optional` **renderingMode**: ``"2d"`` \| ``"3d"``

Implementation of: CustomLayerInterface.renderingMode

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### getWrapNum

▸ **getWrapNum**(`x`: *number*, `includeMax?`: *boolean*, `includeMin?`: *boolean*, `range?`: *number*[]): *number*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `x` | *number* | - |
| `includeMax` | *boolean* | true |
| `includeMin` | *boolean* | true |
| `range` | *number*[] | - |

**Returns:** *number*

___

#### onAdd

▸ **onAdd**(`map`: *Map*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### removeFromMap

▸ **removeFromMap**(): *void*

**`description`** 移除图层。

**Returns:** *void*

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### setExtent

▸ **setExtent**(`extent`: *LngLatBounds*): *void*

**`description`** 设置坐标网格渲染的边界范围。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `extent` | *LngLatBounds* | 坐标网格渲染的边界范围。 |

**Returns:** *void*

___

#### setIntervals

▸ **setIntervals**(`interval`: *number* \| Function): *void*

**`description`** 设置经纬度的间隔（以度为单位)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `interval` | *number* \| Function | 经纬度的间隔（以度为单位），可以是数字，也可以是函数，参数是map。 |

**Returns:** *void*

___

#### setMaxZoom

▸ **setMaxZoom**(`maxZoom`: *number*): *void*

**`description`** 该图层可见的最大视图缩放级别。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `maxZoom` | *number* | 该图层可见的最大视图缩放级别（含）。 |

**Returns:** *void*

___

#### setMinZoom

▸ **setMinZoom**(`minZoom`: *number*): *void*

**`description`** 设置最小视图缩放级别。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `minZoom` | *number* | 最小视图缩放级别（不包括此级别），在该级别之上，该层将可见。 |

**Returns:** *void*

___

#### setShowLabel

▸ **setShowLabel**(`showLabel`: *boolean*): *void*

**`description`** 设置显示标签。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `showLabel` | *boolean* | 是否显示标签。 |

**Returns:** *void*

___

#### setStrokeStyle

▸ **setStrokeStyle**(`strokeStyle`: [*GridLayerStrokeStyle*](#interfacesdefaultgridlayerstrokestylemd)): *void*

**`description`** 设置经纬线样式。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `strokeStyle` | [*GridLayerStrokeStyle*](#interfacesdefaultgridlayerstrokestylemd) | 经纬线样式。 |

**Returns:** *void*

___

#### setVisibility

▸ **setVisibility**(`visible?`: *boolean*): *void*

**`description`** 设置可见性。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `visible?` | *boolean* | 是否可见。 |

**Returns:** *void*

___

#### setXLabelStyle

▸ **setXLabelStyle**(`labelStyle`: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)): *void*

**`description`** 设置经度标签样式。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `labelStyle` | [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd) | 标签样式。 |

**Returns:** *void*

___

#### setYLabelStyle

▸ **setYLabelStyle**(`labelStyle`: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)): *void*

**`description`** 设置纬度标签样式。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `labelStyle` | [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd) | 标签样式。 |

**Returns:** *void*


<a name="classeshaloringmarkermd"></a>

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

## Class: HaloRingMarker

发光的光环.

### Hierarchy

- *MarkerBase*

  ↳ **HaloRingMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new HaloRingMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*HaloRingMarker*](#classesdefaulthaloringmarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*HaloRingMarker*](#classesdefaulthaloringmarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesheatmapmd"></a>

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

## Class: Heatmap

创建热力图图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Heatmap**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getHeatmapColor](#getheatmapcolor)
- [getHeatmapIntensity](#getheatmapintensity)
- [getHeatmapOpacity](#getheatmapopacity)
- [getHeatmapRadius](#getheatmapradius)
- [getHeatmapWeight](#getheatmapweight)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setHeatmapColor](#setheatmapcolor)
- [setHeatmapIntensity](#setheatmapintensity)
- [setHeatmapOpacity](#setheatmapopacity)
- [setHeatmapRadius](#setheatmapradius)
- [setHeatmapWeight](#setheatmapweight)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Heatmap**(`options`: [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd)): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd) |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getHeatmapColor

▸ **getHeatmapColor**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### getHeatmapIntensity

▸ **getHeatmapIntensity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getHeatmapOpacity

▸ **getHeatmapOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getHeatmapRadius

▸ **getHeatmapRadius**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getHeatmapWeight

▸ **getHeatmapWeight**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setHeatmapColor

▸ **setHeatmapColor**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapIntensity

▸ **setHeatmapIntensity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapOpacity

▸ **setHeatmapOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapRadius

▸ **setHeatmapRadius**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setHeatmapWeight

▸ **setHeatmapWeight**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Heatmap*](#classesdefaultheatmapmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Heatmap*](#classesdefaultheatmapmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classeslnglatprojectionmd"></a>

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

## Class: LnglatProjection

`LnglatProjection` 经纬度坐标投影.

Example:
```typescript
const mapExtent = new GeoBounds(new GeoPoint(10, 20), new GeoPoint(80, 90));
const prj = new LnglatProjection(mapExtent);
const pt = [30, 30];
const latlng = prj.toLngLat(pt);
const pt_geo = prj.fromLngLat(latlng);
const mkt = prj.toMercator(pt);
const pt_mkt = prj.fromMercator(mkt);
```

### Hierarchy

- [*Projection*](#classesdefaultprojectionmd)

  ↳ **LnglatProjection**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [mapExtent](#mapextent)
- [EARTH\_BOUNDS](#earth_bounds)
- [EQUATORIAL\_SEMIPERIMETER](#equatorial_semiperimeter)

#### Methods

- [fromLngLat](#fromlnglat)
- [fromMercator](#frommercator)
- [fromMeter](#frommeter)
- [getMapExtent](#getmapextent)
- [setExtent](#setextent)
- [toLngLat](#tolnglat)
- [toMercator](#tomercator)
- [toMeter](#tometer)
- [lngLat2Mercator](#lnglat2mercator)
- [mercator2LngLat](#mercator2lnglat)

### Constructors

#### constructor

\+ **new LnglatProjection**(): [*LnglatProjection*](#classesdefaultlnglatprojectionmd)

 `GeoBounds` 构造函数

**`extent`** extent - 地图地理范围.

**Returns:** [*LnglatProjection*](#classesdefaultlnglatprojectionmd)

Overrides: [Projection](#classesdefaultprojectionmd)

### Properties

#### mapExtent

• **mapExtent**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图地理范围.

___

#### EARTH\_BOUNDS

▪ `Static` **EARTH\_BOUNDS**: [*number*, *number*, *number*, *number*]

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EARTH_BOUNDS](#earth_bounds)

___

#### EQUATORIAL\_SEMIPERIMETER

▪ `Static` **EQUATORIAL\_SEMIPERIMETER**: *number*= 20037508.3427892

The equatorial semi perimeter in meters.

Inherited from: [Projection](#classesdefaultprojectionmd).[EQUATORIAL_SEMIPERIMETER](#equatorial_semiperimeter)

### Methods

#### fromLngLat

▸ **fromLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

经纬度转地图地理坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 经纬度坐标点 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMercator

▸ **fromMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托(epsg:3857)转坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 墨卡托坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### fromMeter

▸ **fromMeter**(`meter`: *number*): *number*

把米转化为距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `meter` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### getMapExtent

▸ **getMapExtent**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

得到地图范围

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### setExtent

▸ **setExtent**(`extent`: [*GeoBounds*](#classesdefaultgeoboundsmd)): *void*

 设置地图范围

**`extent`** extent - 地图地理范围.

##### Parameters

| Name | Type |
| :------ | :------ |
| `extent` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** *void*

___

#### toLngLat

▸ **toLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): LngLatLike

地图地理坐标转经纬度

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 地理坐标点 |

**Returns:** LngLatLike

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMercator

▸ **toMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

坐标转墨卡托(epsg:3857)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 坐标点 |

**Returns:** [*number*, *number*]

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### toMeter

▸ **toMeter**(`dist`: *number*): *number*

把距离转化为米

##### Parameters

| Name | Type |
| :------ | :------ |
| `dist` | *number* |

**Returns:** *number*

Overrides: [Projection](#classesdefaultprojectionmd)

___

#### lngLat2Mercator

▸ `Static` **lngLat2Mercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

经纬度转墨卡托 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)

___

#### mercator2LngLat

▸ `Static` **mercator2LngLat**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托转经纬度 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

Inherited from: [Projection](#classesdefaultprojectionmd)


<a name="classesmapglutilsmd"></a>

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

## Class: MapGlUtils

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [init](#init)
- [newMap](#newmap)

### Constructors

#### constructor

\+ **new MapGlUtils**(): [*MapGlUtils*](#classesdefaultmapglutilsmd)

**Returns:** [*MapGlUtils*](#classesdefaultmapglutilsmd)

### Methods

#### init

▸ `Static` **init**(`map`: *any*, `bindToMap`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `bindToMap` | *any* |

**Returns:** *any*

___

#### newMap

▸ `Static` **newMap**(`params?`: {}, `options?`: {}): *Promise*<Map\>

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `params` | *object* | {} |
| `options` | *object* | {} |

**Returns:** *Promise*<Map\>


<a name="classesmarkerclustermd"></a>

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

## Class: MarkerCluster

创建文本组件.

### Hierarchy

- *Evented*

  ↳ **MarkerCluster**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [addTo](#addto)
- [allowOverlap](#allowoverlap)
- [allowOverlapMaxZoom](#allowoverlapmaxzoom)
- [getData](#getdata)
- [hide](#hide)
- [remove](#remove)
- [show](#show)
- [updateData](#updatedata)
- [updateMarkers](#updatemarkers)

### Constructors

#### constructor

\+ **new MarkerCluster**(`options`: [*MarkerClusterOptions*](#interfacesdefaultmarkerclusteroptionsmd)): [*MarkerCluster*](#classesdefaultmarkerclustermd)

构造函数

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*MarkerClusterOptions*](#interfacesdefaultmarkerclusteroptionsmd) |

**Returns:** [*MarkerCluster*](#classesdefaultmarkerclustermd)

Overrides: Evented.constructor

### Methods

#### addTo

▸ **addTo**(`map`: *Map*): [*MarkerCluster*](#classesdefaultmarkerclustermd)

将 `MarkerCluster` 附加到 `Map` 对象。

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** [*MarkerCluster*](#classesdefaultmarkerclustermd)

___

#### allowOverlap

▸ **allowOverlap**(`bAllowOverlap`: *boolean*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bAllowOverlap` | *boolean* |

**Returns:** *void*

___

#### allowOverlapMaxZoom

▸ **allowOverlapMaxZoom**(`zoom`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `zoom` | *number* |

**Returns:** *void*

___

#### getData

▸ **getData**(): [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]

获取数据。

**Returns:** [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]

___

#### hide

▸ **hide**(): *void*

隐藏

**Returns:** *void*

___

#### remove

▸ **remove**(): *void*

从地图中删除。

**Returns:** *void*

___

#### show

▸ **show**(): *void*

显示

**Returns:** *void*

___

#### updateData

▸ **updateData**(`data`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]): *void*

更新数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[] |

**Returns:** *void*

___

#### updateMarkers

▸ **updateMarkers**(): *void*

更新markers。

**Returns:** *void*


<a name="classesmath2dboxmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [Math2D](#modulesmath2dmd) / Box

## Class: Box

[Math2D](#modulesmath2dmd).Box

Alternative 2D box object with less memory impact (four numbers instead of two min/max
objects with two numbers each). Should be faster.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [h](#h)
- [w](#w)
- [x](#x)
- [y](#y)

#### Methods

- [contains](#contains)
- [containsBox](#containsbox)
- [intersects](#intersects)
- [set](#set)

### Constructors

#### constructor

\+ **new Box**(`x?`: *number*, `y?`: *number*, `w?`: *number*, `h?`: *number*): [*Box*](#classesdefaultmath2dboxmd)

Alternative 2D box object with less memory impact (four numbers instead of two min/max
objects with two numbers each). Should be faster.

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `x` | *number* | 0 | New X value. |
| `y` | *number* | 0 | New y value. |
| `w` | *number* | 0 | New w value. |
| `h` | *number* | 0 | New h value. |

**Returns:** [*Box*](#classesdefaultmath2dboxmd)

### Properties

#### h

• **h**: *number*= 0

___

#### w

• **w**: *number*= 0

___

#### x

• **x**: *number*= 0

___

#### y

• **y**: *number*= 0

### Methods

#### contains

▸ **contains**(`x`: *number*, `y`: *number*): *boolean*

Test box for inclusion of point.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X coordinate of point. |
| `y` | *number* | Y coordinate of point. |

**Returns:** *boolean*

___

#### containsBox

▸ **containsBox**(`other`: [*Box*](#classesdefaultmath2dboxmd)): *boolean*

Test box for inclusion of another box.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `other` | [*Box*](#classesdefaultmath2dboxmd) | Box 2 to test for inclusion. |

**Returns:** *boolean*

___

#### intersects

▸ **intersects**(`other`: [*Box*](#classesdefaultmath2dboxmd)): *boolean*

Test two boxes for intersection.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `other` | [*Box*](#classesdefaultmath2dboxmd) | Box 2 to test for intersection. |

**Returns:** *boolean*

___

#### set

▸ **set**(`x`: *number*, `y`: *number*, `w`: *number*, `h`: *number*): *void*

Set new values to all properties of the box.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | New X value. |
| `y` | *number* | New y value. |
| `w` | *number* | New w value. |
| `h` | *number* | New h value. |

**Returns:** *void*


<a name="classesminimapcontrolmd"></a>

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

## Class: MiniMapControl

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [\_convertBoundsToPoints](#_convertboundstopoints)
- [\_createContainer](#_createcontainer)
- [\_load](#_load)
- [\_mouseDown](#_mousedown)
- [\_mouseMove](#_mousemove)
- [\_mouseUp](#_mouseup)
- [\_moveTrackingRect](#_movetrackingrect)
- [\_onAdd](#_onadd)
- [\_onRemove](#_onremove)
- [\_onSize](#_onsize)
- [\_preventDefault](#_preventdefault)
- [\_setTrackingRectBounds](#_settrackingrectbounds)
- [\_update](#_update)
- [\_updateMapExtent](#_updatemapextent)
- [\_zoomAdjust](#_zoomadjust)
- [getDefaultPosition](#getdefaultposition)
- [getMap](#getmap)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)

### Constructors

#### constructor

\+ **new MiniMapControl**(`options`: [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd)): [*MiniMapControl*](#classesdefaultminimapcontrolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd) |

**Returns:** [*MiniMapControl*](#classesdefaultminimapcontrolmd)

### Methods

#### \_convertBoundsToPoints

▸ **_convertBoundsToPoints**(`bounds`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | *any* |

**Returns:** *void*

___

#### \_createContainer

▸ **_createContainer**(`parentMap`: *Map*): HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `parentMap` | *Map* |

**Returns:** HTMLDivElement

___

#### \_load

▸ **_load**(): *void*

**Returns:** *void*

___

#### \_mouseDown

▸ **_mouseDown**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_mouseMove

▸ **_mouseMove**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_mouseUp

▸ **_mouseUp**(): *void*

**Returns:** *void*

___

#### \_moveTrackingRect

▸ **_moveTrackingRect**(`offset`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `offset` | *any* |

**Returns:** *any*

___

#### \_onAdd

▸ **_onAdd**(`parentMap`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `parentMap` | *Map* |

**Returns:** HTMLElement

___

#### \_onRemove

▸ **_onRemove**(): *void*

**Returns:** *void*

___

#### \_onSize

▸ **_onSize**(): *void*

**Returns:** *void*

___

#### \_preventDefault

▸ **_preventDefault**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_setTrackingRectBounds

▸ **_setTrackingRectBounds**(`bounds`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `bounds` | *any* |

**Returns:** *void*

___

#### \_update

▸ **_update**(`e`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | *any* |

**Returns:** *void*

___

#### \_updateMapExtent

▸ **_updateMapExtent**(`data`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### \_zoomAdjust

▸ **_zoomAdjust**(): *void*

**Returns:** *void*

___

#### getDefaultPosition

▸ **getDefaultPosition**(): *string*

**Returns:** *string*

___

#### getMap

▸ **getMap**(): *Map*

**Returns:** *Map*

___

#### init

▸ **init**(`options`: [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*MiniMapControlOption*](#interfacesdefaultminimapcontroloptionmd) |

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`parentMap`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `parentMap` | *Map* |

**Returns:** HTMLElement

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*


<a name="classesmousepositioncontrolmd"></a>

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

## Class: MousePositionControl

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Methods

- [defaultLabelFormat](#defaultlabelformat)
- [getDefaultPosition](#getdefaultposition)
- [insertControl](#insertcontrol)
- [onAdd](#onadd)
- [onMouseMove](#onmousemove)
- [onRemove](#onremove)

### Constructors

#### constructor

\+ **new MousePositionControl**(`options?`: [*MousePositionControlOption*](#interfacesdefaultmousepositioncontroloptionmd)): [*MousePositionControl*](#classesdefaultmousepositioncontrolmd)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `options` | [*MousePositionControlOption*](#interfacesdefaultmousepositioncontroloptionmd) | {} |

**Returns:** [*MousePositionControl*](#classesdefaultmousepositioncontrolmd)

### Methods

#### defaultLabelFormat

▸ **defaultLabelFormat**(`lng`: *number*, `lat`: *number*, `x`: *number*, `y`: *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `lng` | *number* |
| `lat` | *number* |
| `x` | *number* |
| `y` | *number* |

**Returns:** *string*

___

#### getDefaultPosition

▸ **getDefaultPosition**(): *string*

**Returns:** *string*

___

#### insertControl

▸ **insertControl**(): *void*

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`map`: *Map*): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |

**Returns:** HTMLElement

___

#### onMouseMove

▸ **onMouseMove**(`evt?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `evt?` | *any* |

**Returns:** *void*

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*


<a name="classesoverlaylayerbasemd"></a>

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

## Class: OverlayLayerBase

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new OverlayLayerBase**(): [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

**Returns:** [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

___

#### layerId

• `Optional` **layerId**: *string*

___

#### sourceId

• `Optional` **sourceId**: *string*

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*


<a name="classespolygonmd"></a>

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

## Class: Polygon

创建多边形.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Polygon**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getFillAntialias](#getfillantialias)
- [getFillColor](#getfillcolor)
- [getFillOpacity](#getfillopacity)
- [getFillOutlineColor](#getfilloutlinecolor)
- [getFillPattern](#getfillpattern)
- [getFillSortKey](#getfillsortkey)
- [getFillTranslate](#getfilltranslate)
- [getFillTranslateAnchor](#getfilltranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFillAntialias](#setfillantialias)
- [setFillColor](#setfillcolor)
- [setFillOpacity](#setfillopacity)
- [setFillOutlineColor](#setfilloutlinecolor)
- [setFillPattern](#setfillpattern)
- [setFillSortKey](#setfillsortkey)
- [setFillTranslate](#setfilltranslate)
- [setFillTranslateAnchor](#setfilltranslateanchor)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Polygon**(`options`: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)): [*Polygon*](#classesdefaultpolygonmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd) |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getFillAntialias

▸ **getFillAntialias**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

获取图层的“填充抗锯齿”绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getFillColor

▸ **getFillColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillOpacity

▸ **getFillOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的 `fill-opacity` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillOutlineColor

▸ **getFillOutlineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的 `fill-outline-color` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillPattern

▸ **getFillPattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

获取图层的`fill-pattern` 绘制属性。

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getFillSortKey

▸ **getFillSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

获取图层的`fill-sort-key` 布局属性.

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getFillTranslate

▸ **getFillTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

获取图层的 `fill-translate` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getFillTranslateAnchor

▸ **getFillTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

获取图层的 `fill-translate-anchor` 绘制属性。

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFillAntialias

▸ **setFillAntialias**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-antialias` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillColor

▸ **setFillColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillOpacity

▸ **setFillOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-opacity` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillOutlineColor

▸ **setFillOutlineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-outline-color` 绘画属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillPattern

▸ **setFillPattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-pattern` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillSortKey

▸ **setFillSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polygon*](#classesdefaultpolygonmd)

为一层或多层设置`fill-sort-key`布局属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillTranslate

▸ **setFillTranslate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-translate` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFillTranslateAnchor

▸ **setFillTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Polygon*](#classesdefaultpolygonmd)

为一个或多个图层设置`fill-translate-anchor` 绘制属性。

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Polygon*](#classesdefaultpolygonmd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classespolylinemd"></a>

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

## Class: Polyline

创建多段线.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Polyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getLineBlur](#getlineblur)
- [getLineCap](#getlinecap)
- [getLineColor](#getlinecolor)
- [getLineDasharray](#getlinedasharray)
- [getLineGapWidth](#getlinegapwidth)
- [getLineGradient](#getlinegradient)
- [getLineJoin](#getlinejoin)
- [getLineMiterMimit](#getlinemitermimit)
- [getLineOffset](#getlineoffset)
- [getLineOpacity](#getlineopacity)
- [getLinePattern](#getlinepattern)
- [getLineRoundLimit](#getlineroundlimit)
- [getLineSortKey](#getlinesortkey)
- [getLineTranslate](#getlinetranslate)
- [getLineTranslateAnchor](#getlinetranslateanchor)
- [getLineWidth](#getlinewidth)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setLineBlur](#setlineblur)
- [setLineCap](#setlinecap)
- [setLineColor](#setlinecolor)
- [setLineDasharray](#setlinedasharray)
- [setLineGapWidth](#setlinegapwidth)
- [setLineGradient](#setlinegradient)
- [setLineJoin](#setlinejoin)
- [setLineMiterMimit](#setlinemitermimit)
- [setLineOffset](#setlineoffset)
- [setLineOpacity](#setlineopacity)
- [setLinePattern](#setlinepattern)
- [setLineRoundLimit](#setlineroundlimit)
- [setLineSortKey](#setlinesortkey)
- [setLineTranslate](#setlinetranslate)
- [setLineTranslateAnchor](#setlinetranslateanchor)
- [setLineWidth](#setlinewidth)
- [setProperty](#setproperty)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Polyline**(`options`: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd) |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLineBlur

▸ **getLineBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineCap

▸ **getLineCap**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>

___

#### getLineColor

▸ **getLineColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getLineDasharray

▸ **getLineDasharray**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>

___

#### getLineGapWidth

▸ **getLineGapWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineGradient

▸ **getLineGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### getLineJoin

▸ **getLineJoin**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>

___

#### getLineMiterMimit

▸ **getLineMiterMimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getLineOffset

▸ **getLineOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineOpacity

▸ **getLineOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLinePattern

▸ **getLinePattern**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getLineRoundLimit

▸ **getLineRoundLimit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getLineSortKey

▸ **getLineSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getLineTranslate

▸ **getLineTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getLineTranslateAnchor

▸ **getLineTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getLineWidth

▸ **getLineWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLineBlur

▸ **setLineBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineCap

▸ **setLineCap**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineColor

▸ **setLineColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineDasharray

▸ **setLineDasharray**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineGapWidth

▸ **setLineGapWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineGradient

▸ **setLineGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineJoin

▸ **setLineJoin**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"round"`` \| ``"bevel"`` \| ``"miter"``\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineMiterMimit

▸ **setLineMiterMimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineOffset

▸ **setLineOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineOpacity

▸ **setLineOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLinePattern

▸ **setLinePattern**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineRoundLimit

▸ **setLineRoundLimit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineSortKey

▸ **setLineSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineTranslate

▸ **setLineTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineTranslateAnchor

▸ **setLineTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setLineWidth

▸ **setLineWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Polyline*](#classesdefaultpolylinemd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Polyline*](#classesdefaultpolylinemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classespolylinearrowmd"></a>

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

## Class: PolylineArrow

创建箭头多段线.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [animateFun](#animatefun)
- [animatedPointIdx](#animatedpointidx)
- [borderGeoJson](#bordergeojson)
- [geojson](#geojson)
- [id](#id)
- [lineArrowImageName](#linearrowimagename)
- [lineGeojson](#linegeojson)
- [options](#options)
- [strokeImageName](#strokeimagename)
- [type](#type)

#### Methods

- [\_addLayer](#_addlayer)
- [\_addShowDirFun](#_addshowdirfun)
- [\_addStrokeImage](#_addstrokeimage)
- [\_creatDirLine](#_creatdirline)
- [\_createBorderLine](#_createborderline)
- [\_createLineGeojson](#_createlinegeojson)
- [\_mouseenterCallbackFun](#_mouseentercallbackfun)
- [\_mouseleaveCallbackFun](#_mouseleavecallbackfun)
- [\_updateLineStyle](#_updatelinestyle)
- [addDir](#adddir)
- [addTo](#addto)
- [animate](#animate)
- [createGeojson](#creategeojson)
- [getBounds](#getbounds)
- [getId](#getid)
- [getLength](#getlength)
- [getOptions](#getoptions)
- [getPath](#getpath)
- [hide](#hide)
- [hideDir](#hidedir)
- [init](#init)
- [off](#off)
- [on](#on)
- [once](#once)
- [remove](#remove)
- [removeDir](#removedir)
- [setBorderColor](#setbordercolor)
- [setBorderOpacity](#setborderopacity)
- [setBorderWidth](#setborderwidth)
- [setColor](#setcolor)
- [setCursor](#setcursor)
- [setOpacity](#setopacity)
- [setOptions](#setoptions)
- [setPath](#setpath)
- [setStrokeImage](#setstrokeimage)
- [setWeight](#setweight)
- [show](#show)
- [showDir](#showdir)

### Constructors

#### constructor

\+ **new PolylineArrow**(`options`: [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)): [*PolylineArrow*](#classesdefaultpolylinearrowmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd) |

**Returns:** [*PolylineArrow*](#classesdefaultpolylinearrowmd)

### Properties

#### animateFun

• **animateFun**: ``null`` \| Function

___

#### animatedPointIdx

• **animatedPointIdx**: *number*

___

#### borderGeoJson

• **borderGeoJson**: *any*

___

#### geojson

• **geojson**: *any*

___

#### id

• **id**: *string*

___

#### lineArrowImageName

• **lineArrowImageName**: *string*

___

#### lineGeojson

• **lineGeojson**: *any*

___

#### options

• **options**: [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)

___

#### strokeImageName

• **strokeImageName**: *undefined* \| *string*

___

#### type

• **type**: *string*

### Methods

#### \_addLayer

▸ **_addLayer**(): *void*

**Returns:** *void*

___

#### \_addShowDirFun

▸ **_addShowDirFun**(): *void*

**Returns:** *void*

___

#### \_addStrokeImage

▸ **_addStrokeImage**(): *void*

**Returns:** *void*

___

#### \_creatDirLine

▸ **_creatDirLine**(): *void*

**Returns:** *void*

___

#### \_createBorderLine

▸ **_createBorderLine**(): *void*

**Returns:** *void*

___

#### \_createLineGeojson

▸ **_createLineGeojson**(): *void*

**Returns:** *void*

___

#### \_mouseenterCallbackFun

▸ **_mouseenterCallbackFun**(): *void*

**Returns:** *void*

___

#### \_mouseleaveCallbackFun

▸ **_mouseleaveCallbackFun**(): *void*

**Returns:** *void*

___

#### \_updateLineStyle

▸ **_updateLineStyle**(`options`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *void*

___

#### addDir

▸ **addDir**(): *void*

**Returns:** *void*

___

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

___

#### animate

▸ **animate**(`step?`: *number*, `fps?`: *number*, `isLoop?`: *boolean*, `stopCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void*, `onFrameCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd), `context`: *any*) => *void*): [*FrameAnimation*](#interfacesdefaultframeanimationmd)

开启动画

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `step` | *number* | 100 | 把线段分成多少段 |
| `fps` | *number* | 10 | 每一秒跑多少段 |
| `isLoop` | *boolean* | false | 是否循环 |
| `stopCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void* | - | 结束回调 |
| `onFrameCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd), `context`: *any*) => *void* | - | 每一帧的回调 |

**Returns:** [*FrameAnimation*](#interfacesdefaultframeanimationmd)

___

#### createGeojson

▸ **createGeojson**(): *void*

**Returns:** *void*

___

#### getBounds

▸ **getBounds**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### getId

▸ **getId**(): *string*

**Returns:** *string*

___

#### getLength

▸ **getLength**(): *number*

**Returns:** *number*

___

#### getOptions

▸ **getOptions**(): [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)

**Returns:** [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)

___

#### getPath

▸ **getPath**(): *any*

**Returns:** *any*

___

#### hide

▸ **hide**(): *void*

**Returns:** *void*

___

#### hideDir

▸ **hideDir**(): *void*

**Returns:** *void*

___

#### init

▸ **init**(): *void*

**Returns:** *void*

___

#### off

▸ **off**(`type`: *any*, `listener`: EventedListener): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *any* |
| `listener` | EventedListener |

**Returns:** *void*

___

#### on

▸ **on**(`type`: *any*, `listener`: EventedListener): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *any* |
| `listener` | EventedListener |

**Returns:** *void*

___

#### once

▸ **once**(`type`: *any*, `listener`: EventedListener): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *any* |
| `listener` | EventedListener |

**Returns:** *void*

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### removeDir

▸ **removeDir**(): *void*

**Returns:** *void*

___

#### setBorderColor

▸ **setBorderColor**(`value`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *any* |

**Returns:** *void*

___

#### setBorderOpacity

▸ **setBorderOpacity**(`val`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | *any* |

**Returns:** *void*

___

#### setBorderWidth

▸ **setBorderWidth**(`weight`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `weight` | *any* |

**Returns:** *void*

___

#### setColor

▸ **setColor**(`color`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *any* |

**Returns:** *void*

___

#### setCursor

▸ **setCursor**(`cursor?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `cursor?` | *string* |

**Returns:** *void*

___

#### setOpacity

▸ **setOpacity**(`val`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | *any* |

**Returns:** *void*

___

#### setOptions

▸ **setOptions**(`options`: [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*PolylineArrowOptions*](#interfacesdefaultpolylinearrowoptionsmd) |

**Returns:** *void*

___

#### setPath

▸ **setPath**(`val`: [*GeoPointLike*](#geopointlike)[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | [*GeoPointLike*](#geopointlike)[] |

**Returns:** *void*

___

#### setStrokeImage

▸ **setStrokeImage**(`strokeImage`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `strokeImage` | *string* |

**Returns:** *void*

___

#### setWeight

▸ **setWeight**(`val`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `val` | *any* |

**Returns:** *void*

___

#### show

▸ **show**(): *void*

**Returns:** *void*

___

#### showDir

▸ **showDir**(): *void*

**Returns:** *void*


<a name="classesprojectionmd"></a>

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

## Class: Projection

`GeoPoint` 地理坐标.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [EARTH\_BOUNDS](#earth_bounds)
- [EQUATORIAL\_SEMIPERIMETER](#equatorial_semiperimeter)

#### Methods

- [fromLngLat](#fromlnglat)
- [fromMercator](#frommercator)
- [fromMeter](#frommeter)
- [getMapExtent](#getmapextent)
- [toLngLat](#tolnglat)
- [toMercator](#tomercator)
- [toMeter](#tometer)
- [lngLat2Mercator](#lnglat2mercator)
- [mercator2LngLat](#mercator2lnglat)

### Constructors

#### constructor

\+ **new Projection**(): [*Projection*](#classesdefaultprojectionmd)

**Returns:** [*Projection*](#classesdefaultprojectionmd)

### Properties

#### EARTH\_BOUNDS

▪ `Static` **EARTH\_BOUNDS**: [*number*, *number*, *number*, *number*]

The equatorial semi perimeter in meters.

___

#### EQUATORIAL\_SEMIPERIMETER

▪ `Static` **EQUATORIAL\_SEMIPERIMETER**: *number*= 20037508.3427892

The equatorial semi perimeter in meters.

### Methods

#### fromLngLat

▸ `Abstract` **fromLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

经纬度转地图地理坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 经纬度坐标点 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]

___

#### fromMercator

▸ `Abstract` **fromMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托(epsg:3857)转坐标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 墨卡托坐标点 |

**Returns:** [*number*, *number*]

___

#### fromMeter

▸ `Abstract` **fromMeter**(`meter`: *number*): *number*

把米转化为距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `meter` | *number* |

**Returns:** *number*

___

#### getMapExtent

▸ `Abstract` **getMapExtent**(): [*GeoBounds*](#classesdefaultgeoboundsmd)

得到地图范围

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### toLngLat

▸ `Abstract` **toLngLat**(`input`: [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[]): LngLatLike

地图地理坐标转经纬度

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] | 地理坐标点 |

**Returns:** LngLatLike

___

#### toMercator

▸ `Abstract` **toMercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

坐标转墨卡托(epsg:3857)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) | 坐标点 |

**Returns:** [*number*, *number*]

___

#### toMeter

▸ `Abstract` **toMeter**(`dist`: *number*): *number*

把距离转化为米

##### Parameters

| Name | Type |
| :------ | :------ |
| `dist` | *number* |

**Returns:** *number*

___

#### lngLat2Mercator

▸ `Static` **lngLat2Mercator**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

经纬度转墨卡托 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]

___

#### mercator2LngLat

▸ `Static` **mercator2LngLat**(`input`: [*GeoPointLike*](#geopointlike)): [*number*, *number*]

墨卡托转经纬度 .

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*number*, *number*]


<a name="classesreglbaselayermd"></a>

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

## Class: ReglBaseLayer

### Hierarchy

- *Evented*

  ↳ **ReglBaseLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [id](#id)
- [map](#map)
- [regl](#regl)
- [renderAnimation](#renderanimation)
- [type](#type)

#### Methods

- [frame](#frame)
- [getReglInitialization](#getreglinitialization)
- [init](#init)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [prerender](#prerender)
- [remove](#remove)
- [render](#render)
- [triggerRepaint](#triggerrepaint)

### Constructors

#### constructor

\+ **new ReglBaseLayer**(): [*ReglBaseLayer*](#classesdefaultreglbaselayermd)

**Returns:** [*ReglBaseLayer*](#classesdefaultreglbaselayermd)

Inherited from: Evented.constructor

### Properties

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### map

• **map**: *Map*

___

#### regl

• **regl**: *any*

___

#### renderAnimation

• `Optional` **renderAnimation**: *boolean*

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### frame

▸ `Protected` `Abstract` **frame**(`gl`: WebGLRenderingContext, `matrix`: *number*[], `context?`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |
| `context?` | *any* |

**Returns:** *void*

___

#### getReglInitialization

▸ `Protected` `Abstract` **getReglInitialization**(`gl`: WebGLRenderingContext): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |

**Returns:** *any*

___

#### init

▸ `Protected` `Abstract` **init**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### onAdd

▸ **onAdd**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### prerender

▸ **prerender**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.prerender

___

#### remove

▸ `Protected` `Abstract` **remove**(`map`: *Map*, `gl`: WebGLRenderingContext): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `gl` | WebGLRenderingContext |

**Returns:** *void*

___

#### render

▸ **render**(`gl`: WebGLRenderingContext, `matrix`: *number*[]): *void*

NOTE: map won't call it every frame.

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | WebGLRenderingContext |
| `matrix` | *number*[] |

**Returns:** *void*

Implementation of: CustomLayerInterface.render

___

#### triggerRepaint

▸ **triggerRepaint**(): *void*

**Returns:** *void*


<a name="classesrotatingaperturemarkermd"></a>

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

## Class: RotatingApertureMarker

旋转的光环.

### Hierarchy

- *MarkerBase*

  ↳ **RotatingApertureMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new RotatingApertureMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*RotatingApertureMarker*](#classesdefaultrotatingaperturemarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*RotatingApertureMarker*](#classesdefaultrotatingaperturemarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |
| `index?` | *number* |

**Returns:** *void*


<a name="classesrotatingtextbordermarkermd"></a>

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

## Class: RotatingTextBorderMarker

旋转的文本框.

### Hierarchy

- *MarkerBase*

  ↳ **RotatingTextBorderMarker**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [features](#features)
- [markersElement](#markerselement)
- [options](#options)

#### Methods

- [\_createMarker](#_createmarker)
- [\_getColorWithOpacity](#_getcolorwithopacity)
- [\_getTextContainer](#_gettextcontainer)
- [\_setMarkerContainerProperty](#_setmarkercontainerproperty)
- [createMarker](#createmarker)
- [getColorWithOpacity](#getcolorwithopacity)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarkersElement](#getmarkerselement)
- [set16ToRgb](#set16torgb)
- [setFeatures](#setfeatures)
- [setMarkersColors](#setmarkerscolors)
- [setMarkersHeight](#setmarkersheight)
- [setMarkersText](#setmarkerstext)
- [setMarkersTextColor](#setmarkerstextcolor)
- [setMarkersTextField](#setmarkerstextfield)
- [setMarkersTextFontSize](#setmarkerstextfontsize)
- [setMarkersWidth](#setmarkerswidth)

### Constructors

#### constructor

\+ **new RotatingTextBorderMarker**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }, `options?`: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)): [*RotatingTextBorderMarker*](#classesdefaultrotatingtextbordermarkermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  } |
| `options?` | [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd) |

**Returns:** [*RotatingTextBorderMarker*](#classesdefaultrotatingtextbordermarkermd)

Overrides: MarkerBase.constructor

### Properties

#### features

• `Protected` **features**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| { `lngLat`: LngLatLike ; `text?`: *string*  }

Inherited from: MarkerBase.features

___

#### markersElement

• `Protected` **markersElement**: *any*

Inherited from: MarkerBase.markersElement

___

#### options

• `Protected` **options**: [*AnimateMarkerLayerOption*](#interfacesdefaultanimatemarkerlayeroptionmd)

Inherited from: MarkerBase.options

### Methods

#### \_createMarker

▸ **_createMarker**(): *void*

**Returns:** *void*

___

#### \_getColorWithOpacity

▸ `Protected` **_getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.\_getColorWithOpacity

___

#### \_getTextContainer

▸ `Protected` **_getTextContainer**(`feature`: *any*, `className`: *string*): ``null`` \| HTMLDivElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `className` | *string* |

**Returns:** ``null`` \| HTMLDivElement

Inherited from: MarkerBase.\_getTextContainer

___

#### \_setMarkerContainerProperty

▸ **_setMarkerContainerProperty**(`properties`: *any*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `properties` | *any* |
| `index?` | *number* |

**Returns:** *void*

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd), `index?`: *number*): *Marker*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |
| `index?` | *number* |

**Returns:** *Marker*

Inherited from: MarkerBase.createMarker

___

#### getColorWithOpacity

▸ **getColorWithOpacity**(`color`: *string*, `opacity`: *string* \| *number*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `color` | *string* |
| `opacity` | *string* \| *number* |

**Returns:** *string*

Inherited from: MarkerBase.getColorWithOpacity

___

#### getElement

▸ **getElement**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getElement

___

#### getLngLat

▸ **getLngLat**(`index?`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `index?` | *number* |

**Returns:** *any*

Inherited from: MarkerBase.getLngLat

___

#### getMarkersElement

▸ **getMarkersElement**(): *any*

**Returns:** *any*

Inherited from: MarkerBase.getMarkersElement

___

#### set16ToRgb

▸ **set16ToRgb**(`str`: *string*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

Inherited from: MarkerBase.set16ToRgb

___

#### setFeatures

▸ **setFeatures**(`features`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `features` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *void*

Inherited from: MarkerBase.setFeatures

___

#### setMarkersColors

▸ **setMarkersColors**(`colors`: *string*[], `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `colors` | *string*[] |
| `index?` | *number* |

**Returns:** *void*

___

#### setMarkersHeight

▸ **setMarkersHeight**(`height`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `height` | *number* |

**Returns:** *void*

___

#### setMarkersText

▸ **setMarkersText**(`text`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `text` | *string* |
| `index?` | *number* |

**Returns:** *void*

Inherited from: MarkerBase.setMarkersText

___

#### setMarkersTextColor

▸ **setMarkersTextColor**(`textColor`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textColor` | *string* |
| `index?` | *number* |

**Returns:** *void*

Overrides: MarkerBase.setMarkersTextColor

___

#### setMarkersTextField

▸ **setMarkersTextField**(`textField`: *string*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textField` | *string* |
| `index?` | *number* |

**Returns:** *void*

Overrides: MarkerBase.setMarkersTextField

___

#### setMarkersTextFontSize

▸ **setMarkersTextFontSize**(`textFontSize`: *number*, `index?`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `textFontSize` | *number* |
| `index?` | *number* |

**Returns:** *void*

Overrides: MarkerBase.setMarkersTextFontSize

___

#### setMarkersWidth

▸ **setMarkersWidth**(`width`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `width` | *number* |

**Returns:** *void*


<a name="classesservicemd"></a>

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

## Class: Service

`Service` 服务类.

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [accessToken](#accesstoken)
- [serverUrl](#serverurl)

#### Methods

- [addAccessKey](#addaccesskey)
- [addSecretKey](#addsecretkey)
- [baseUrl](#baseurl)
- [blankTileUrl](#blanktileurl)
- [checkFileHasUpload](#checkfilehasupload)
- [clearCache](#clearcache)
- [clone](#clone)
- [cmdClearMapCache](#cmdclearmapcache)
- [cmdClearTileCache](#cmdcleartilecache)
- [cmdCreateEntitiesGeomData](#cmdcreateentitiesgeomdata)
- [cmdDeleteCache](#cmddeletecache)
- [cmdDeleteMap](#cmddeletemap)
- [cmdDeleteStyle](#cmddeletestyle)
- [cmdExportLayout](#cmdexportlayout)
- [cmdGetAccessKey](#cmdgetaccesskey)
- [cmdGetDrawBounds](#cmdgetdrawbounds)
- [cmdGetSupportFormat](#cmdgetsupportformat)
- [cmdMapDiff](#cmdmapdiff)
- [cmdMatchObject](#cmdmatchobject)
- [cmdPrjWktToPrj4](#cmdprjwkttoprj4)
- [cmdRenameMap](#cmdrenamemap)
- [cmdResetAccessKey](#cmdresetaccesskey)
- [cmdRunStatus](#cmdrunstatus)
- [cmdSetMapPassword](#cmdsetmappassword)
- [cmdSliceLayer](#cmdslicelayer)
- [cmdSwitchLayers](#cmdswitchlayers)
- [cmdTransform](#cmdtransform)
- [cmdUpdateStyle](#cmdupdatestyle)
- [composeNewMap](#composenewmap)
- [conditionQueryFeature](#conditionqueryfeature)
- [createStyle](#createstyle)
- [currentMapParam](#currentmapparam)
- [deleteCustomData](#deletecustomdata)
- [execCommand](#execcommand)
- [exprQueryFeature](#exprqueryfeature)
- [fileMd5](#filemd5)
- [getConstData](#getconstdata)
- [getCurWorkspaceName](#getcurworkspacename)
- [getCustomData](#getcustomdata)
- [getCustomDataKeysByPrefix](#getcustomdatakeysbyprefix)
- [getFontsCapacity](#getfontscapacity)
- [getMapLayers](#getmaplayers)
- [getSliceCacheZoom](#getslicecachezoom)
- [getStyleLayerName](#getstylelayername)
- [getWorkspaces](#getworkspaces)
- [glyphsUrl](#glyphsurl)
- [listMaps](#listmaps)
- [metadata](#metadata)
- [openMap](#openmap)
- [pointQueryFeature](#pointqueryfeature)
- [processQueryResult](#processqueryresult)
- [pwdToSecretKey](#pwdtosecretkey)
- [qrcodeUrl](#qrcodeurl)
- [rasterBlankStyle](#rasterblankstyle)
- [rasterLayerId](#rasterlayerid)
- [rasterSourceId](#rastersourceid)
- [rasterStyle](#rasterstyle)
- [rasterTileUrl](#rastertileurl)
- [rectQueryFeature](#rectqueryfeature)
- [removeAccessKey](#removeaccesskey)
- [removeSecretKey](#removesecretkey)
- [saveCustomData](#savecustomdata)
- [serviceUrl](#serviceurl)
- [setCurrentMapParam](#setcurrentmapparam)
- [setSprite](#setsprite)
- [spriteUrl](#spriteurl)
- [strMd5](#strmd5)
- [styleVersion](#styleversion)
- [switchWorkspace](#switchworkspace)
- [thumbnailUrl](#thumbnailurl)
- [toLayerIndex](#tolayerindex)
- [updateMap](#updatemap)
- [updateMetadata](#updatemetadata)
- [uploadMap](#uploadmap)
- [uploadUrl](#uploadurl)
- [vectorStyle](#vectorstyle)
- [vectorTileUrl](#vectortileurl)
- [waitMapOpenFinish](#waitmapopenfinish)
- [webMapUrl](#webmapurl)
- [wmsTileUrl](#wmstileurl)
- [workspaceCreate](#workspacecreate)
- [workspaceDelete](#workspacedelete)
- [workspaceModify](#workspacemodify)

### Constructors

#### constructor

\+ **new Service**(`url`: *string*, `token?`: *string*, `req?`: [*IRequest*](#interfacesdefaultirequestmd)): [*Service*](#classesdefaultservicemd)

构造函数

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `url` | *string* | 服务地址 |
| `token?` | *string* | 访问凭证 |
| `req?` | [*IRequest*](#interfacesdefaultirequestmd) | 请求的方法实现（默认内部实现) |

**Returns:** [*Service*](#classesdefaultservicemd)

### Properties

#### accessToken

• **accessToken**: *string*= ""

访问凭证

___

#### serverUrl

• **serverUrl**: *string*= ""

服务器地址

### Methods

#### addAccessKey

▸ **addAccessKey**(`key`: *string*): *Set*<string\>

增加访问key

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *Set*<string\>

___

#### addSecretKey

▸ **addSecretKey**(`key`: *string*): *Set*<string\>

增加秘钥key

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *Set*<string\>

___

#### baseUrl

▸ **baseUrl**(): *string*

服务根地址

**Returns:** *string*

___

#### blankTileUrl

▸ **blankTileUrl**(): *string*

空白瓦片地址

**Returns:** *string*

___

#### checkFileHasUpload

▸ **checkFileHasUpload**(`filemd5`: *string*): *Promise*<any\>

检查文件是否上传过

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filemd5` | *string* | 文件md5值 |

**Returns:** *Promise*<any\>

___

#### clearCache

▸ **clearCache**(`prefix?`: *string*): *Promise*<{}\>

清空服务器缓存数据

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `prefix` | *string* | "" | key前缀 |

**Returns:** *Promise*<{}\>

___

#### clone

▸ **clone**(`isCloneWorkspace?`: *boolean*): [*Service*](#classesdefaultservicemd)

克隆一个新的服务实例对象

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `isCloneWorkspace?` | *boolean* | 是否克隆当前工作区 (默认是) |

**Returns:** [*Service*](#classesdefaultservicemd)

Service

___

#### cmdClearMapCache

▸ **cmdClearMapCache**(`mapid`: *string*, `version`: *string*): *Promise*<any\>

清空地图的几何和瓦片缓存数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version` | *string* | 版本号 |

**Returns:** *Promise*<any\>

___

#### cmdClearTileCache

▸ **cmdClearTileCache**(`mapid`: *string*, `version`: *string*): *Promise*<any\>

清空地图的瓦片缓存数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version` | *string* | 版本号 |

**Returns:** *Promise*<any\>

___

#### cmdCreateEntitiesGeomData

▸ **cmdCreateEntitiesGeomData**(`param`: [*ICreateEntitiesGeomData*](#interfacesdefaulticreateentitiesgeomdatamd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

获取创建实体的几何数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*ICreateEntitiesGeomData*](#interfacesdefaulticreateentitiesgeomdatamd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### cmdDeleteCache

▸ **cmdDeleteCache**(`param`: [*IDeleteCache*](#interfacesdefaultideletecachemd)): *Promise*<any\>

删除地图缓存

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IDeleteCache*](#interfacesdefaultideletecachemd) | 缓存接口 |

**Returns:** *Promise*<any\>

___

#### cmdDeleteMap

▸ **cmdDeleteMap**(`mapid`: *string*, `version`: *string*, `retainVersionMaxCount?`: *number*): *Promise*<any\>

删除地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version` | *string* | 版本号，如删除所有版本，输入"*"号 |
| `retainVersionMaxCount?` | *number* | 删除所有版本时，保留的最新的版本总数。如总共有10个版本，retainVersionMaxCount为3时，会保存最新的3个版本，其余的都会删除 |

**Returns:** *Promise*<any\>

___

#### cmdDeleteStyle

▸ **cmdDeleteStyle**(`param`: [*IDeleteStyle*](#interfacesdefaultideletestylemd)): *Promise*<any\>

删除地图样式

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IDeleteStyle*](#interfacesdefaultideletestylemd) | 样式接口 |

**Returns:** *Promise*<any\>

___

#### cmdExportLayout

▸ **cmdExportLayout**(`param`: [*IExportLayout*](#interfacesdefaultiexportlayoutmd)): *Promise*<any\>

导出布局空间为dwg图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IExportLayout*](#interfacesdefaultiexportlayoutmd) | 参数 |

**Returns:** *Promise*<any\>

___

#### cmdGetAccessKey

▸ **cmdGetAccessKey**(`mapid`: *string*, `key`: *string*): *Promise*<any\>

获取地图的AccessKey，获取之前请确保已成功打开了地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `key` | *string* | secretKey秘钥和超级管理员superKey |

**Returns:** *Promise*<any\>

___

#### cmdGetDrawBounds

▸ **cmdGetDrawBounds**(`mapid?`: *string*, `version?`: *string*): *Promise*<``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)\>

获取图形中有数据的范围区域

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid?` | *string* | 地图id |
| `version?` | *string* | 版本号 |

**Returns:** *Promise*<``null`` \| [*GeoBounds*](#classesdefaultgeoboundsmd)\>

___

#### cmdGetSupportFormat

▸ **cmdGetSupportFormat**(): *Promise*<any\>

获取支持的格式类型

**Returns:** *Promise*<any\>

___

#### cmdMapDiff

▸ **cmdMapDiff**(`param`: [*IMapDiff*](#interfacesdefaultimapdiffmd)): *Promise*<any\>

比较地图不同

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IMapDiff*](#interfacesdefaultimapdiffmd) | 组合参数 |

**Returns:** *Promise*<any\>

___

#### cmdMatchObject

▸ **cmdMatchObject**(`param`: [*IMatchObject*](#interfacesdefaultimatchobjectmd)): *Promise*<any\>

目标匹配

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IMatchObject*](#interfacesdefaultimatchobjectmd) | 参数 |

**Returns:** *Promise*<any\>

___

#### cmdPrjWktToPrj4

▸ **cmdPrjWktToPrj4**(`wkt`: *string*, `from?`: ``""`` \| ``"url"`` \| ``"wmsauto"`` \| ``"xml"`` \| ``"urn"`` \| ``"crsurl"`` \| ``"micoordsys"`` \| ``"pci"``): *Promise*<any\>

投影prj文件WKT字符转proj4字符串

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `wkt` | *string* | - |
| `from?` | ``""`` \| ``"url"`` \| ``"wmsauto"`` \| ``"xml"`` \| ``"urn"`` \| ``"crsurl"`` \| ``"micoordsys"`` \| ``"pci"`` | 字符串来源，为空为话为WKT |

**Returns:** *Promise*<any\>

___

#### cmdRenameMap

▸ **cmdRenameMap**(`oldMapID`: *string*, `newMapID`: *string*): *Promise*<any\>

地图ID重命名

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `oldMapID` | *string* | 旧地图ID |
| `newMapID` | *string* | 新地图ID |

**Returns:** *Promise*<any\>

___

#### cmdResetAccessKey

▸ **cmdResetAccessKey**(`mapid`: *string*, `key`: *string*): *Promise*<any\>

重置地图的AccessKey，获取之前请确保已成功打开了地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `key` | *string* | secretKey秘钥和超级管理员superKey |

**Returns:** *Promise*<any\>

___

#### cmdRunStatus

▸ **cmdRunStatus**(`bDetail?`: *boolean*): *Promise*<any\>

获取当前运行状态

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `bDetail?` | *boolean* | 是否需要细节 (默认false) |

**Returns:** *Promise*<any\>

___

#### cmdSetMapPassword

▸ **cmdSetMapPassword**(`mapid`: *string*, `key`: *string*, `newKey`: *string*): *Promise*<any\>

重置地图的密码，如果之前有密码，则是修改密码。如果之前没有密码，则是把此地图设置了密码保护。如果设置密码为空，则取消对此地图的密码保护。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `key` | *string* | 旧的secretKey秘钥和超级管理员superKey |
| `newKey` | *string* | 新的secretKey秘钥 |

**Returns:** *Promise*<any\>

___

#### cmdSliceLayer

▸ **cmdSliceLayer**(`param`: [*ISliceLayer*](#interfacesdefaultislicelayermd)): *Promise*<any\>

对图层进行切片缓存

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | [*ISliceLayer*](#interfacesdefaultislicelayermd) |

**Returns:** *Promise*<any\>

___

#### cmdSwitchLayers

▸ **cmdSwitchLayers**(`visibleLayers`: *string*[]): *Promise*<any\>

切换图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `visibleLayers` | *string*[] | 让可见的图层列表数组 |

**Returns:** *Promise*<any\>

___

#### cmdTransform

▸ **cmdTransform**(`srs`: *string*, `crs`: *string*, `points`: [*GeoPoint*](#classesdefaultgeopointmd) \| [*GeoPoint*](#classesdefaultgeopointmd)[], `fourParameter?`: *string* \| *string*[], `isInverseFourParamter?`: *boolean*): *Promise*<any\>

坐标转换

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `srs` | *string* | 源坐标系名称，如 EPSG:4326 |
| `crs` | *string* | 目标坐标系名称，如 EPSG:3857 |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd) \| [*GeoPoint*](#classesdefaultgeopointmd)[] | 要转换的坐标 |
| `fourParameter?` | *string* \| *string*[] | 四参数(x偏移,y偏移,缩放，旋转弧度)，可选，对坐标最后进行修正 |
| `isInverseFourParamter?` | *boolean* | 是否是上面四参数坐标的反算 |

**Returns:** *Promise*<any\>

___

#### cmdUpdateStyle

▸ **cmdUpdateStyle**(`param`: [*IUpdateStyle*](#interfacesdefaultiupdatestylemd)): *Promise*<any\>

更新样式

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IUpdateStyle*](#interfacesdefaultiupdatestylemd) | 样式参数 |

**Returns:** *Promise*<any\>

Example:
```typescript
const res = svc.cmdUpdateStyle({
    name: "style1",
    layeron: [0,1,2,4,5,6,7,8,9],
    layeroff: "",
    clipbounds: "",
    backcolor: 0,
    lineweight:[1,1,0]
    expression: "gOutColorRed := gInColorGreen;gOutColorGreen := gInColorBlue;gOutColorBlue := gInColorRed;gOutColorAlpha := gInColorAlpha;"
});
```

___

#### composeNewMap

▸ **composeNewMap**(`param`: [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd) \| [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd)[]): *Promise*<any\>

组合成新地图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd) \| [*IComposeNewMap*](#interfacesdefaulticomposenewmapmd)[] | 组合参数 |

**Returns:** *Promise*<any\>

___

#### conditionQueryFeature

▸ **conditionQueryFeature**(`param`: [*IConditionQueryFeatures*](#interfacesdefaulticonditionqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

条件查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IConditionQueryFeatures*](#interfacesdefaulticonditionqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### createStyle

▸ **createStyle**(`style`: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd), `mapid?`: *string*, `version?`: *string*, `isGeomLayer?`: *boolean*): *Promise*<any\>

获取样式图层名

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `style` | [*IMapStyleParam*](#interfacesdefaultimapstyleparammd) | 样式参数 |
| `mapid?` | *string* | 地图ID |
| `version?` | *string* | 版本号，为空，则获取最新的; |
| `isGeomLayer?` | *boolean* | 几何渲染图层优先(默认true) |

**Returns:** *Promise*<any\>

___

#### currentMapParam

▸ **currentMapParam**(): ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

当前地图参数

**Returns:** ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

___

#### deleteCustomData

▸ **deleteCustomData**(`key`: *string* \| *string*[], `isPrefix?`: *boolean*): *Promise*<any\>

删除用户自定义数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* \| *string*[] | 键名，如果是数组的话，可以查询 |
| `isPrefix?` | *boolean* | 是否删除所有前缀为key的所有键值，默认false |

**Returns:** *Promise*<any\>

___

#### execCommand

▸ **execCommand**(`cmdname`: *string*, `param?`: *Record*<string, any\>, `mapid?`: *string*, `version?`: *string*, `useGet?`: *boolean*): *Promise*<any\>

执行命令

##### Parameters

| Name | Type |
| :------ | :------ |
| `cmdname` | *string* |
| `param?` | *Record*<string, any\> |
| `mapid?` | *string* |
| `version?` | *string* |
| `useGet?` | *boolean* |

**Returns:** *Promise*<any\>

___

#### exprQueryFeature

▸ **exprQueryFeature**(`param`: [*IExprQueryFeatures*](#interfacesdefaultiexprqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

表达式查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IExprQueryFeatures*](#interfacesdefaultiexprqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### fileMd5

▸ **fileMd5**(`file`: File): *Promise*<any\>

获取文件的Md5值

##### Parameters

| Name | Type |
| :------ | :------ |
| `file` | File |

**Returns:** *Promise*<any\>

___

#### getConstData

▸ **getConstData**(): *Promise*<any\>

获取服务后台常量设置

**Returns:** *Promise*<any\>

___

#### getCurWorkspaceName

▸ **getCurWorkspaceName**(): *string*

获取当前的工作区名称

**Returns:** *string*

___

#### getCustomData

▸ **getCustomData**(`key`: *string* \| *string*[], `options?`: { `contentType?`: ``""`` \| ``"image"`` ; `retDataType?`: ``""`` \| ``"value"`` \| ``"prop"``  }): *Promise*<any\>

获取用户自定义数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* \| *string*[] | 键名，如果是数组的话，可以查询. |
| `options?` | *object* | 选项 retDataType为空时查询数据及属性,"value"只查询数据，"prop"只查询属性。contentType返回类型,为空时为json，为"image"时为图片. |
| `options.contentType?` | ``""`` \| ``"image"`` | - |
| `options.retDataType?` | ``""`` \| ``"value"`` \| ``"prop"`` | - |

**Returns:** *Promise*<any\>

___

#### getCustomDataKeysByPrefix

▸ **getCustomDataKeysByPrefix**(`prefix`: *string*): *Promise*<any\>

通过前缀获取用户自定义数据的键值

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `prefix` | *string* | 键名前缀 |

**Returns:** *Promise*<any\>

___

#### getFontsCapacity

▸ **getFontsCapacity**(): *Promise*<{}\>

得到所有矢量字体名称

**Returns:** *Promise*<{}\>

___

#### getMapLayers

▸ **getMapLayers**(): [*IMapLayer*](#interfacesdefaultimaplayermd)[]

得到地图图层集合，调用前请确保地图已打开，否则会抛异常

**Returns:** [*IMapLayer*](#interfacesdefaultimaplayermd)[]

___

#### getSliceCacheZoom

▸ **getSliceCacheZoom**(`param`: [*ISliceCacheZoom*](#interfacesdefaultislicecachezoommd)): *Promise*<any\>

获取已缓存的切片级别

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*ISliceCacheZoom*](#interfacesdefaultislicecachezoommd) | 参数 |

**Returns:** *Promise*<any\>

___

#### getStyleLayerName

▸ **getStyleLayerName**(`mapid`: *string*, `version?`: *string*, `isGeomLayer?`: *boolean*, `name?`: *string*): *Promise*<any\>

获取样式图层名

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid` | *string* | 地图ID |
| `version?` | *string* | 版本号，为空，则获取最新的; |
| `isGeomLayer?` | *boolean* | 几何渲染图层优先(默认true) |
| `name?` | *string* | 有名称时，根据名称来查找; |

**Returns:** *Promise*<any\>

___

#### getWorkspaces

▸ **getWorkspaces**(): *Promise*<any\>

获取所有工作区(如果不是root权限的token获取非公开的工作区名称将返回空)

**Returns:** *Promise*<any\>

___

#### glyphsUrl

▸ **glyphsUrl**(): *string*

字体地址

**Returns:** *string*

___

#### listMaps

▸ **listMaps**(`mapid?`: *string* \| *string*[] \| { `curPage`: *number* ; `mapIds?`: *string*[] ; `pageCount`: *number*  }, `version?`: *string*): *Promise*<any\>

获取所有地图信息

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `mapid` | *string* \| *string*[] \| { `curPage`: *number* ; `mapIds?`: *string*[] ; `pageCount`: *number*  } | "\_" | 地图ID，为空，则获取所有的；如果传入的是地图ID数组，则获取指定的地图ID数组的信息。如果不想一次性获取，可通过传入分页对象获取，如{curPage: 1, pageCount: 10} |
| `version` | *string* | "\_" | 版本号，为空，则获取最新的; * 则获取所有的版本 |

**Returns:** *Promise*<any\>

___

#### metadata

▸ **metadata**(`mapid?`: *string*, `version?`: *string*): *Promise*<any\>

获取地图元数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid?` | *string* | 地图ID ，为空, 则为当前打开的图形 |
| `version?` | *string* | 版本号，为空 则为当前打开的版本; |

**Returns:** *Promise*<any\>

___

#### openMap

▸ **openMap**(`param`: [*IOpenMapParam*](#interfacesdefaultiopenmapparammd), `isWaitFinish?`: *boolean*): *Promise*<any\>

打开图

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `param` | [*IOpenMapParam*](#interfacesdefaultiopenmapparammd) | - |  |
| `isWaitFinish` | *boolean* | true | 是否等待打开完成 |

**Returns:** *Promise*<any\>

___

#### pointQueryFeature

▸ **pointQueryFeature**(`param`: [*IPointQueryFeatures*](#interfacesdefaultipointqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

点查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IPointQueryFeatures*](#interfacesdefaultipointqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### processQueryResult

▸ **processQueryResult**(`param`: *any*, `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *any*

处理查询结果

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | *any* | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *any*

___

#### pwdToSecretKey

▸ **pwdToSecretKey**(`pwd`: *string*): *string*

密码转换为秘钥

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pwd` | *string* | 密码 |

**Returns:** *string*

___

#### qrcodeUrl

▸ **qrcodeUrl**(`content`: *string*, `size?`: *number*): *string*

二维码图片地址

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `content` | *string* | 生成二维码的内容 |
| `size?` | *number* | 生成二维码的大小，默认256 |

**Returns:** *string*

___

#### rasterBlankStyle

▸ **rasterBlankStyle**(`minzoom?`: *number*, `maxzoom?`: *number*, `prefix?`: *string*): Style

空白栅格style

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `minzoom?` | *number* | 最小级别，缺省0 |
| `maxzoom?` | *number* | 最大级别，缺省24 |
| `prefix?` | *string* | 前缀，缺省rasterBlank |

**Returns:** Style

___

#### rasterLayerId

▸ **rasterLayerId**(`prefix?`: *string*): *string*

获取栅格图层ID

##### Parameters

| Name | Type |
| :------ | :------ |
| `prefix?` | *string* |

**Returns:** *string*

___

#### rasterSourceId

▸ **rasterSourceId**(`prefix?`: *string*): *string*

获取栅格源ID

##### Parameters

| Name | Type |
| :------ | :------ |
| `prefix?` | *string* |

**Returns:** *string*

___

#### rasterStyle

▸ **rasterStyle**(`tileUrl?`: *string*, `minzoom?`: *number*, `maxzoom?`: *number*, `prefix?`: *string*): Style

栅格style

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `tileUrl?` | *string* | 栅格瓦片地址 |
| `minzoom?` | *number* | 最小级别，缺省0 |
| `maxzoom?` | *number* | 最大级别，缺省24 |
| `prefix?` | *string* | 前缀，缺省raster |

**Returns:** Style

___

#### rasterTileUrl

▸ **rasterTileUrl**(`param?`: [*ITileUrlParam*](#interfacesdefaultitileurlparammd)): *string*

栅格瓦片地址

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `param` | [*ITileUrlParam*](#interfacesdefaultitileurlparammd) | {} |

**Returns:** *string*

___

#### rectQueryFeature

▸ **rectQueryFeature**(`param`: [*IRectQueryFeatures*](#interfacesdefaultirectqueryfeaturesmd), `cb?`: (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*]): *Promise*<any\>

矩形查询实体

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `param` | [*IRectQueryFeatures*](#interfacesdefaultirectqueryfeaturesmd) | 参数 |
| `cb?` | (`point`: [*number*, *number*]) => *undefined* \| ``null`` \| [*number*, *number*] | 结果中每个点的处理回调。如果返回空的话，则用默认处理方法 |

**Returns:** *Promise*<any\>

___

#### removeAccessKey

▸ **removeAccessKey**(`key`: *string*): *void*

移除访问key, 如果key为undefined时，则移除所有的

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *void*

___

#### removeSecretKey

▸ **removeSecretKey**(`key`: *string*): *undefined* \| *Set*<string\>

移除秘钥key, 如果key为undefined时，则移除所有的

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* | key值 |

**Returns:** *undefined* \| *Set*<string\>

___

#### saveCustomData

▸ **saveCustomData**(`key`: *string* \| { `key`: *string* ; `prop?`: *any* ; `ttl?`: *number* ; `value`: *any*  }[], `value?`: *any*, `prop?`: *any*, `ttl?`: *number*): *Promise*<any\>

保存用户自定义数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `key` | *string* \| { `key`: *string* ; `prop?`: *any* ; `ttl?`: *number* ; `value`: *any*  }[] | 键名(必须唯一，否则会覆盖之前的数据，同类型的key前缀尽量一样)，如果是数组的话，可以批量 |
| `value?` | *any* | 键值 |
| `prop?` | *any* | 属性值 |
| `ttl?` | *number* | 有效时间，单位秒，默认长期有效 |

**Returns:** *Promise*<any\>

___

#### serviceUrl

▸ **serviceUrl**(`u`: *string*): *string*

得到服务地址

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `u` | *string* | 要拼接的地址 |

**Returns:** *string*

string

___

#### setCurrentMapParam

▸ **setCurrentMapParam**(`param`: [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)): ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

设置打开地图参数

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd) |

**Returns:** ``null`` \| [*IOpenMapResponse*](#interfacesdefaultiopenmapresponsemd)

___

#### setSprite

▸ **setSprite**(`name`: *string*): *string*

设置精灵图片名称

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | *string* | 精灵名称 |

**Returns:** *string*

___

#### spriteUrl

▸ **spriteUrl**(`name`: *string*): *string*

精灵图片名称

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | *string* | 精灵名称 |

**Returns:** *string*

___

#### strMd5

▸ **strMd5**(`str`: *string*): *string*

获取字符串的Md5值

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** *string*

___

#### styleVersion

▸ **styleVersion**(): *number*

得到style的版本号

**Returns:** *number*

___

#### switchWorkspace

▸ **switchWorkspace**(`workspaceName`: *string*): *void*

切换至工作区

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `workspaceName` | *string* | 工作区名称 |

**Returns:** *void*

___

#### thumbnailUrl

▸ **thumbnailUrl**(`mapid?`: *string*, `version?`: *string*, `width?`: *number*, `height?`: *number*, `darkTheme?`: *boolean*): *string*

获取图的缩略图

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `mapid?` | *string* |  |
| `version?` | *string* |  |
| `width?` | *number* |  |
| `height?` | *number* |  |
| `darkTheme?` | *boolean* | 是否是深色主题，是的话，图片将反色（黑色变白色） |

**Returns:** *string*

___

#### toLayerIndex

▸ **toLayerIndex**(`layernames`: *string*[], `layers`: *any*[]): *number*[]

把图层名称数组转成图层索引数组

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `layernames` | *string*[] | 图层名称数组 |
| `layers` | *any*[] | 图层列表 |

**Returns:** *number*[]

___

#### updateMap

▸ **updateMap**(`param`: [*IUpdateMapParam*](#interfacesdefaultiupdatemapparammd), `isWaitFinish?`: *boolean*): *Promise*<any\>

更新地图

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `param` | [*IUpdateMapParam*](#interfacesdefaultiupdatemapparammd) | - |  |
| `isWaitFinish` | *boolean* | true | 是否等待打开完成 |

**Returns:** *Promise*<any\>

___

#### updateMetadata

▸ **updateMetadata**(`meta`: *Record*<string, undefined \| ``null`` \| string \| number \| boolean\>, `mapid?`: *string*, `version?`: *string*): *Promise*<any\>

修改地图元数据

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `meta` | *Record*<string, undefined \| ``null`` \| string \| number \| boolean\> | 要修改的元数据项 |
| `mapid?` | *string* | 地图ID ，为空, 则为当前打开的图形 |
| `version?` | *string* | 版本号，为空 则为当前打开的版本; |

**Returns:** *Promise*<any\>

___

#### uploadMap

▸ **uploadMap**(`file`: File): *Promise*<any\>

上传地图

##### Parameters

| Name | Type |
| :------ | :------ |
| `file` | File |

**Returns:** *Promise*<any\>

___

#### uploadUrl

▸ **uploadUrl**(): *string*

返回上传文件的url地址

**Returns:** *string*

___

#### vectorStyle

▸ **vectorStyle**(`tileUrl?`: *string* \| *Record*<string, any\>, `minzoom?`: *number*, `maxzoom?`: *number*, `prefix?`: *string*, `hoverColor?`: *string*, `hoverOpacity?`: *number*, `hoverLineWidth?`: *number*, `customColorCaseExpr?`: *any*[], `customOpacityCaseExpr?`: *any*[], `customLineWidthCaseExpr?`: *any*[], `disableHover?`: *boolean*): Style

矢量style

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `tileUrl?` | *string* \| *Record*<string, any\> | 矢量瓦片地址 或者为一个Object，为Object时，设置项为参数的每个项值，做为一个参数传入 |
| `minzoom?` | *number* | 最小级别，缺省0 |
| `maxzoom?` | *number* | 最大级别，缺省24 |
| `prefix?` | *string* | 前缀，缺省vector |
| `hoverColor?` | *string* | 高亮时颜色，缺省rgba(0,0,255,255) |
| `hoverOpacity?` | *number* | 高亮时透明度,缺省0.5 |
| `hoverLineWidth?` | *number* | 高亮时线宽,缺省3 |
| `customColorCaseExpr?` | *any*[] | 自定义颜色表达式，必须为数组[条件1，值，条件2，值,...]，如[['==', ['feature-state', 'status'], 'alarm'], '#ff0000', ['==', ['feature-state', 'status'], 'normal'], '#00ff00'],缺省默认 |
| `customOpacityCaseExpr?` | *any*[] | 自定义透明度表达式，必须为数组,缺省默认 |
| `customLineWidthCaseExpr?` | *any*[] | 自定义线宽表达式，必须为数组,缺省默认 |
| `disableHover?` | *boolean* | 禁止hover |

**Returns:** Style

___

#### vectorTileUrl

▸ **vectorTileUrl**(`param?`: [*ITileUrlParam*](#interfacesdefaultitileurlparammd)): *string*

矢量瓦片地址

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `param` | [*ITileUrlParam*](#interfacesdefaultitileurlparammd) | {} |

**Returns:** *string*

___

#### waitMapOpenFinish

▸ **waitMapOpenFinish**(`mapid`: *string*, `version`: *string*, `tryTime?`: *number*, `maxTryTimes?`: *number*): *Promise*<any\>

等待地图打开完成

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `mapid` | *string* | - | 地图ID |
| `version` | *string* | - | 地图版本号 |
| `tryTime` | *number* | 5 | 每次尝试时间间隔(秒) |
| `maxTryTimes` | *number* | 120 | 最大尝试次数 |

**Returns:** *Promise*<any\>

___

#### webMapUrl

▸ **webMapUrl**(`tileProvider`: { `fourParameterAfter?`: *string* ; `fourParameterBefore?`: *string* ; `mapbounds?`: *string* ; `srs?`: *string* ; `tileCrs?`: ``"gcj02"`` \| ``"wgs84"`` ; `tileFlipY?`: *boolean* ; `tileMaxZoom?`: *number* ; `tileRetina?`: *number* ; `tileShards?`: *string* ; `tileSize?`: *number* ; `tileToken?`: *string* \| *string*[] ; `tileUrl`: *string* \| *string*[]  }): *string*

获取服务器地图服务地址

##### Parameters

| Name | Type |
| :------ | :------ |
| `tileProvider` | *object* |
| `tileProvider.fourParameterAfter?` | *string* |
| `tileProvider.fourParameterBefore?` | *string* |
| `tileProvider.mapbounds?` | *string* |
| `tileProvider.srs?` | *string* |
| `tileProvider.tileCrs?` | ``"gcj02"`` \| ``"wgs84"`` |
| `tileProvider.tileFlipY?` | *boolean* |
| `tileProvider.tileMaxZoom?` | *number* |
| `tileProvider.tileRetina?` | *number* |
| `tileProvider.tileShards?` | *string* |
| `tileProvider.tileSize?` | *number* |
| `tileProvider.tileToken?` | *string* \| *string*[] |
| `tileProvider.tileUrl` | *string* \| *string*[] |

**Returns:** *string*

___

#### wmsTileUrl

▸ **wmsTileUrl**(`param`: [*IWmsTileUrl*](#interfacesdefaultiwmstileurlmd)): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | [*IWmsTileUrl*](#interfacesdefaultiwmstileurlmd) |

**Returns:** *string*

___

#### workspaceCreate

▸ **workspaceCreate**(`workspace`: [*IWorkspace*](#interfacesdefaultiworkspacemd)): *Promise*<any\>

创建工作区(默认需要root权限)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `workspace` | [*IWorkspace*](#interfacesdefaultiworkspacemd) | 工作区设置 |

**Returns:** *Promise*<any\>

___

#### workspaceDelete

▸ **workspaceDelete**(`name`: *string*): *Promise*<any\>

删除工作区（会同时删除工作区下面的所有目录文件）(默认需要root权限)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | *string* | 要删除的工作区名称 |

**Returns:** *Promise*<any\>

___

#### workspaceModify

▸ **workspaceModify**(`workspace`: [*IWorkspace*](#interfacesdefaultiworkspacemd)): *Promise*<any\>

修改工作区(默认需要root权限)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `workspace` | [*IWorkspace*](#interfacesdefaultiworkspacemd) | 工作区 |

**Returns:** *Promise*<any\>


<a name="classesskylayermd"></a>

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

## Class: SkyLayer

创建天空图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **SkyLayer**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSkyAtmosphereColor](#getskyatmospherecolor)
- [getSkyAtmosphereHaloColor](#getskyatmospherehalocolor)
- [getSkyAtmosphereSun](#getskyatmospheresun)
- [getSkyAtmosphereSunIntensity](#getskyatmospheresunintensity)
- [getSkyGradient](#getskygradient)
- [getSkyGradientCenter](#getskygradientcenter)
- [getSkyGradientRadius](#getskygradientradius)
- [getSkyOpacity](#getskyopacity)
- [getSkyType](#getskytype)
- [getSourceId](#getsourceid)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setFilter](#setfilter)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [setSkyAtmosphereColor](#setskyatmospherecolor)
- [setSkyAtmosphereHaloColor](#setskyatmospherehalocolor)
- [setSkyAtmosphereSun](#setskyatmospheresun)
- [setSkyAtmosphereSunIntensity](#setskyatmospheresunintensity)
- [setSkyGradient](#setskygradient)
- [setSkyGradientCenter](#setskygradientcenter)
- [setSkyGradientRadius](#setskygradientradius)
- [setSkyOpacity](#setskyopacity)
- [setSkyType](#setskytype)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new SkyLayer**(`options`: [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd)): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd) |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSkyAtmosphereColor

▸ **getSkyAtmosphereColor**(): *string*

**Returns:** *string*

___

#### getSkyAtmosphereHaloColor

▸ **getSkyAtmosphereHaloColor**(): *string*

**Returns:** *string*

___

#### getSkyAtmosphereSun

▸ **getSkyAtmosphereSun**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getSkyAtmosphereSunIntensity

▸ **getSkyAtmosphereSunIntensity**(): *number*

**Returns:** *number*

___

#### getSkyGradient

▸ **getSkyGradient**(): [*ExpressionSpecificationEx*](#expressionspecificationex)

**Returns:** [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### getSkyGradientCenter

▸ **getSkyGradientCenter**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getSkyGradientRadius

▸ **getSkyGradientRadius**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getSkyOpacity

▸ **getSkyOpacity**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getSkyType

▸ **getSkyType**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\>

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setSkyAtmosphereColor

▸ **setSkyAtmosphereColor**(`value`: *string*): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *string* |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyAtmosphereHaloColor

▸ **setSkyAtmosphereHaloColor**(`value`: *string*): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *string* |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyAtmosphereSun

▸ **setSkyAtmosphereSun**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyAtmosphereSunIntensity

▸ **setSkyAtmosphereSunIntensity**(`value`: *number*): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | *number* |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyGradient

▸ **setSkyGradient**(`value`: [*ExpressionSpecificationEx*](#expressionspecificationex)): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*ExpressionSpecificationEx*](#expressionspecificationex) |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyGradientCenter

▸ **setSkyGradientCenter**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyGradientRadius

▸ **setSkyGradientRadius**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyOpacity

▸ **setSkyOpacity**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### setSkyType

▸ **setSkyType**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\>): [*SkyLayer*](#classesdefaultskylayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\> |

**Returns:** [*SkyLayer*](#classesdefaultskylayermd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classessvgoverlaymd"></a>

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

## Class: SvgOverlay

在一个地理范围内创建一个随缩放而缩放的svg的覆盖物，(注：svg覆盖物性能低，不建议大量使用，同时在级别特别大时会导致失真，在倾斜角很大时会导致不可见)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [divOverlay](#divoverlay)
- [elements](#elements)
- [options](#options)

#### Methods

- [addElement](#addelement)
- [addElements](#addelements)
- [addTo](#addto)
- [getElements](#getelements)
- [getSvgContainer](#getsvgcontainer)
- [remove](#remove)
- [removeElements](#removeelements)
- [updateElements](#updateelements)
- [attr\_cx\_cy\_r](#attr_cx_cy_r)
- [attr\_cx\_cy\_rx\_ry](#attr_cx_cy_rx_ry)
- [attr\_fontsize](#attr_fontsize)
- [attr\_length](#attr_length)
- [attr\_path](#attr_path)
- [attr\_point](#attr_point)
- [attr\_points](#attr_points)
- [attr\_x1\_y1\_x2\_y2](#attr_x1_y1_x2_y2)
- [attr\_x\_y](#attr_x_y)
- [attr\_x\_y\_w\_h](#attr_x_y_w_h)

### Constructors

#### constructor

\+ **new SvgOverlay**(`options?`: [*SvgOverlayOptions*](#interfacesdefaultsvgoverlayoptionsmd)): [*SvgOverlay*](#classesdefaultsvgoverlaymd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*SvgOverlayOptions*](#interfacesdefaultsvgoverlayoptionsmd) |

**Returns:** [*SvgOverlay*](#classesdefaultsvgoverlaymd)

### Properties

#### divOverlay

• **divOverlay**: [*DivOverlay*](#classesdefaultdivoverlaymd)

___

#### elements

• **elements**: [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### options

• **options**: [*SvgOverlayOptions*](#interfacesdefaultsvgoverlayoptionsmd)

### Methods

#### addElement

▸ **addElement**(`element`: *string* \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd), `noUpdate?`: *boolean*): *void*

增加svg元素

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `element` | *string* \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd) | 要增加的元素 |
| `noUpdate?` | *boolean* | 不立即更新 |

**Returns:** *void*

___

#### addElements

▸ **addElements**(`elements`: [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[], `noUpdate?`: *boolean*): *void*

增加svg元素

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `elements` | [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[] | 多个元素内容 |
| `noUpdate?` | *boolean* | 不立即更新 |

**Returns:** *void*

___

#### addTo

▸ **addTo**(`map`: *Map*, `insertId?`: *string* \| HTMLElement): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `insertId?` | *string* \| HTMLElement |

**Returns:** *void*

___

#### getElements

▸ **getElements**(): [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

获取所有的元素

**Returns:** [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### getSvgContainer

▸ **getSvgContainer**(): SVGSVGElement

获取svg获取

**Returns:** SVGSVGElement

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

___

#### removeElements

▸ **removeElements**(`id`: *string* \| *string*[]): [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

移动一个元素

##### Parameters

| Name | Type |
| :------ | :------ |
| `id` | *string* \| *string*[] |

**Returns:** [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### updateElements

▸ **updateElements**(`elements`: [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd) \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]): [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

更新一个元素

##### Parameters

| Name | Type |
| :------ | :------ |
| `elements` | [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd) \| [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[] |

**Returns:** [*SvgElementOptions*](#interfacesdefaultsvgelementoptionsmd)[]

___

#### attr\_cx\_cy\_r

▸ `Static` **attr_cx_cy_r**(`cx`: *number*, `cy`: *number*, `r`: *number*): *string*

圆心半径属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `cx` | *number* |
| `cy` | *number* |
| `r` | *number* |

**Returns:** *string*

___

#### attr\_cx\_cy\_rx\_ry

▸ `Static` **attr_cx_cy_rx_ry**(`cx`: *number*, `cy`: *number*, `rx`: *number*, `ry`: *number*): *string*

椭圆心半径属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `cx` | *number* |
| `cy` | *number* |
| `rx` | *number* |
| `ry` | *number* |

**Returns:** *string*

___

#### attr\_fontsize

▸ `Static` **attr_fontsize**(`fontsize`: *number*): *string*

字体属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `fontsize` | *number* |

**Returns:** *string*

___

#### attr\_length

▸ `Static` **attr_length**(`len`: *number*): *string*

和长度有关属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `len` | *number* |

**Returns:** *string*

___

#### attr\_path

▸ `Static` **attr_path**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *string*

路径序列属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *string*

___

#### attr\_point

▸ `Static` **attr_point**(`point`: [*GeoPoint*](#classesdefaultgeopointmd), `joinComma?`: *boolean*): *string*

和点坐标有关属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `joinComma?` | *boolean* |

**Returns:** *string*

___

#### attr\_points

▸ `Static` **attr_points**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *string*

坐标序列属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *string*

___

#### attr\_x1\_y1\_x2\_y2

▸ `Static` **attr_x1_y1_x2_y2**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*): *string*

直线坐标属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `x1` | *number* |
| `y1` | *number* |
| `x2` | *number* |
| `y2` | *number* |

**Returns:** *string*

___

#### attr\_x\_y

▸ `Static` **attr_x_y**(`x`: *number*, `y`: *number*): *string*

坐标属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |

**Returns:** *string*

___

#### attr\_x\_y\_w\_h

▸ `Static` **attr_x_y_w_h**(`x`: *number*, `y`: *number*, `w`: *number*, `h`: *number*): *string*

坐标宽高属性字符串

##### Parameters

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |
| `w` | *number* |
| `h` | *number* |

**Returns:** *string*


<a name="classessymbolmd"></a>

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

## Class: Symbol

创建符号图层.

### Hierarchy

- [*OverlayLayerBase*](#classesdefaultoverlaylayerbasemd)

  ↳ **Symbol**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_map](#_map)
- [layerId](#layerid)
- [options](#options)
- [sourceId](#sourceid)

#### Methods

- [addTo](#addto)
- [clickLayer](#clicklayer)
- [clickPopup](#clickpopup)
- [getData](#getdata)
- [getIconAllowOverlap](#geticonallowoverlap)
- [getIconAnchor](#geticonanchor)
- [getIconColor](#geticoncolor)
- [getIconHaloBlur](#geticonhaloblur)
- [getIconHaloColor](#geticonhalocolor)
- [getIconHaloWidth](#geticonhalowidth)
- [getIconIgnorePlacement](#geticonignoreplacement)
- [getIconImage](#geticonimage)
- [getIconKeepUpright](#geticonkeepupright)
- [getIconOffset](#geticonoffset)
- [getIconOpacity](#geticonopacity)
- [getIconOptional](#geticonoptional)
- [getIconPadding](#geticonpadding)
- [getIconPitchAlignment](#geticonpitchalignment)
- [getIconRotate](#geticonrotate)
- [getIconRotationAlignment](#geticonrotationalignment)
- [getIconSize](#geticonsize)
- [getIconTextFit](#geticontextfit)
- [getIconTextFitPadding](#geticontextfitpadding)
- [getIconTranslate](#geticontranslate)
- [getIconTranslateAnchor](#geticontranslateanchor)
- [getLayerId](#getlayerid)
- [getLayerStyle](#getlayerstyle)
- [getSourceId](#getsourceid)
- [getSymbolAvoidEdges](#getsymbolavoidedges)
- [getSymbolPlacement](#getsymbolplacement)
- [getSymbolSortKey](#getsymbolsortkey)
- [getSymbolSpacing](#getsymbolspacing)
- [getSymbolZOrder](#getsymbolzorder)
- [getTextAllowOverlap](#gettextallowoverlap)
- [getTextAnchor](#gettextanchor)
- [getTextColor](#gettextcolor)
- [getTextField](#gettextfield)
- [getTextFont](#gettextfont)
- [getTextHaloBlur](#gettexthaloblur)
- [getTextHaloColor](#gettexthalocolor)
- [getTextHaloWidth](#gettexthalowidth)
- [getTextIgnorePlacement](#gettextignoreplacement)
- [getTextJustify](#gettextjustify)
- [getTextKeepUpright](#gettextkeepupright)
- [getTextLetterSpacing](#gettextletterspacing)
- [getTextLineHeight](#gettextlineheight)
- [getTextMaxAngle](#gettextmaxangle)
- [getTextMaxWidth](#gettextmaxwidth)
- [getTextOffset](#gettextoffset)
- [getTextOpacity](#gettextopacity)
- [getTextOptional](#gettextoptional)
- [getTextPadding](#gettextpadding)
- [getTextPitchAlignment](#gettextpitchalignment)
- [getTextRadialOffset](#gettextradialoffset)
- [getTextRotate](#gettextrotate)
- [getTextRotationAlignment](#gettextrotationalignment)
- [getTextSize](#gettextsize)
- [getTextTransform](#gettexttransform)
- [getTextTranslate](#gettexttranslate)
- [getTextTranslateAnchor](#gettexttranslateanchor)
- [getTextVariableAnchor](#gettextvariableanchor)
- [getTextWritingMode](#gettextwritingmode)
- [hide](#hide)
- [hoverFeatureState](#hoverfeaturestate)
- [hoverLayer](#hoverlayer)
- [hoverPointer](#hoverpointer)
- [hoverPopup](#hoverpopup)
- [remove](#remove)
- [setData](#setdata)
- [setFilter](#setfilter)
- [setIconAllowOverlap](#seticonallowoverlap)
- [setIconAnchor](#seticonanchor)
- [setIconColor](#seticoncolor)
- [setIconHaloBlur](#seticonhaloblur)
- [setIconHaloColor](#seticonhalocolor)
- [setIconHaloWidth](#seticonhalowidth)
- [setIconIgnorePlacement](#seticonignoreplacement)
- [setIconImage](#seticonimage)
- [setIconKeepUpright](#seticonkeepupright)
- [setIconOffset](#seticonoffset)
- [setIconOpacity](#seticonopacity)
- [setIconOptional](#seticonoptional)
- [setIconPadding](#seticonpadding)
- [setIconPitchAlignment](#seticonpitchalignment)
- [setIconRotate](#seticonrotate)
- [setIconRotationAlignment](#seticonrotationalignment)
- [setIconSize](#seticonsize)
- [setIconTextFit](#seticontextfit)
- [setIconTextFitPadding](#seticontextfitpadding)
- [setIconTranslate](#seticontranslate)
- [setIconTranslateAnchor](#seticontranslateanchor)
- [setLayerStyle](#setlayerstyle)
- [setProperty](#setproperty)
- [setSymbolAvoidEdges](#setsymbolavoidedges)
- [setSymbolPlacement](#setsymbolplacement)
- [setSymbolSortKey](#setsymbolsortkey)
- [setSymbolSpacing](#setsymbolspacing)
- [setSymbolZOrder](#setsymbolzorder)
- [setTextAllowOverlap](#settextallowoverlap)
- [setTextAnchor](#settextanchor)
- [setTextColor](#settextcolor)
- [setTextField](#settextfield)
- [setTextFont](#settextfont)
- [setTextHaloBlur](#settexthaloblur)
- [setTextHaloColor](#settexthalocolor)
- [setTextHaloWidth](#settexthalowidth)
- [setTextIgnorePlacement](#settextignoreplacement)
- [setTextJustify](#settextjustify)
- [setTextKeepUpright](#settextkeepupright)
- [setTextLetterSpacing](#settextletterspacing)
- [setTextLineHeight](#settextlineheight)
- [setTextMaxAngle](#settextmaxangle)
- [setTextMaxWidth](#settextmaxwidth)
- [setTextOffset](#settextoffset)
- [setTextOpacity](#settextopacity)
- [setTextOptional](#settextoptional)
- [setTextPadding](#settextpadding)
- [setTextPitchAlignment](#settextpitchalignment)
- [setTextRadialOffset](#settextradialoffset)
- [setTextRotate](#settextrotate)
- [setTextRotationAlignment](#settextrotationalignment)
- [setTextSize](#settextsize)
- [setTextTransform](#settexttransform)
- [setTextTranslate](#settexttranslate)
- [setTextTranslateAnchor](#settexttranslateanchor)
- [setTextVariableAnchor](#settextvariableanchor)
- [setTextWritingMode](#settextwritingmode)
- [show](#show)
- [toggle](#toggle)

### Constructors

#### constructor

\+ **new Symbol**(`options`: [*SymbolOptions*](#interfacesdefaultsymboloptionsmd)): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*SymbolOptions*](#interfacesdefaultsymboloptionsmd) |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

### Properties

#### \_map

• `Optional` **\_map**: *Map*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[_map](#_map)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[layerId](#layerid)

___

#### options

• **options**: [*SymbolOptions*](#interfacesdefaultsymboloptionsmd)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd).[sourceId](#sourceid)

### Methods

#### addTo

▸ **addTo**(`map`: *Map*, `beforeId?`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *Map* |
| `beforeId?` | *string* |

**Returns:** *void*

Overrides: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickLayer

▸ **clickLayer**(`cb`: *any*): *any*

每当单击这些图层中的要素时都会触发回调。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cb` | *any* | Callback that receives event with .features property |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### clickPopup

▸ **clickPopup**(`htmlFunc`: (`arg0`: {}) => *void*, `popupOptions?`: PopupOptions): *any*

每当单击这些图层中的要素时都会显示一个弹出窗口。

**`example`** clickPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { maxWidth: 500 });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | (`arg0`: {}) => *void* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

A function that removes the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getData

▸ **getData**(): *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

获取数据源的数据

**Returns:** *undefined* \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getIconAllowOverlap

▸ **getIconAllowOverlap**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconAnchor

▸ **getIconAnchor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

___

#### getIconColor

▸ **getIconColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getIconHaloBlur

▸ **getIconHaloBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconHaloColor

▸ **getIconHaloColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getIconHaloWidth

▸ **getIconHaloWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconIgnorePlacement

▸ **getIconIgnorePlacement**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconImage

▸ **getIconImage**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getIconKeepUpright

▸ **getIconKeepUpright**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconOffset

▸ **getIconOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

___

#### getIconOpacity

▸ **getIconOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconOptional

▸ **getIconOptional**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getIconPadding

▸ **getIconPadding**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getIconPitchAlignment

▸ **getIconPitchAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getIconRotate

▸ **getIconRotate**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconRotationAlignment

▸ **getIconRotationAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getIconSize

▸ **getIconSize**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getIconTextFit

▸ **getIconTextFit**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\>

___

#### getIconTextFitPadding

▸ **getIconTextFitPadding**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\>

___

#### getIconTranslate

▸ **getIconTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getIconTranslateAnchor

▸ **getIconTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getLayerId

▸ **getLayerId**(): *undefined* \| *string*

获取图层ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getLayerStyle

▸ **getLayerStyle**(): [*LayerSpecification*](#layerspecification)

根据样式规范，获取给定图层 ID 的图层定义。

**Returns:** [*LayerSpecification*](#layerspecification)

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSourceId

▸ **getSourceId**(): *undefined* \| *string*

获取数据源ID

**Returns:** *undefined* \| *string*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### getSymbolAvoidEdges

▸ **getSymbolAvoidEdges**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getSymbolPlacement

▸ **getSymbolPlacement**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\>

___

#### getSymbolSortKey

▸ **getSymbolSortKey**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getSymbolSpacing

▸ **getSymbolSpacing**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getSymbolZOrder

▸ **getSymbolZOrder**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\>

___

#### getTextAllowOverlap

▸ **getTextAllowOverlap**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextAnchor

▸ **getTextAnchor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>

___

#### getTextColor

▸ **getTextColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getTextField

▸ **getTextField**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getTextFont

▸ **getTextFont**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\>

___

#### getTextHaloBlur

▸ **getTextHaloBlur**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextHaloColor

▸ **getTextHaloColor**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>

___

#### getTextHaloWidth

▸ **getTextHaloWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextIgnorePlacement

▸ **getTextIgnorePlacement**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextJustify

▸ **getTextJustify**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\>

___

#### getTextKeepUpright

▸ **getTextKeepUpright**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextLetterSpacing

▸ **getTextLetterSpacing**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextLineHeight

▸ **getTextLineHeight**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextMaxAngle

▸ **getTextMaxAngle**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getTextMaxWidth

▸ **getTextMaxWidth**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextOffset

▸ **getTextOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>

___

#### getTextOpacity

▸ **getTextOpacity**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextOptional

▸ **getTextOptional**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>

___

#### getTextPadding

▸ **getTextPadding**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>

___

#### getTextPitchAlignment

▸ **getTextPitchAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getTextRadialOffset

▸ **getTextRadialOffset**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextRotate

▸ **getTextRotate**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextRotationAlignment

▸ **getTextRotationAlignment**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>

___

#### getTextSize

▸ **getTextSize**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>

___

#### getTextTransform

▸ **getTextTransform**(): [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\>

**Returns:** [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\>

___

#### getTextTranslate

▸ **getTextTranslate**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>

___

#### getTextTranslateAnchor

▸ **getTextTranslateAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>

___

#### getTextVariableAnchor

▸ **getTextVariableAnchor**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\>

___

#### getTextWritingMode

▸ **getTextWritingMode**(): [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\>

**Returns:** [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\>

___

#### hide

▸ **hide**(): *void*

使给定的图层不可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverFeatureState

▸ **hoverFeatureState**(`enterCb?`: (`arg0`: {}) => *void*, `leaveCb?`: (`arg0`: {}) => *void*): *void*

每当将鼠标悬停在这些图层中的某个特征上时，更新连接源 [s] 中特征的特征状态。

##### Parameters

| Name | Type |
| :------ | :------ |
| `enterCb?` | (`arg0`: {}) => *void* |
| `leaveCb?` | (`arg0`: {}) => *void* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverLayer

▸ **hoverLayer**(`cb`: *any*): *any*

当鼠标悬停在这些图层中的要素上时触发回调。

##### Parameters

| Name | Type |
| :------ | :------ |
| `cb` | *any* |

**Returns:** *any*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPointer

▸ **hoverPointer**(): *void*

每当鼠标悬停在这些图层上时，将地图的光标设置为“指针”。

**Returns:** *void*

A function to remove the handler.

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### hoverPopup

▸ **hoverPopup**(`htmlFunc`: *any*, `popupOptions?`: PopupOptions): *any*

将鼠标悬停在这些图层中的某个要素上时，会显示一个弹出窗口。

**`example`** hoverPopup(f => `<h3>${f.properties.Name}</h3> ${f.properties.Description}`, { anchor: 'left' });

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `htmlFunc` | *any* | Function that receives feature and popup, returns HTML. |
| `popupOptions?` | PopupOptions | Options passed to `Popup()` to customise popup. |

**Returns:** *any*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### remove

▸ **remove**(): *void*

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setData

▸ **setData**(`data`: *any*): *void*

替换 GeoJSON 图层的当前数据。

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | *any* |

**Returns:** *void*

___

#### setFilter

▸ **setFilter**(`filter`: [*FilterSpecification*](#filterspecification)): *void*

替换一个图层的过滤器。

**`example`** setFilter(['==','level','0']]);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `filter` | [*FilterSpecification*](#filterspecification) | New filter to set. |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setIconAllowOverlap

▸ **setIconAllowOverlap**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconAnchor

▸ **setIconAnchor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconColor

▸ **setIconColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconHaloBlur

▸ **setIconHaloBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconHaloColor

▸ **setIconHaloColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconHaloWidth

▸ **setIconHaloWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconIgnorePlacement

▸ **setIconIgnorePlacement**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconImage

▸ **setIconImage**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconKeepUpright

▸ **setIconKeepUpright**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconOffset

▸ **setIconOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconOpacity

▸ **setIconOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconOptional

▸ **setIconOptional**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconPadding

▸ **setIconPadding**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconPitchAlignment

▸ **setIconPitchAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconRotate

▸ **setIconRotate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconRotationAlignment

▸ **setIconRotationAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconSize

▸ **setIconSize**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTextFit

▸ **setIconTextFit**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTextFitPadding

▸ **setIconTextFitPadding**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTranslate

▸ **setIconTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setIconTranslateAnchor

▸ **setIconTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setLayerStyle

▸ **setLayerStyle**(`style`: *any*): *void*

设置图层样式

##### Parameters

| Name | Type |
| :------ | :------ |
| `style` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setProperty

▸ **setProperty**(`prop`: *string* \| *object*, `value?`: *any*): *void*

在一个或多个图层上设置绘制或布局属性。

**`example`** setProperty('fillOpacity', 0.5)

##### Parameters

| Name | Type |
| :------ | :------ |
| `prop` | *string* \| *object* |
| `value?` | *any* |

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### setSymbolAvoidEdges

▸ **setSymbolAvoidEdges**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolPlacement

▸ **setSymbolPlacement**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"line"`` \| ``"point"`` \| ``"line-center"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolSortKey

▸ **setSymbolSortKey**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolSpacing

▸ **setSymbolSpacing**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setSymbolZOrder

▸ **setSymbolZOrder**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"source"`` \| ``"auto"`` \| ``"viewport-y"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextAllowOverlap

▸ **setTextAllowOverlap**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextAnchor

▸ **setTextAnchor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*Anchor*](#anchor)\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextColor

▸ **setTextColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextField

▸ **setTextField**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextFont

▸ **setTextFont**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextHaloBlur

▸ **setTextHaloBlur**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextHaloColor

▸ **setTextHaloColor**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextHaloWidth

▸ **setTextHaloWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextIgnorePlacement

▸ **setTextIgnorePlacement**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextJustify

▸ **setTextJustify**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextKeepUpright

▸ **setTextKeepUpright**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextLetterSpacing

▸ **setTextLetterSpacing**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextLineHeight

▸ **setTextLineHeight**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextMaxAngle

▸ **setTextMaxAngle**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextMaxWidth

▸ **setTextMaxWidth**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextOffset

▸ **setTextOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextOpacity

▸ **setTextOpacity**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextOptional

▸ **setTextOptional**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextPadding

▸ **setTextPadding**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextPitchAlignment

▸ **setTextPitchAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextRadialOffset

▸ **setTextRadialOffset**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextRotate

▸ **setTextRotate**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextRotationAlignment

▸ **setTextRotationAlignment**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextSize

▸ **setTextSize**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextTransform

▸ **setTextTransform**(`value`: [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextTranslate

▸ **setTextTranslate**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextTranslateAnchor

▸ **setTextTranslateAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextVariableAnchor

▸ **setTextVariableAnchor**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*Anchor*](#anchor)[]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### setTextWritingMode

▸ **setTextWritingMode**(`value`: [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\>): [*Symbol*](#classesdefaultsymbolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"vertical"`` \| ``"horizontal"``)[]\> |

**Returns:** [*Symbol*](#classesdefaultsymbolmd)

___

#### show

▸ **show**(): *void*

使给定的图层可见。

**Returns:** *void*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)

___

#### toggle

▸ **toggle**(`state`: *boolean*): *boolean*

根据参数使给定的图层隐藏或可见。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `state` | *boolean* | True for visible, false for hidden. |

**Returns:** *boolean*

Inherited from: [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)


<a name="classestextmd"></a>

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

## Class: Text

创建文本组件.

**`param`**

**`param`** 文字内容

**`param`** 文字样式

**`param`** 用作文本的 DOM 元素。

**`param`** 一个字符串，指示应该放置在最靠近坐标的标记部分。选项有“center”、“top”、“bottom”、“left”、“right”、“top-left”、“top-right”、“top-right” “左下”和“右下”.

**`param`** 作为要应用的对象相对于元素中心的偏移量（以像素为单位）。负数表示向左和向上.

**`param`** 如果未提供`options.element`.

**`param`** 如果未提供`options.element`，则用于默认文本的比例。.

**`param`** 一个布尔值，指示是否可以将文本拖动到地图上的新位置.

**`param`** 用户在单击文本期间可以移动鼠标指针以将其视为有效单击（与文本拖动相反）的最大像素数。默认是继承地图的`clickTolerance`.

**`param`** 文本相对于其各自的“rotationAlignment”设置的旋转角度（以度为单位）。正值将顺时针旋转文本.

**`param`** `map` 将 `Text` 与地图平面对齐。 `viewport` 将 `Text` 与视口平面对齐。 `auto` 自动匹配 `rotationAlignment` 的值.

**`param`** `map` 对齐 `Text` 相对于地图的旋转，在地图旋转时保持方位。 `viewport` 对齐 `Text` 相对于视口的旋转，与地图旋转无关。 `auto` 等价于 `viewport`.

**`example`**
// Create a new Text.
const text = new vjmap.Text({text: "abc“})
    .setLngLat([30.5, 50.5])
    .addTo(map);

**`example`**
// Set text options.
const text = new vjmap.Text({
    text: "abc“,
    draggable: true
}).setLngLat([30.5, 50.5])
    .addTo(map);

### Hierarchy

- *Evented*

  ↳ **Text**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [\_style](#_style)
- [\_textContainerDom](#_textcontainerdom)

#### Methods

- [addTo](#addto)
- [getElement](#getelement)
- [getLngLat](#getlnglat)
- [getMarker](#getmarker)
- [getOffset](#getoffset)
- [getPitchAlignment](#getpitchalignment)
- [getPopup](#getpopup)
- [getRotation](#getrotation)
- [getRotationAlignment](#getrotationalignment)
- [getStyle](#getstyle)
- [getText](#gettext)
- [hide](#hide)
- [isDraggable](#isdraggable)
- [remove](#remove)
- [setAnimation](#setanimation)
- [setCursor](#setcursor)
- [setDraggable](#setdraggable)
- [setLngLat](#setlnglat)
- [setOffset](#setoffset)
- [setPitchAlignment](#setpitchalignment)
- [setPopup](#setpopup)
- [setRotation](#setrotation)
- [setRotationAlignment](#setrotationalignment)
- [setStyle](#setstyle)
- [setText](#settext)
- [show](#show)
- [togglePopup](#togglepopup)

### Constructors

#### constructor

\+ **new Text**(`options?`: [*TextOptions*](#interfacesdefaulttextoptionsmd)): [*Text*](#classesdefaulttextmd)

构造函数

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*TextOptions*](#interfacesdefaulttextoptionsmd) |

**Returns:** [*Text*](#classesdefaulttextmd)

Overrides: Evented.constructor

### Properties

#### \_style

• **\_style**: *object*

___

#### \_textContainerDom

• **\_textContainerDom**: HTMLElement

### Methods

#### addTo

▸ **addTo**(`map`: *Map*): [*Text*](#classesdefaulttextmd)

将 `Text` 附加到 `Map` 对象。

**`example`**
const text = new vjmap.Text({text: "abc"})
    .setLngLat([30.5, 50.5])
    .addTo(map); // add the text to the map

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | *Map* | to add the text to. |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### getElement

▸ **getElement**(): HTMLElement

返回 `Text` 的 HTML 元素。

**`example`**
const element = text.getElement();

**Returns:** HTMLElement

Returns the text element.

___

#### getLngLat

▸ **getLngLat**(): LngLatLike

得到经纬度

**Returns:** LngLatLike

___

#### getMarker

▸ **getMarker**(): *Marker*

返回 `Text` 的 Marker 对象。

**Returns:** *Marker*

___

#### getOffset

▸ **getOffset**(): *number*

获取文本的偏移量.

**Returns:** *number*

The text's screen coordinates in pixels.

___

#### getPitchAlignment

▸ **getPitchAlignment**(): *string*

返回文本的当前 `pitchAlignment` 属性.

**Returns:** *string*

The current pitch alignment of the text in degrees.

___

#### getPopup

▸ **getPopup**(): *Popup*

返回绑定到 `Text` 的 `Popup` 实例。

**Returns:** *Popup*

Returns the popup.

___

#### getRotation

▸ **getRotation**(): *number*

返回文本的当前旋转角度（以度为单位）.

**Returns:** *number*

The current rotation angle of the text.

___

#### getRotationAlignment

▸ **getRotationAlignment**(): *string*

返回文本的当前 `rotationAlignment` 属性.

**Returns:** *string*

The current rotational alignment of the text.

___

#### getStyle

▸ **getStyle**(): *object*

得到文本样式

**Returns:** *object*

___

#### getText

▸ **getText**(): *string*

得到文本内容

**Returns:** *string*

___

#### hide

▸ **hide**(): *void*

隐藏

**Returns:** *void*

___

#### isDraggable

▸ **isDraggable**(): *boolean*

如果可以拖动文本，则返回 true。

**Returns:** *boolean*

True if the text is draggable.

___

#### remove

▸ **remove**(): [*Text*](#classesdefaulttextmd)

从地图中删除文本。

**`example`**
const text = new vjmap.Text().addTo(map);
text.remove();

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setAnimation

▸ **setAnimation**(`animationType`: *string*): *void*

设置动画

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `animationType` | *string* | MAP_ANIMATION_NONE 无动画 MAP_ANIMATION_BOUNCE 弹跳 MAP_ANIMATION_DROP 坠落 |

**Returns:** *void*

___

#### setCursor

▸ **setCursor**(`cur`: *string*): *void*

设置光标

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `cur` | *string* | 光标名称 |

**Returns:** *void*

___

#### setDraggable

▸ **setDraggable**(`shouldBeDraggable`: *boolean*): [*Text*](#classesdefaulttextmd)

设置文本的 `draggable` 属性和功能.

##### Parameters

| Name | Type |
| :------ | :------ |
| `shouldBeDraggable` | *boolean* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setLngLat

▸ **setLngLat**(`lnglat`: LngLatLike): [*Text*](#classesdefaulttextmd)

设置经纬度

##### Parameters

| Name | Type |
| :------ | :------ |
| `lnglat` | LngLatLike |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### setOffset

▸ **setOffset**(`offset`: PointLike): [*Text*](#classesdefaulttextmd)

设置文本的偏移量.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `offset` | PointLike | 以像素为单位的偏移量，作为 PointLike 对象相对于元素的中心应用。负数表示向左和向上。 |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setPitchAlignment

▸ **setPitchAlignment**(`alignment`: *string*): [*Text*](#classesdefaulttextmd)

设置文本的 `pitchAlignment` 属性.

##### Parameters

| Name | Type |
| :------ | :------ |
| `alignment` | *string* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setPopup

▸ **setPopup**(`popup?`: *Popup*): [*Text*](#classesdefaulttextmd)

Binds a `Popup` to the `Text`

##### Parameters

| Name | Type |
| :------ | :------ |
| `popup?` | *Popup* |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### setRotation

▸ **setRotation**(`rotation`: *number*): [*Text*](#classesdefaulttextmd)

Sets the `rotation` property of the text.

##### Parameters

| Name | Type |
| :------ | :------ |
| `rotation` | *number* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setRotationAlignment

▸ **setRotationAlignment**(`alignment`: *string*): [*Text*](#classesdefaulttextmd)

设置文本的 `rotationAlignment` 属性.

##### Parameters

| Name | Type |
| :------ | :------ |
| `alignment` | *string* |

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.

___

#### setStyle

▸ **setStyle**(`style?`: *object*): [*Text*](#classesdefaulttextmd)

设置文本样式

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `style` | *object* | {} |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### setText

▸ **setText**(`txt`: *string*): [*Text*](#classesdefaulttextmd)

设置文本内容

##### Parameters

| Name | Type |
| :------ | :------ |
| `txt` | *string* |

**Returns:** [*Text*](#classesdefaulttextmd)

___

#### show

▸ **show**(): *void*

显示

**Returns:** *void*

___

#### togglePopup

▸ **togglePopup**(): [*Text*](#classesdefaulttextmd)

根据 `Popup` 的当前状态打开或关闭绑定到 `Text` 的 `Popup` 实例.

**Returns:** [*Text*](#classesdefaulttextmd)

Returns itself to allow for method chaining.


<a name="classesthreelayermd"></a>

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

## Class: ThreeLayer

threejs图层.

### Hierarchy

- *Evented*

  ↳ **ThreeLayer**

### Implements

- *CustomLayerInterface*

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [context](#context)
- [id](#id)
- [renderingMode](#renderingmode)
- [type](#type)

#### Methods

- [onAdd](#onadd)
- [onRemove](#onremove)
- [render](#render)

### Constructors

#### constructor

\+ **new ThreeLayer**(`options`: [*ThreeLayerOptions*](#interfacesdefaultthreelayeroptionsmd)): [*ThreeLayer*](#classesdefaultthreelayermd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ThreeLayerOptions*](#interfacesdefaultthreelayeroptionsmd) |

**Returns:** [*ThreeLayer*](#classesdefaultthreelayermd)

Overrides: Evented.constructor

### Properties

#### context

• **context**: [*ThreeJsContext*](#interfacesdefaultthreejscontextmd)

___

#### id

• **id**: *string*

Implementation of: CustomLayerInterface.id

___

#### renderingMode

• `Optional` **renderingMode**: ``"2d"`` \| ``"3d"``

Implementation of: CustomLayerInterface.renderingMode

___

#### type

• **type**: ``"custom"``

Implementation of: CustomLayerInterface.type

### Methods

#### onAdd

▸ **onAdd**(`map`: *any*, `gl`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `gl` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.onAdd

___

#### onRemove

▸ **onRemove**(): *void*

**Returns:** *void*

Implementation of: CustomLayerInterface.onRemove

___

#### render

▸ **render**(`gl`: *any*, `matrix`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | *any* |
| `matrix` | *any* |

**Returns:** *void*

Implementation of: CustomLayerInterface.render


<a name="classeswebsocketeventmd"></a>

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

## Class: WebSocketEvent

### Hierarchy

- **WebSocketEvent**

  ↳ [*ErrorEvent*](#classeserroreventmd)

  ↳ [*CloseEvent*](#classescloseeventmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [target](#target)
- [type](#type)

### Constructors

#### constructor

\+ **new WebSocketEvent**(`type`: *string*, `target`: *any*): [*WebSocketEvent*](#classeswebsocketeventmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *string* |
| `target` | *any* |

**Returns:** [*WebSocketEvent*](#classeswebsocketeventmd)

### Properties

#### target

• **target**: *any*

___

#### type

• **type**: *string*

# Enums


<a name="enumsanimationstatusmd"></a>

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

## Enumeration: AnimationStatus

### Table of contents

#### Enumeration members

- [End](#end)
- [Pause](#pause)
- [Run](#run)
- [Stop](#stop)

### Enumeration members

#### End

• **End**: = 3

结束 (回调函数中返回true).

___

#### Pause

• **Pause**: = 2

暂停.

___

#### Run

• **Run**: = 0

运行.

___

#### Stop

• **Stop**: = 1

停止（用户主动调用stop).


<a name="enumsdbtexthorzmodemd"></a>

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

## Enumeration: DbTextHorzMode

### Table of contents

#### Enumeration members

- [kTextAlign](#ktextalign)
- [kTextCenter](#ktextcenter)
- [kTextFit](#ktextfit)
- [kTextLeft](#ktextleft)
- [kTextMid](#ktextmid)
- [kTextRight](#ktextright)

### Enumeration members

#### kTextAlign

• **kTextAlign**: = 3

___

#### kTextCenter

• **kTextCenter**: = 1

___

#### kTextFit

• **kTextFit**: = 5

___

#### kTextLeft

• **kTextLeft**: = 0

___

#### kTextMid

• **kTextMid**: = 4

___

#### kTextRight

• **kTextRight**: = 2


<a name="enumsdbtextvertmodemd"></a>

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

## Enumeration: DbTextVertMode

### Table of contents

#### Enumeration members

- [kTextBase](#ktextbase)
- [kTextBottom](#ktextbottom)
- [kTextTop](#ktexttop)
- [kTextVertMid](#ktextvertmid)

### Enumeration members

#### kTextBase

• **kTextBase**: = 0

___

#### kTextBottom

• **kTextBottom**: = 1

___

#### kTextTop

• **kTextTop**: = 3

___

#### kTextVertMid

• **kTextVertMid**: = 2


<a name="enumsdefaultdbtexthorzmodemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbTextHorzMode

## Enumeration: DbTextHorzMode

[default](#modulesdefaultmd).DbTextHorzMode

### Table of contents

#### Enumeration members

- [kTextAlign](#ktextalign)
- [kTextCenter](#ktextcenter)
- [kTextFit](#ktextfit)
- [kTextLeft](#ktextleft)
- [kTextMid](#ktextmid)
- [kTextRight](#ktextright)

### Enumeration members

#### kTextAlign

• **kTextAlign**: = 3

___

#### kTextCenter

• **kTextCenter**: = 1

___

#### kTextFit

• **kTextFit**: = 5

___

#### kTextLeft

• **kTextLeft**: = 0

___

#### kTextMid

• **kTextMid**: = 4

___

#### kTextRight

• **kTextRight**: = 2


<a name="enumsdefaultdbtextvertmodemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbTextVertMode

## Enumeration: DbTextVertMode

[default](#modulesdefaultmd).DbTextVertMode

### Table of contents

#### Enumeration members

- [kTextBase](#ktextbase)
- [kTextBottom](#ktextbottom)
- [kTextTop](#ktexttop)
- [kTextVertMid](#ktextvertmid)

### Enumeration members

#### kTextBase

• **kTextBase**: = 0

___

#### kTextBottom

• **kTextBottom**: = 1

___

#### kTextTop

• **kTextTop**: = 3

___

#### kTextVertMid

• **kTextVertMid**: = 2


<a name="enumsdefaultframeanimationstatusmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / FrameAnimationStatus

## Enumeration: FrameAnimationStatus

[default](#modulesdefaultmd).FrameAnimationStatus

### Table of contents

#### Enumeration members

- [End](#end)
- [Pause](#pause)
- [Run](#run)
- [Stop](#stop)

### Enumeration members

#### End

• **End**: = 3

结束 (回调函数中返回true).

___

#### Pause

• **Pause**: = 2

暂停.

___

#### Run

• **Run**: = 0

运行.

___

#### Stop

• **Stop**: = 1

停止（用户主动调用stop).


<a name="enumsdefaultidblinetypestylemethodmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbLinetypeStyleMethod

## Enumeration: IDbLinetypeStyleMethod

[default](#modulesdefaultmd).IDbLinetypeStyleMethod

### Table of contents

#### Enumeration members

- [dashLengthAt](#dashlengthat)
- [isScaledToFit](#isscaledtofit)
- [numDashes](#numdashes)
- [patternLength](#patternlength)
- [shapeNumberAt](#shapenumberat)
- [shapeOffsetAt](#shapeoffsetat)
- [shapeRotationAt](#shaperotationat)
- [shapeScaleAt](#shapescaleat)
- [shapeStyleAt](#shapestyleat)
- [textAt](#textat)

### Enumeration members

#### dashLengthAt

• **dashLengthAt**: = "dashLengthAt"

[int dashIndex, double dashLength ].

___

#### isScaledToFit

• **isScaledToFit**: = "isScaledToFit"

[ bool bScaleToFit] .

___

#### numDashes

• **numDashes**: = "numDashes"

[int count] .

___

#### patternLength

• **patternLength**: = "patternLength"

[double dPatLen] .

___

#### shapeNumberAt

• **shapeNumberAt**: = "shapeNumberAt"

[int dashIndex, int shapeNumber] .

___

#### shapeOffsetAt

• **shapeOffsetAt**: = "shapeOffsetAt"

[int dashIndex, [int, int] shapeOffset] .

___

#### shapeRotationAt

• **shapeRotationAt**: = "shapeRotationAt"

[int dashIndex, double shapeRotation] .

___

#### shapeScaleAt

• **shapeScaleAt**: = "shapeScaleAt"

[ int dashIndex, double shapeScale] .

___

#### shapeStyleAt

• **shapeStyleAt**: = "shapeStyleAt"

[int dashIndex, string idTextStyle] .

___

#### textAt

• **textAt**: = "textAt"

[int dashIndex, string textString] .


<a name="enumsdefaultidbmatrixopnamemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbMatrixOpName

## Enumeration: IDbMatrixOpName

[default](#modulesdefaultmd).IDbMatrixOpName

### Table of contents

#### Enumeration members

- [rotate](#rotate)
- [scale](#scale)
- [translation](#translation)

### Enumeration members

#### rotate

• **rotate**: = "rotate"

rotate.

___

#### scale

• **scale**: = "scale"

缩放 .

___

#### translation

• **translation**: = "translation"

平移 .


<a name="enumsdefaultmapopenwaymd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MapOpenWay

## Enumeration: MapOpenWay

[default](#modulesdefaultmd).MapOpenWay

### Table of contents

#### Enumeration members

- [GeomRender](#geomrender)
- [Memory](#memory)

### Enumeration members

#### GeomRender

• **GeomRender**: = "GeomRender"

存储为几何数据再渲染模式

___

#### Memory

• **Memory**: = "Memory"

内存模式.


<a name="enumsdefaultmtextattachmentpointmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MTextAttachmentPoint

## Enumeration: MTextAttachmentPoint

[default](#modulesdefaultmd).MTextAttachmentPoint

### Table of contents

#### Enumeration members

- [kBaseAlign](#kbasealign)
- [kBaseCenter](#kbasecenter)
- [kBaseFit](#kbasefit)
- [kBaseLeft](#kbaseleft)
- [kBaseMid](#kbasemid)
- [kBaseRight](#kbaseright)
- [kBottomAlign](#kbottomalign)
- [kBottomCenter](#kbottomcenter)
- [kBottomFit](#kbottomfit)
- [kBottomLeft](#kbottomleft)
- [kBottomMid](#kbottommid)
- [kBottomRight](#kbottomright)
- [kMiddleAlign](#kmiddlealign)
- [kMiddleCenter](#kmiddlecenter)
- [kMiddleFit](#kmiddlefit)
- [kMiddleLeft](#kmiddleleft)
- [kMiddleMid](#kmiddlemid)
- [kMiddleRight](#kmiddleright)
- [kTopAlign](#ktopalign)
- [kTopCenter](#ktopcenter)
- [kTopFit](#ktopfit)
- [kTopLeft](#ktopleft)
- [kTopMid](#ktopmid)
- [kTopRight](#ktopright)

### Enumeration members

#### kBaseAlign

• **kBaseAlign**: = 13

___

#### kBaseCenter

• **kBaseCenter**: = 11

___

#### kBaseFit

• **kBaseFit**: = 17

___

#### kBaseLeft

• **kBaseLeft**: = 10

___

#### kBaseMid

• **kBaseMid**: = 21

___

#### kBaseRight

• **kBaseRight**: = 12

___

#### kBottomAlign

• **kBottomAlign**: = 14

___

#### kBottomCenter

• **kBottomCenter**: = 8

___

#### kBottomFit

• **kBottomFit**: = 18

___

#### kBottomLeft

• **kBottomLeft**: = 7

___

#### kBottomMid

• **kBottomMid**: = 22

___

#### kBottomRight

• **kBottomRight**: = 9

___

#### kMiddleAlign

• **kMiddleAlign**: = 15

___

#### kMiddleCenter

• **kMiddleCenter**: = 5

___

#### kMiddleFit

• **kMiddleFit**: = 19

___

#### kMiddleLeft

• **kMiddleLeft**: = 4

___

#### kMiddleMid

• **kMiddleMid**: = 23

___

#### kMiddleRight

• **kMiddleRight**: = 6

___

#### kTopAlign

• **kTopAlign**: = 16

___

#### kTopCenter

• **kTopCenter**: = 2

___

#### kTopFit

• **kTopFit**: = 20

___

#### kTopLeft

• **kTopLeft**: = 1

___

#### kTopMid

• **kTopMid**: = 24

___

#### kTopRight

• **kTopRight**: = 3


<a name="enumsdefaultpoly2dtypemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Poly2dType

## Enumeration: Poly2dType

[default](#modulesdefaultmd).Poly2dType

2d折线类型接口

### Table of contents

#### Enumeration members

- [k2dCubicSplinePoly](#k2dcubicsplinepoly)
- [k2dFitCurvePoly](#k2dfitcurvepoly)
- [k2dQuadSplinePoly](#k2dquadsplinepoly)
- [k2dSimplePoly](#k2dsimplepoly)

### Enumeration members

#### k2dCubicSplinePoly

• **k2dCubicSplinePoly**: = 3

___

#### k2dFitCurvePoly

• **k2dFitCurvePoly**: = 1

___

#### k2dQuadSplinePoly

• **k2dQuadSplinePoly**: = 2

___

#### k2dSimplePoly

• **k2dSimplePoly**: = 0


<a name="enumsdefaultpoly3dtypemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Poly3dType

## Enumeration: Poly3dType

[default](#modulesdefaultmd).Poly3dType

3d折线类型接口

### Table of contents

#### Enumeration members

- [k3dCubicSplinePoly](#k3dcubicsplinepoly)
- [k3dQuadSplinePoly](#k3dquadsplinepoly)
- [k3dSimplePoly](#k3dsimplepoly)

### Enumeration members

#### k3dCubicSplinePoly

• **k3dCubicSplinePoly**: = 2

___

#### k3dQuadSplinePoly

• **k3dQuadSplinePoly**: = 1

___

#### k3dSimplePoly

• **k3dSimplePoly**: = 0


<a name="enumsdefaultrasterimageunitsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / RasterImageUnits

## Enumeration: RasterImageUnits

[default](#modulesdefaultmd).RasterImageUnits

### Table of contents

#### Enumeration members

- [kAngstroms](#kangstroms)
- [kAstronomical](#kastronomical)
- [kCentimeter](#kcentimeter)
- [kDecimeters](#kdecimeters)
- [kDekameters](#kdekameters)
- [kFoot](#kfoot)
- [kGigameters](#kgigameters)
- [kHectometers](#khectometers)
- [kInch](#kinch)
- [kKilometer](#kkilometer)
- [kLightYears](#klightyears)
- [kMeter](#kmeter)
- [kMicroinches](#kmicroinches)
- [kMicrons](#kmicrons)
- [kMile](#kmile)
- [kMillimeter](#kmillimeter)
- [kMils](#kmils)
- [kNanometers](#knanometers)
- [kNone](#knone)
- [kParsecs](#kparsecs)
- [kYard](#kyard)

### Enumeration members

#### kAngstroms

• **kAngstroms**: = 11

Angstroms (10^-10 of a meter or ten-billionths of a meter) are used.

___

#### kAstronomical

• **kAstronomical**: = 18

Astronominal units (149597870700 meters) are used.

___

#### kCentimeter

• **kCentimeter**: = 2

Centimeters are used.

___

#### kDecimeters

• **kDecimeters**: = 14

Decimeters are used.

___

#### kDekameters

• **kDekameters**: = 15

Dekameters (10 meters) are used.

___

#### kFoot

• **kFoot**: = 6

Foots are used.

___

#### kGigameters

• **kGigameters**: = 17

Gigameters (10^9 meters) are used.

___

#### kHectometers

• **kHectometers**: = 16

Hectometers (10^2 meters) are used.

___

#### kInch

• **kInch**: = 5

Inches are used.

___

#### kKilometer

• **kKilometer**: = 4

Kilometers are used.

___

#### kLightYears

• **kLightYears**: = 19

Light years (9460730472580800 meters) are used.

___

#### kMeter

• **kMeter**: = 3

Meters are used.

___

#### kMicroinches

• **kMicroinches**: = 9

Microinches are used.

___

#### kMicrons

• **kMicrons**: = 13

Microns are used.

___

#### kMile

• **kMile**: = 8

Miles are used.

___

#### kMillimeter

• **kMillimeter**: = 1

Millimeters are used.

___

#### kMils

• **kMils**: = 10

Mils (thousandths of an inch) are used.

___

#### kNanometers

• **kNanometers**: = 12

Nanometers are used.

___

#### kNone

• **kNone**: = 0

No measurement units are used.

___

#### kParsecs

• **kParsecs**: = 20

Parsecs (approx 3.261563777 light years) are used.

___

#### kYard

• **kYard**: = 7

Yards are used.


<a name="enumsdefaulttablecellalignmentmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / TableCellAlignment

## Enumeration: TableCellAlignment

[default](#modulesdefaultmd).TableCellAlignment

表格单元格对齐方式

### Table of contents

#### Enumeration members

- [kBottomCenter](#kbottomcenter)
- [kBottomLeft](#kbottomleft)
- [kBottomRight](#kbottomright)
- [kMiddleCenter](#kmiddlecenter)
- [kMiddleLeft](#kmiddleleft)
- [kMiddleRight](#kmiddleright)
- [kTopCenter](#ktopcenter)
- [kTopLeft](#ktopleft)
- [kTopRight](#ktopright)

### Enumeration members

#### kBottomCenter

• **kBottomCenter**: = 8

___

#### kBottomLeft

• **kBottomLeft**: = 7

___

#### kBottomRight

• **kBottomRight**: = 9

___

#### kMiddleCenter

• **kMiddleCenter**: = 5

___

#### kMiddleLeft

• **kMiddleLeft**: = 4

___

#### kMiddleRight

• **kMiddleRight**: = 6

___

#### kTopCenter

• **kTopCenter**: = 2

___

#### kTopLeft

• **kTopLeft**: = 1

___

#### kTopRight

• **kTopRight**: = 3


<a name="enumsframeanimationstatusmd"></a>

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

## Enumeration: FrameAnimationStatus

### Table of contents

#### Enumeration members

- [End](#end)
- [Pause](#pause)
- [Run](#run)
- [Stop](#stop)

### Enumeration members

#### End

• **End**: = 3

结束 (回调函数中返回true).

___

#### Pause

• **Pause**: = 2

暂停.

___

#### Run

• **Run**: = 0

运行.

___

#### Stop

• **Stop**: = 1

停止（用户主动调用stop).


<a name="enumsidblinetypestylemethodmd"></a>

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

## Enumeration: IDbLinetypeStyleMethod

### Table of contents

#### Enumeration members

- [dashLengthAt](#dashlengthat)
- [isScaledToFit](#isscaledtofit)
- [numDashes](#numdashes)
- [patternLength](#patternlength)
- [shapeNumberAt](#shapenumberat)
- [shapeOffsetAt](#shapeoffsetat)
- [shapeRotationAt](#shaperotationat)
- [shapeScaleAt](#shapescaleat)
- [shapeStyleAt](#shapestyleat)
- [textAt](#textat)

### Enumeration members

#### dashLengthAt

• **dashLengthAt**: = "dashLengthAt"

[int dashIndex, double dashLength ].

___

#### isScaledToFit

• **isScaledToFit**: = "isScaledToFit"

[ bool bScaleToFit] .

___

#### numDashes

• **numDashes**: = "numDashes"

[int count] .

___

#### patternLength

• **patternLength**: = "patternLength"

[double dPatLen] .

___

#### shapeNumberAt

• **shapeNumberAt**: = "shapeNumberAt"

[int dashIndex, int shapeNumber] .

___

#### shapeOffsetAt

• **shapeOffsetAt**: = "shapeOffsetAt"

[int dashIndex, [int, int] shapeOffset] .

___

#### shapeRotationAt

• **shapeRotationAt**: = "shapeRotationAt"

[int dashIndex, double shapeRotation] .

___

#### shapeScaleAt

• **shapeScaleAt**: = "shapeScaleAt"

[ int dashIndex, double shapeScale] .

___

#### shapeStyleAt

• **shapeStyleAt**: = "shapeStyleAt"

[int dashIndex, string idTextStyle] .

___

#### textAt

• **textAt**: = "textAt"

[int dashIndex, string textString] .


<a name="enumsidbmatrixopnamemd"></a>

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

## Enumeration: IDbMatrixOpName

### Table of contents

#### Enumeration members

- [rotate](#rotate)
- [scale](#scale)
- [translation](#translation)

### Enumeration members

#### rotate

• **rotate**: = "rotate"

rotate.

___

#### scale

• **scale**: = "scale"

缩放 .

___

#### translation

• **translation**: = "translation"

平移 .


<a name="enumsmapopenwaymd"></a>

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

## Enumeration: MapOpenWay

### Table of contents

#### Enumeration members

- [GeomRender](#geomrender)
- [Memory](#memory)

### Enumeration members

#### GeomRender

• **GeomRender**: = "GeomRender"

存储为几何数据再渲染模式

___

#### Memory

• **Memory**: = "Memory"

内存模式.


<a name="enumsmtextattachmentpointmd"></a>

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

## Enumeration: MTextAttachmentPoint

### Table of contents

#### Enumeration members

- [kBaseAlign](#kbasealign)
- [kBaseCenter](#kbasecenter)
- [kBaseFit](#kbasefit)
- [kBaseLeft](#kbaseleft)
- [kBaseMid](#kbasemid)
- [kBaseRight](#kbaseright)
- [kBottomAlign](#kbottomalign)
- [kBottomCenter](#kbottomcenter)
- [kBottomFit](#kbottomfit)
- [kBottomLeft](#kbottomleft)
- [kBottomMid](#kbottommid)
- [kBottomRight](#kbottomright)
- [kMiddleAlign](#kmiddlealign)
- [kMiddleCenter](#kmiddlecenter)
- [kMiddleFit](#kmiddlefit)
- [kMiddleLeft](#kmiddleleft)
- [kMiddleMid](#kmiddlemid)
- [kMiddleRight](#kmiddleright)
- [kTopAlign](#ktopalign)
- [kTopCenter](#ktopcenter)
- [kTopFit](#ktopfit)
- [kTopLeft](#ktopleft)
- [kTopMid](#ktopmid)
- [kTopRight](#ktopright)

### Enumeration members

#### kBaseAlign

• **kBaseAlign**: = 13

___

#### kBaseCenter

• **kBaseCenter**: = 11

___

#### kBaseFit

• **kBaseFit**: = 17

___

#### kBaseLeft

• **kBaseLeft**: = 10

___

#### kBaseMid

• **kBaseMid**: = 21

___

#### kBaseRight

• **kBaseRight**: = 12

___

#### kBottomAlign

• **kBottomAlign**: = 14

___

#### kBottomCenter

• **kBottomCenter**: = 8

___

#### kBottomFit

• **kBottomFit**: = 18

___

#### kBottomLeft

• **kBottomLeft**: = 7

___

#### kBottomMid

• **kBottomMid**: = 22

___

#### kBottomRight

• **kBottomRight**: = 9

___

#### kMiddleAlign

• **kMiddleAlign**: = 15

___

#### kMiddleCenter

• **kMiddleCenter**: = 5

___

#### kMiddleFit

• **kMiddleFit**: = 19

___

#### kMiddleLeft

• **kMiddleLeft**: = 4

___

#### kMiddleMid

• **kMiddleMid**: = 23

___

#### kMiddleRight

• **kMiddleRight**: = 6

___

#### kTopAlign

• **kTopAlign**: = 16

___

#### kTopCenter

• **kTopCenter**: = 2

___

#### kTopFit

• **kTopFit**: = 20

___

#### kTopLeft

• **kTopLeft**: = 1

___

#### kTopMid

• **kTopMid**: = 24

___

#### kTopRight

• **kTopRight**: = 3


<a name="enumspoly2dtypemd"></a>

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

## Enumeration: Poly2dType

2d折线类型接口

### Table of contents

#### Enumeration members

- [k2dCubicSplinePoly](#k2dcubicsplinepoly)
- [k2dFitCurvePoly](#k2dfitcurvepoly)
- [k2dQuadSplinePoly](#k2dquadsplinepoly)
- [k2dSimplePoly](#k2dsimplepoly)

### Enumeration members

#### k2dCubicSplinePoly

• **k2dCubicSplinePoly**: = 3

___

#### k2dFitCurvePoly

• **k2dFitCurvePoly**: = 1

___

#### k2dQuadSplinePoly

• **k2dQuadSplinePoly**: = 2

___

#### k2dSimplePoly

• **k2dSimplePoly**: = 0


<a name="enumspoly3dtypemd"></a>

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

## Enumeration: Poly3dType

3d折线类型接口

### Table of contents

#### Enumeration members

- [k3dCubicSplinePoly](#k3dcubicsplinepoly)
- [k3dQuadSplinePoly](#k3dquadsplinepoly)
- [k3dSimplePoly](#k3dsimplepoly)

### Enumeration members

#### k3dCubicSplinePoly

• **k3dCubicSplinePoly**: = 2

___

#### k3dQuadSplinePoly

• **k3dQuadSplinePoly**: = 1

___

#### k3dSimplePoly

• **k3dSimplePoly**: = 0


<a name="enumsrasterimageunitsmd"></a>

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

## Enumeration: RasterImageUnits

### Table of contents

#### Enumeration members

- [kAngstroms](#kangstroms)
- [kAstronomical](#kastronomical)
- [kCentimeter](#kcentimeter)
- [kDecimeters](#kdecimeters)
- [kDekameters](#kdekameters)
- [kFoot](#kfoot)
- [kGigameters](#kgigameters)
- [kHectometers](#khectometers)
- [kInch](#kinch)
- [kKilometer](#kkilometer)
- [kLightYears](#klightyears)
- [kMeter](#kmeter)
- [kMicroinches](#kmicroinches)
- [kMicrons](#kmicrons)
- [kMile](#kmile)
- [kMillimeter](#kmillimeter)
- [kMils](#kmils)
- [kNanometers](#knanometers)
- [kNone](#knone)
- [kParsecs](#kparsecs)
- [kYard](#kyard)

### Enumeration members

#### kAngstroms

• **kAngstroms**: = 11

Angstroms (10^-10 of a meter or ten-billionths of a meter) are used.

___

#### kAstronomical

• **kAstronomical**: = 18

Astronominal units (149597870700 meters) are used.

___

#### kCentimeter

• **kCentimeter**: = 2

Centimeters are used.

___

#### kDecimeters

• **kDecimeters**: = 14

Decimeters are used.

___

#### kDekameters

• **kDekameters**: = 15

Dekameters (10 meters) are used.

___

#### kFoot

• **kFoot**: = 6

Foots are used.

___

#### kGigameters

• **kGigameters**: = 17

Gigameters (10^9 meters) are used.

___

#### kHectometers

• **kHectometers**: = 16

Hectometers (10^2 meters) are used.

___

#### kInch

• **kInch**: = 5

Inches are used.

___

#### kKilometer

• **kKilometer**: = 4

Kilometers are used.

___

#### kLightYears

• **kLightYears**: = 19

Light years (9460730472580800 meters) are used.

___

#### kMeter

• **kMeter**: = 3

Meters are used.

___

#### kMicroinches

• **kMicroinches**: = 9

Microinches are used.

___

#### kMicrons

• **kMicrons**: = 13

Microns are used.

___

#### kMile

• **kMile**: = 8

Miles are used.

___

#### kMillimeter

• **kMillimeter**: = 1

Millimeters are used.

___

#### kMils

• **kMils**: = 10

Mils (thousandths of an inch) are used.

___

#### kNanometers

• **kNanometers**: = 12

Nanometers are used.

___

#### kNone

• **kNone**: = 0

No measurement units are used.

___

#### kParsecs

• **kParsecs**: = 20

Parsecs (approx 3.261563777 light years) are used.

___

#### kYard

• **kYard**: = 7

Yards are used.


<a name="enumstablecellalignmentmd"></a>

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

## Enumeration: TableCellAlignment

表格单元格对齐方式

### Table of contents

#### Enumeration members

- [kBottomCenter](#kbottomcenter)
- [kBottomLeft](#kbottomleft)
- [kBottomRight](#kbottomright)
- [kMiddleCenter](#kmiddlecenter)
- [kMiddleLeft](#kmiddleleft)
- [kMiddleRight](#kmiddleright)
- [kTopCenter](#ktopcenter)
- [kTopLeft](#ktopleft)
- [kTopRight](#ktopright)

### Enumeration members

#### kBottomCenter

• **kBottomCenter**: = 8

___

#### kBottomLeft

• **kBottomLeft**: = 7

___

#### kBottomRight

• **kBottomRight**: = 9

___

#### kMiddleCenter

• **kMiddleCenter**: = 5

___

#### kMiddleLeft

• **kMiddleLeft**: = 4

___

#### kMiddleRight

• **kMiddleRight**: = 6

___

#### kTopCenter

• **kTopCenter**: = 2

___

#### kTopLeft

• **kTopLeft**: = 1

___

#### kTopRight

• **kTopRight**: = 3

# Interfaces


<a name="interfacesanimatemd"></a>

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

## Interface: Animate<V\>

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [flipTarget](#fliptarget)
- [next](#next)

### Properties

#### flipTarget

• **flipTarget**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### next

• **next**: (`t`: *number*) => { `done`: *boolean* ; `value`: V  }

##### Type declaration

▸ (`t`: *number*): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `t` | *number* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `done` | *boolean* |
| `value` | V |


<a name="interfacesanimatemarkerlayeroptionmd"></a>

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

## Interface: AnimateMarkerLayerOption

### Table of contents

#### Properties

- [colors](#colors)
- [height](#height)
- [textColor](#textcolor)
- [textField](#textfield)
- [textFontSize](#textfontsize)
- [type](#type)
- [width](#width)

### Properties

#### colors

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

___

#### height

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

___

#### textColor

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

___

#### textField

• `Optional` **textField**: *string*

___

#### textFontSize

• `Optional` **textFontSize**: *number*

___

#### type

• `Optional` **type**: ``"breathingAperture"`` \| ``"rotatingAperture"`` \| ``"haloRing"`` \| ``"diffusedAperture"`` \| ``"rotatingTextBorder"`` \| ``"fluorescence"``

___

#### width

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


<a name="interfacesanimationmd"></a>

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

## Interface: Animation<V\>

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [flipTarget](#fliptarget)
- [next](#next)

### Properties

#### flipTarget

• **flipTarget**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### next

• **next**: (`t`: *number*) => { `done`: *boolean* ; `value`: V  }

##### Type declaration

▸ (`t`: *number*): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `t` | *number* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `done` | *boolean* |
| `value` | V |


<a name="interfacesanimationstatemd"></a>

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

## Interface: AnimationState<V\>

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [done](#done)
- [value](#value)

### Properties

#### done

• **done**: *boolean*

___

#### value

• **value**: V


<a name="interfacesbackgroundlayeroptionsmd"></a>

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

## Interface: BackgroundLayerOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **BackgroundLayerOptions**

### Table of contents

#### Properties

- [backgroundColor](#backgroundcolor)
- [backgroundOpacity](#backgroundopacity)
- [backgroundPattern](#backgroundpattern)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### backgroundColor

• `Optional` **backgroundColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  }

___

#### backgroundOpacity

• `Optional` **backgroundOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### backgroundPattern

• `Optional` **backgroundPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  }

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacescircleedgeoptionsmd"></a>

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

## Interface: CircleEdgeOptions

### Hierarchy

- [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

  ↳ **CircleEdgeOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [radius](#radius)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineWidth](#linewidth)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### radius

• **radius**: *number*

半径

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[visibility](#visibility)


<a name="interfacescirclefilloptionsmd"></a>

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

## Interface: CircleFillOptions

### Hierarchy

- [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

  ↳ **CircleFillOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [radius](#radius)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

终止角度

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillAntialias](#fillantialias)

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillColor](#fillcolor)

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOpacity](#fillopacity)

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOutlineColor](#filloutlinecolor)

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillPattern](#fillpattern)

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillSortKey](#fillsortkey)

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslate](#filltranslate)

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslateAnchor](#filltranslateanchor)

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

离散化的点的个数

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### radius

• **radius**: *number*

半径

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[visibility](#visibility)


<a name="interfacescircleoptionsmd"></a>

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

## Interface: CircleOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **CircleOptions**

### Table of contents

#### Properties

- [circleBlur](#circleblur)
- [circleColor](#circlecolor)
- [circleOpacity](#circleopacity)
- [circlePitchAlignment](#circlepitchalignment)
- [circlePitchScale](#circlepitchscale)
- [circleRadius](#circleradius)
- [circleSortKey](#circlesortkey)
- [circleStrokeColor](#circlestrokecolor)
- [circleStrokeOpacity](#circlestrokeopacity)
- [circleStrokeWidth](#circlestrokewidth)
- [circleTranslate](#circletranslate)
- [circleTranslateAnchor](#circletranslateanchor)
- [data](#data)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### circleBlur

• `Optional` **circleBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleColor

• `Optional` **circleColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### circleOpacity

• `Optional` **circleOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circlePitchAlignment

• `Optional` **circlePitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### circlePitchScale

• `Optional` **circlePitchScale**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### circleRadius

• `Optional` **circleRadius**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleSortKey

• `Optional` **circleSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleStrokeColor

• `Optional` **circleStrokeColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### circleStrokeOpacity

• `Optional` **circleStrokeOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleStrokeWidth

• `Optional` **circleStrokeWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleTranslate

• `Optional` **circleTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### circleTranslateAnchor

• `Optional` **circleTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesconfigmd"></a>

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

## Interface: Config<T\>

### Type parameters

| Name | Default |
| :------ | :------ |
| `T` | *unknown* |

### Table of contents

#### Properties

- [abort](#abort)
- [data](#data)
- [dump](#dump)
- [events](#events)
- [headers](#headers)
- [load](#load)
- [method](#method)
- [params](#params)
- [promise](#promise)
- [raw](#raw)
- [url](#url)
- [withCredentials](#withcredentials)
- [xmlHttpRequest](#xmlhttprequest)

### Properties

#### abort

• `Optional` **abort**: *any*

___

#### data

• `Optional` **data**: *string* \| Document \| Blob \| ArrayBufferView \| ArrayBuffer \| FormData \| URLSearchParams \| *ReadableStream*<Uint8Array\>

___

#### dump

• **dump**: (`data`: T) => *string*

##### Type declaration

▸ (`data`: T): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | T |

**Returns:** *string*

___

#### events

• `Optional` **events**: *object*

##### Type declaration

___

#### headers

• **headers**: *object*

##### Type declaration

___

#### load

• **load**: (`str`: *string*) => T

##### Type declaration

▸ (`str`: *string*): T

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** T

___

#### method

• **method**: ``"GET"`` \| ``"POST"`` \| ``"PUT"`` \| ``"DELETE"`` \| ``"PATCH"`` \| ``"OPTIONS"`` \| ``"HEAD"``

___

#### params

• `Optional` **params**: *string* \| URLSearchParams \| *string*[][] \| *Record*<string, string\>

___

#### promise

• **promise**: (`fn`: () => *Promise*<unknown\>) => *Promise*<unknown\>

##### Type declaration

▸ (`fn`: () => *Promise*<unknown\>): *Promise*<unknown\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `fn` | () => *Promise*<unknown\> |

**Returns:** *Promise*<unknown\>

___

#### raw

• `Optional` **raw**: *boolean*

___

#### url

• `Optional` **url**: *string*

___

#### withCredentials

• **withCredentials**: *boolean*

___

#### xmlHttpRequest

• **xmlHttpRequest**: () => XMLHttpRequest

##### Type declaration

▸ (): XMLHttpRequest

**Returns:** XMLHttpRequest


<a name="interfacescontextmenuoptionsmd"></a>

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

## Interface: ContextMenuOptions

上下文菜单选项.

### Table of contents

#### Properties

- [event](#event)
- [innerHeight](#innerheight)
- [innerWidth](#innerwidth)
- [items](#items)
- [theme](#theme)
- [width](#width)

### Properties

#### event

• **event**: Event

事件对象.

___

#### innerHeight

• `Optional` **innerHeight**: *number*

菜单外面容器的内部宽，用于菜单超时范围时自动调位置，默认是window大小高 可通过 map.getContainer().getBoundingClientRect().height来设置

___

#### innerWidth

• `Optional` **innerWidth**: *number*

菜单外面容器的内部宽，用于菜单超时范围时自动调位置，默认是window大小宽 可通过 map.getContainer().getBoundingClientRect().width来设置

___

#### items

• **items**: [*ContextMenuSubItemOptions*](#interfacesdefaultcontextmenusubitemoptionsmd)[]

子项

___

#### theme

• `Optional` **theme**: *string*

菜单主题色.(dark和light,默认dark)

___

#### width

• `Optional` **width**: *string*

菜单宽度（包括子菜单),像素，默认150px.


<a name="interfacescontextmenusubitemoptionsmd"></a>

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

## Interface: ContextMenuSubItemOptions

上下文菜单子项选项.

### Table of contents

#### Properties

- [cssIcon](#cssicon)
- [enabled](#enabled)
- [icon](#icon)
- [items](#items)
- [label](#label)
- [markup](#markup)
- [onClick](#onclick)
- [shortcut](#shortcut)
- [type](#type)

### Properties

#### cssIcon

• `Optional` **cssIcon**: *string*

css图标

___

#### enabled

• `Optional` **enabled**: *boolean*

是否能用

___

#### icon

• `Optional` **icon**: *string*

图标

___

#### items

• `Optional` **items**: [*ContextMenuSubItemOptions*](#interfacesdefaultcontextmenusubitemoptionsmd)[]

类型为'multi'时子菜单项

___

#### label

• `Optional` **label**: *string*

菜单名称

___

#### markup

• `Optional` **markup**: *string*

类型为'custom'时的自定义html内容

___

#### onClick

• `Optional` **onClick**: Function

点击事件

___

#### shortcut

• `Optional` **shortcut**: *string*

快捷菜单

___

#### type

• `Optional` **type**: ``"custom"`` \| ``"multi"`` \| ``"Button"`` \| ``"seperator"`` \| ``"submenu"`` \| ``"hovermenu"`` \| ``"normal"``

子菜单类型.


<a name="interfacescreatemarkeroptionsmd"></a>

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

## Interface: createMarkerOptions

### Hierarchy

- *MarkerOptions*

  ↳ **createMarkerOptions**

### Table of contents

#### Properties

- [height](#height)
- [lngLat](#lnglat)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [removeWhenNoInMapView](#removewhennoinmapview)
- [removeWhenNoInMapViewPadding](#removewhennoinmapviewpadding)
- [scaleMaxZoom](#scalemaxzoom)

### Properties

#### height

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

高度值.

___

#### lngLat

• `Optional` **lngLat**: [*number*, *number*] \| *LngLat* \| {} \| {}

LngLat值.

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示的最大级别.

___

#### minZoom

• `Optional` **minZoom**: *number*

显示的最小级别.

___

#### removeWhenNoInMapView

• `Optional` **removeWhenNoInMapView**: *boolean*

设置当marker不在当前地图视图范围内时，将自动移除。进入视图范围内时，将自动增加上

___

#### removeWhenNoInMapViewPadding

• `Optional` **removeWhenNoInMapViewPadding**: *number*

设置当marker不在当前地图视图范围内时，将自动移除。范围向外扩的像素范围，默认500px，向视图范围往外扩些像素，在平移的时候，能看到marker，体验效果好些。

___

#### scaleMaxZoom

• `Optional` **scaleMaxZoom**: *number*

设置能缩放的最大级别。如果小于这个级别，div将根据缩小级别自动缩小比例。默认不会自动缩放


<a name="interfacesdecayoptionsmd"></a>

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

## Interface: DecayOptions

### Table of contents

#### Properties

- [from](#from)
- [modifyTarget](#modifytarget)
- [power](#power)
- [restDelta](#restdelta)
- [timeConstant](#timeconstant)
- [to](#to)
- [velocity](#velocity)

### Properties

#### from

• `Optional` **from**: *number*

___

#### modifyTarget

• `Optional` **modifyTarget**: (`target`: *number*) => *number*

##### Type declaration

▸ (`target`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *number* |

**Returns:** *number*

___

#### power

• `Optional` **power**: *number*

___

#### restDelta

• `Optional` **restDelta**: *number*

___

#### timeConstant

• `Optional` **timeConstant**: *number*

___

#### to

• `Optional` **to**: *number*

___

#### velocity

• `Optional` **velocity**: *number*


<a name="interfacesdefaultanimatemarkerlayeroptionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / AnimateMarkerLayerOption

## Interface: AnimateMarkerLayerOption

[default](#modulesdefaultmd).AnimateMarkerLayerOption

### Table of contents

#### Properties

- [colors](#colors)
- [height](#height)
- [textColor](#textcolor)
- [textField](#textfield)
- [textFontSize](#textfontsize)
- [type](#type)
- [width](#width)

### Properties

#### colors

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

___

#### height

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

___

#### textColor

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

___

#### textField

• `Optional` **textField**: *string*

___

#### textFontSize

• `Optional` **textFontSize**: *number*

___

#### type

• `Optional` **type**: ``"breathingAperture"`` \| ``"rotatingAperture"`` \| ``"haloRing"`` \| ``"diffusedAperture"`` \| ``"rotatingTextBorder"`` \| ``"fluorescence"``

___

#### width

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


<a name="interfacesdefaultanimationmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Animation

## Interface: Animation<V\>

[default](#modulesdefaultmd).Animation

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [flipTarget](#fliptarget)
- [next](#next)

### Properties

#### flipTarget

• **flipTarget**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### next

• **next**: (`t`: *number*) => { `done`: *boolean* ; `value`: V  }

##### Type declaration

▸ (`t`: *number*): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `t` | *number* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `done` | *boolean* |
| `value` | V |


<a name="interfacesdefaultanimationstatemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / AnimationState

## Interface: AnimationState<V\>

[default](#modulesdefaultmd).AnimationState

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [done](#done)
- [value](#value)

### Properties

#### done

• **done**: *boolean*

___

#### value

• **value**: V


<a name="interfacesdefaultbackgroundlayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / BackgroundLayerOptions

## Interface: BackgroundLayerOptions

[default](#modulesdefaultmd).BackgroundLayerOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **BackgroundLayerOptions**

### Table of contents

#### Properties

- [backgroundColor](#backgroundcolor)
- [backgroundOpacity](#backgroundopacity)
- [backgroundPattern](#backgroundpattern)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### backgroundColor

• `Optional` **backgroundColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  }

___

#### backgroundOpacity

• `Optional` **backgroundOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### backgroundPattern

• `Optional` **backgroundPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  }

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultcircleedgeoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / CircleEdgeOptions

## Interface: CircleEdgeOptions

[default](#modulesdefaultmd).CircleEdgeOptions

### Hierarchy

- [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

  ↳ **CircleEdgeOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [radius](#radius)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineWidth](#linewidth)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### radius

• **radius**: *number*

半径

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultcirclefilloptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / CircleFillOptions

## Interface: CircleFillOptions

[default](#modulesdefaultmd).CircleFillOptions

### Hierarchy

- [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

  ↳ **CircleFillOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [radius](#radius)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

终止角度

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillAntialias](#fillantialias)

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillColor](#fillcolor)

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOpacity](#fillopacity)

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOutlineColor](#filloutlinecolor)

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillPattern](#fillpattern)

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillSortKey](#fillsortkey)

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslate](#filltranslate)

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslateAnchor](#filltranslateanchor)

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

离散化的点的个数

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### radius

• **radius**: *number*

半径

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultcircleoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / CircleOptions

## Interface: CircleOptions

[default](#modulesdefaultmd).CircleOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **CircleOptions**

### Table of contents

#### Properties

- [circleBlur](#circleblur)
- [circleColor](#circlecolor)
- [circleOpacity](#circleopacity)
- [circlePitchAlignment](#circlepitchalignment)
- [circlePitchScale](#circlepitchscale)
- [circleRadius](#circleradius)
- [circleSortKey](#circlesortkey)
- [circleStrokeColor](#circlestrokecolor)
- [circleStrokeOpacity](#circlestrokeopacity)
- [circleStrokeWidth](#circlestrokewidth)
- [circleTranslate](#circletranslate)
- [circleTranslateAnchor](#circletranslateanchor)
- [data](#data)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### circleBlur

• `Optional` **circleBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleColor

• `Optional` **circleColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### circleOpacity

• `Optional` **circleOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circlePitchAlignment

• `Optional` **circlePitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### circlePitchScale

• `Optional` **circlePitchScale**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### circleRadius

• `Optional` **circleRadius**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleSortKey

• `Optional` **circleSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleStrokeColor

• `Optional` **circleStrokeColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### circleStrokeOpacity

• `Optional` **circleStrokeOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleStrokeWidth

• `Optional` **circleStrokeWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### circleTranslate

• `Optional` **circleTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### circleTranslateAnchor

• `Optional` **circleTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultconfigmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Config

## Interface: Config<T\>

[default](#modulesdefaultmd).Config

### Type parameters

| Name | Default |
| :------ | :------ |
| `T` | *unknown* |

### Table of contents

#### Properties

- [abort](#abort)
- [data](#data)
- [dump](#dump)
- [events](#events)
- [headers](#headers)
- [load](#load)
- [method](#method)
- [params](#params)
- [promise](#promise)
- [raw](#raw)
- [url](#url)
- [withCredentials](#withcredentials)
- [xmlHttpRequest](#xmlhttprequest)

### Properties

#### abort

• `Optional` **abort**: *any*

___

#### data

• `Optional` **data**: *string* \| Document \| Blob \| ArrayBufferView \| ArrayBuffer \| FormData \| URLSearchParams \| *ReadableStream*<Uint8Array\>

___

#### dump

• **dump**: (`data`: T) => *string*

##### Type declaration

▸ (`data`: T): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `data` | T |

**Returns:** *string*

___

#### events

• `Optional` **events**: *object*

##### Type declaration

___

#### headers

• **headers**: *object*

##### Type declaration

___

#### load

• **load**: (`str`: *string*) => T

##### Type declaration

▸ (`str`: *string*): T

##### Parameters

| Name | Type |
| :------ | :------ |
| `str` | *string* |

**Returns:** T

___

#### method

• **method**: ``"GET"`` \| ``"POST"`` \| ``"PUT"`` \| ``"DELETE"`` \| ``"PATCH"`` \| ``"OPTIONS"`` \| ``"HEAD"``

___

#### params

• `Optional` **params**: *string* \| URLSearchParams \| *string*[][] \| *Record*<string, string\>

___

#### promise

• **promise**: (`fn`: () => *Promise*<unknown\>) => *Promise*<unknown\>

##### Type declaration

▸ (`fn`: () => *Promise*<unknown\>): *Promise*<unknown\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `fn` | () => *Promise*<unknown\> |

**Returns:** *Promise*<unknown\>

___

#### raw

• `Optional` **raw**: *boolean*

___

#### url

• `Optional` **url**: *string*

___

#### withCredentials

• **withCredentials**: *boolean*

___

#### xmlHttpRequest

• **xmlHttpRequest**: () => XMLHttpRequest

##### Type declaration

▸ (): XMLHttpRequest

**Returns:** XMLHttpRequest


<a name="interfacesdefaultcontextmenuoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ContextMenuOptions

## Interface: ContextMenuOptions

[default](#modulesdefaultmd).ContextMenuOptions

上下文菜单选项.

### Table of contents

#### Properties

- [event](#event)
- [innerHeight](#innerheight)
- [innerWidth](#innerwidth)
- [items](#items)
- [theme](#theme)
- [width](#width)

### Properties

#### event

• **event**: Event

事件对象.

___

#### innerHeight

• `Optional` **innerHeight**: *number*

菜单外面容器的内部宽，用于菜单超时范围时自动调位置，默认是window大小高 可通过 map.getContainer().getBoundingClientRect().height来设置

___

#### innerWidth

• `Optional` **innerWidth**: *number*

菜单外面容器的内部宽，用于菜单超时范围时自动调位置，默认是window大小宽 可通过 map.getContainer().getBoundingClientRect().width来设置

___

#### items

• **items**: [*ContextMenuSubItemOptions*](#interfacesdefaultcontextmenusubitemoptionsmd)[]

子项

___

#### theme

• `Optional` **theme**: *string*

菜单主题色.(dark和light,默认dark)

___

#### width

• `Optional` **width**: *string*

菜单宽度（包括子菜单),像素，默认150px.


<a name="interfacesdefaultcontextmenusubitemoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ContextMenuSubItemOptions

## Interface: ContextMenuSubItemOptions

[default](#modulesdefaultmd).ContextMenuSubItemOptions

上下文菜单子项选项.

### Table of contents

#### Properties

- [cssIcon](#cssicon)
- [enabled](#enabled)
- [icon](#icon)
- [items](#items)
- [label](#label)
- [markup](#markup)
- [onClick](#onclick)
- [shortcut](#shortcut)
- [type](#type)

### Properties

#### cssIcon

• `Optional` **cssIcon**: *string*

css图标

___

#### enabled

• `Optional` **enabled**: *boolean*

是否能用

___

#### icon

• `Optional` **icon**: *string*

图标

___

#### items

• `Optional` **items**: [*ContextMenuSubItemOptions*](#interfacesdefaultcontextmenusubitemoptionsmd)[]

类型为'multi'时子菜单项

___

#### label

• `Optional` **label**: *string*

菜单名称

___

#### markup

• `Optional` **markup**: *string*

类型为'custom'时的自定义html内容

___

#### onClick

• `Optional` **onClick**: Function

点击事件

___

#### shortcut

• `Optional` **shortcut**: *string*

快捷菜单

___

#### type

• `Optional` **type**: ``"custom"`` \| ``"multi"`` \| ``"Button"`` \| ``"seperator"`` \| ``"submenu"`` \| ``"hovermenu"`` \| ``"normal"``

子菜单类型.


<a name="interfacesdefaultcreatemarkeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / createMarkerOptions

## Interface: createMarkerOptions

[default](#modulesdefaultmd).createMarkerOptions

### Hierarchy

- *MarkerOptions*

  ↳ **createMarkerOptions**

### Table of contents

#### Properties

- [height](#height)
- [lngLat](#lnglat)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [removeWhenNoInMapView](#removewhennoinmapview)
- [removeWhenNoInMapViewPadding](#removewhennoinmapviewpadding)
- [scaleMaxZoom](#scalemaxzoom)

### Properties

#### height

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

高度值.

___

#### lngLat

• `Optional` **lngLat**: [*number*, *number*] \| *LngLat* \| {} \| {}

LngLat值.

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示的最大级别.

___

#### minZoom

• `Optional` **minZoom**: *number*

显示的最小级别.

___

#### removeWhenNoInMapView

• `Optional` **removeWhenNoInMapView**: *boolean*

设置当marker不在当前地图视图范围内时，将自动移除。进入视图范围内时，将自动增加上

___

#### removeWhenNoInMapViewPadding

• `Optional` **removeWhenNoInMapViewPadding**: *number*

设置当marker不在当前地图视图范围内时，将自动移除。范围向外扩的像素范围，默认500px，向视图范围往外扩些像素，在平移的时候，能看到marker，体验效果好些。

___

#### scaleMaxZoom

• `Optional` **scaleMaxZoom**: *number*

设置能缩放的最大级别。如果小于这个级别，div将根据缩小级别自动缩小比例。默认不会自动缩放


<a name="interfacesdefaultdecayoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DecayOptions

## Interface: DecayOptions

[default](#modulesdefaultmd).DecayOptions

### Hierarchy

- **DecayOptions**

  ↳ [*InertiaOptions*](#interfacesdefaultinertiaoptionsmd)

  ↳ [*InertiaOptions*](#interfacesinertiaoptionsmd)

### Table of contents

#### Properties

- [from](#from)
- [modifyTarget](#modifytarget)
- [power](#power)
- [restDelta](#restdelta)
- [timeConstant](#timeconstant)
- [to](#to)
- [velocity](#velocity)

### Properties

#### from

• `Optional` **from**: *number*

___

#### modifyTarget

• `Optional` **modifyTarget**: (`target`: *number*) => *number*

##### Type declaration

▸ (`target`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *number* |

**Returns:** *number*

___

#### power

• `Optional` **power**: *number*

___

#### restDelta

• `Optional` **restDelta**: *number*

___

#### timeConstant

• `Optional` **timeConstant**: *number*

___

#### to

• `Optional` **to**: *number*

___

#### velocity

• `Optional` **velocity**: *number*


<a name="interfacesdefaultdivoverlayoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DivOverlayOptions

## Interface: DivOverlayOptions

[default](#modulesdefaultmd).DivOverlayOptions

### Table of contents

#### Properties

- [bounds](#bounds)
- [element](#element)
- [height](#height)
- [maxDivSize](#maxdivsize)
- [maxPitch](#maxpitch)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [updateDivSize](#updatedivsize)
- [width](#width)

### Properties

#### bounds

• **bounds**: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [[*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike)]

范围，四个点坐标

___

#### element

• **element**: HTMLElement

html元素

___

#### height

• **height**: *number*

元素高

___

#### maxDivSize

• `Optional` **maxDivSize**: *number*

放大div时，最大的div大小，超过了就像素放大了

___

#### maxPitch

• `Optional` **maxPitch**: *number*

显示最大倾斜角

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示最小级别

___

#### minZoom

• `Optional` **minZoom**: *number*

显示最大级别

___

#### updateDivSize

• `Optional` **updateDivSize**: *boolean*

自动更新div大小，（如果需要svg放大，需要设置为true)

___

#### width

• **width**: *number*

元素宽


<a name="interfacesdefaultdrivercontrolsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DriverControls

## Interface: DriverControls

[default](#modulesdefaultmd).DriverControls

Drivers accept a update function and call it at an interval. This interval
could be a synchronous loop, a setInterval, or tied to the device's framerate.

### Table of contents

#### Properties

- [start](#start)
- [stop](#stop)

### Properties

#### start

• **start**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### stop

• **stop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesdefaultellipseedgeoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / EllipseEdgeOptions

## Interface: EllipseEdgeOptions

[default](#modulesdefaultmd).EllipseEdgeOptions

### Hierarchy

- [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

  ↳ **EllipseEdgeOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [majorAxisRadius](#majoraxisradius)
- [maxzoom](#maxzoom)
- [minorAxisRadius](#minoraxisradius)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineWidth](#linewidth)

___

#### majorAxisRadius

• **majorAxisRadius**: *number*

长轴半径

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[maxzoom](#maxzoom)

___

#### minorAxisRadius

• **minorAxisRadius**: *number*

短轴半径

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultellipsefilloptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / EllipseFillOptions

## Interface: EllipseFillOptions

[default](#modulesdefaultmd).EllipseFillOptions

### Hierarchy

- [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

  ↳ **EllipseFillOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [majorAxisRadius](#majoraxisradius)
- [maxzoom](#maxzoom)
- [minorAxisRadius](#minoraxisradius)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillAntialias](#fillantialias)

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillColor](#fillcolor)

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOpacity](#fillopacity)

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOutlineColor](#filloutlinecolor)

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillPattern](#fillpattern)

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillSortKey](#fillsortkey)

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslate](#filltranslate)

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslateAnchor](#filltranslateanchor)

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[layerId](#layerid)

___

#### majorAxisRadius

• **majorAxisRadius**: *number*

长轴半径

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[maxzoom](#maxzoom)

___

#### minorAxisRadius

• **minorAxisRadius**: *number*

短轴半径

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[visibility](#visibility)


<a name="interfacesdefaulteventsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Events

## Interface: Events

[default](#modulesdefaultmd).Events

### Table of contents

#### Properties

- [ABORT](#abort)
- [ERROR](#error)
- [LOAD](#load)
- [LOAD\_END](#load_end)
- [LOAD\_START](#load_start)
- [PROGRESS](#progress)
- [READY\_STATE\_CHANGE](#ready_state_change)
- [TIMEOUT](#timeout)

### Properties

#### ABORT

• **ABORT**: ``"abort"``

___

#### ERROR

• **ERROR**: ``"error"``

___

#### LOAD

• **LOAD**: ``"load"``

___

#### LOAD\_END

• **LOAD\_END**: ``"loadend"``

___

#### LOAD\_START

• **LOAD\_START**: ``"loadstart"``

___

#### PROGRESS

• **PROGRESS**: ``"progress"``

___

#### READY\_STATE\_CHANGE

• **READY\_STATE\_CHANGE**: ``"readystatechange"``

___

#### TIMEOUT

• **TIMEOUT**: ``"timeout"``


<a name="interfacesdefaultfillextrusionoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / FillExtrusionOptions

## Interface: FillExtrusionOptions

[default](#modulesdefaultmd).FillExtrusionOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **FillExtrusionOptions**

### Table of contents

#### Properties

- [data](#data)
- [fillExtrusionBase](#fillextrusionbase)
- [fillExtrusionColor](#fillextrusioncolor)
- [fillExtrusionHeight](#fillextrusionheight)
- [fillExtrusionOpacity](#fillextrusionopacity)
- [fillExtrusionPattern](#fillextrusionpattern)
- [fillExtrusionTranslate](#fillextrusiontranslate)
- [fillExtrusionTranslateAnchor](#fillextrusiontranslateanchor)
- [fillExtrusionVerticalGradient](#fillextrusionverticalgradient)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### fillExtrusionBase

• `Optional` **fillExtrusionBase**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionColor

• `Optional` **fillExtrusionColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionHeight

• `Optional` **fillExtrusionHeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionOpacity

• `Optional` **fillExtrusionOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### fillExtrusionPattern

• `Optional` **fillExtrusionPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionTranslate

• `Optional` **fillExtrusionTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### fillExtrusionTranslateAnchor

• `Optional` **fillExtrusionTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### fillExtrusionVerticalGradient

• `Optional` **fillExtrusionVerticalGradient**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultframeanimationmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / FrameAnimation

## Interface: FrameAnimation

[default](#modulesdefaultmd).FrameAnimation

**`property`** {Boolean} running - Getter that indicates if animation is running.

**`property`** {function():void} stop - Stops the animation.

**`property`** {function():void} start - Starts the animation.

### Table of contents

#### Properties

- [changeFps](#changefps)
- [pause](#pause)
- [running](#running)
- [start](#start)
- [status](#status)
- [stop](#stop)

### Properties

#### changeFps

• **changeFps**: (`fps`: *number*) => *void*

一秒运行多少帧，用来控制速度

##### Type declaration

▸ (`fps`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `fps` | *number* |

**Returns:** *void*

___

#### pause

• **pause**: () => *void*

pause the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### running

• `Readonly` **running**: *boolean*

A getter property that indicates if animation is running.

___

#### start

• **start**: () => *void*

Starts the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### status

• `Readonly` **status**: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)

A getter property that indicates if animation is running.

___

#### stop

• **stop**: () => *void*

Stops the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesdefaultgridlayerlabelstylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GridLayerLabelStyle

## Interface: GridLayerLabelStyle

[default](#modulesdefaultmd).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="interfacesdefaultgridlayeroptionsmd"></a>

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

## Interface: GridLayerOptions

[default](#modulesdefaultmd).GridLayerOptions

### Table of contents

#### Properties

- [extent](#extent)
- [interval](#interval)
- [layerID](#layerid)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [opacity](#opacity)
- [showLabel](#showlabel)
- [strokeStyle](#strokestyle)
- [visible](#visible)
- [xLabelDigit](#xlabeldigit)
- [xLabelFormatter](#xlabelformatter)
- [xLabelStyle](#xlabelstyle)
- [yLabelDigit](#ylabeldigit)
- [yLabelFormatter](#ylabelformatter)
- [yLabelStyle](#ylabelstyle)

### Properties

#### extent

• `Optional` **extent**: *LngLatBounds*

坐标网格渲染的边界经纬度范围（[minx, miny, maxx, maxy]），默认为整个地图范围。

___

#### interval

• `Optional` **interval**: *number* \| Function

经纬度的间隔（以度为单位），可以是数字，也可以是函数，参数是map，默认10

___

#### layerID

• `Optional` **layerID**: *string*

图层 ID。默认使用创建图层随机ID。

___

#### maxZoom

• `Optional` **maxZoom**: *number*

该图层可见的最大视图缩放级别（含）

___

#### minZoom

• `Optional` **minZoom**: *number*

最小视图缩放级别（不包括此级别），在该级别之上，该层将可见。

___

#### opacity

• `Optional` **opacity**: *number*

画布不透明度。 默认1

___

#### showLabel

• `Optional` **showLabel**: *boolean*

是否显示标签 默认true

___

#### strokeStyle

• `Optional` **strokeStyle**: [*GridLayerStrokeStyle*](#interfacesdefaultgridlayerstrokestylemd)

绘制网络线的样式

___

#### visible

• `Optional` **visible**: *boolean*

是否显示坐标网格 默认true

___

#### xLabelDigit

• `Optional` **xLabelDigit**: *number*

x标签小数位数。默认2位

___

#### xLabelFormatter

• `Optional` **xLabelFormatter**: Function

x标签转换函数

___

#### xLabelStyle

• `Optional` **xLabelStyle**: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)

x轴标签样式

___

#### yLabelDigit

• `Optional` **yLabelDigit**: *number*

y标签小数位数。默认2位

___

#### yLabelFormatter

• `Optional` **yLabelFormatter**: Function

y标签转换函数

___

#### yLabelStyle

• `Optional` **yLabelStyle**: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)

y轴标签样式


<a name="interfacesdefaultgridlayerstrokestylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / GridLayerStrokeStyle

## Interface: GridLayerStrokeStyle

[default](#modulesdefaultmd).GridLayerStrokeStyle

### Table of contents

#### Properties

- [lindDasharray](#linddasharray)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDashOffset](#linedashoffset)
- [lineJoin](#linejoin)
- [lineWidth](#linewidth)

### Properties

#### lindDasharray

• `Optional` **lindDasharray**: Function \| *number*[]

虚线样式

___

#### lineCap

• `Optional` **lineCap**: ``"butt"`` \| ``"round"`` \| ``"square"``

线端点风格：butt, round, square

___

#### lineColor

• `Optional` **lineColor**: *string*

线颜色

___

#### lineDashOffset

• `Optional` **lineDashOffset**: *number*

虚线样式

___

#### lineJoin

• `Optional` **lineJoin**: ``"round"`` \| ``"bevel"`` \| ``"miter"``

线连接样式：bevel, round, miter

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| Function

线宽


<a name="interfacesdefaultheatmapoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / HeatmapOptions

## Interface: HeatmapOptions

[default](#modulesdefaultmd).HeatmapOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **HeatmapOptions**

### Table of contents

#### Properties

- [data](#data)
- [filter](#filter)
- [heatmapColor](#heatmapcolor)
- [heatmapIntensity](#heatmapintensity)
- [heatmapOpacity](#heatmapopacity)
- [heatmapRadius](#heatmapradius)
- [heatmapWeight](#heatmapweight)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### heatmapColor

• `Optional` **heatmapColor**: [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### heatmapIntensity

• `Optional` **heatmapIntensity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### heatmapOpacity

• `Optional` **heatmapOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### heatmapRadius

• `Optional` **heatmapRadius**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### heatmapWeight

• `Optional` **heatmapWeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultianimatefilllayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IAnimateFillLayerOptions

## Interface: IAnimateFillLayerOptions

[default](#modulesdefaultmd).IAnimateFillLayerOptions

### Hierarchy

- *Omit*<[*PolygonOptions*](#interfacesdefaultpolygonoptionsmd), ``"data"``\>

  ↳ **IAnimateFillLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillAntialias

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillColor

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillOpacity

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillOutlineColor

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillPattern

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillSortKey

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillTranslate

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillTranslateAnchor

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesdefaultianimatelinelayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IAnimateLineLayerOptions

## Interface: IAnimateLineLayerOptions

[default](#modulesdefaultmd).IAnimateLineLayerOptions

### Hierarchy

- *Omit*<[*PolylineOptions*](#interfacesdefaultpolylineoptionsmd), ``"data"``\>

  ↳ **IAnimateLineLayerOptions**

  ↳↳ [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)

  ↳↳ [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)

  ↳↳ [*ICreateArrowAnimateLineLayerOptions*](#interfacesicreatearrowanimatelinelayeroptionsmd)

  ↳↳ [*ICreateAntPathAnimateLineLayerOptions*](#interfacesicreateantpathanimatelinelayeroptionsmd)

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  } \| ImageBitmap)[]

动画图集.

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineBlur

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineCap

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineColor

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineDasharray

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineGapWidth

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: Omit.lineGradient

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineJoin

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineMiterMimit

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineOffset

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineOpacity

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.linePattern

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineRoundLimit

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineSortKey

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineTranslate

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineTranslateAnchor

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineWidth

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesdefaultianimatesymbollayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IAnimateSymbolLayerOptions

## Interface: IAnimateSymbolLayerOptions

[default](#modulesdefaultmd).IAnimateSymbolLayerOptions

### Hierarchy

- *Omit*<[*SymbolOptions*](#interfacesdefaultsymboloptionsmd), ``"data"``\>

  ↳ **IAnimateSymbolLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [filter](#filter)
- [iconAllowOverlap](#iconallowoverlap)
- [iconAnchor](#iconanchor)
- [iconColor](#iconcolor)
- [iconHaloBlur](#iconhaloblur)
- [iconHaloColor](#iconhalocolor)
- [iconHaloWidth](#iconhalowidth)
- [iconIgnorePlacement](#iconignoreplacement)
- [iconImage](#iconimage)
- [iconKeepUpright](#iconkeepupright)
- [iconOffset](#iconoffset)
- [iconOpacity](#iconopacity)
- [iconOptional](#iconoptional)
- [iconPadding](#iconpadding)
- [iconPitchAlignment](#iconpitchalignment)
- [iconRotate](#iconrotate)
- [iconRotationAlignment](#iconrotationalignment)
- [iconSize](#iconsize)
- [iconTextFit](#icontextfit)
- [iconTextFitPadding](#icontextfitpadding)
- [iconTranslate](#icontranslate)
- [iconTranslateAnchor](#icontranslateanchor)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [symbolAvoidEdges](#symbolavoidedges)
- [symbolPlacement](#symbolplacement)
- [symbolSortKey](#symbolsortkey)
- [symbolSpacing](#symbolspacing)
- [symbolZOrder](#symbolzorder)
- [textAllowOverlap](#textallowoverlap)
- [textAnchor](#textanchor)
- [textColor](#textcolor)
- [textField](#textfield)
- [textFont](#textfont)
- [textHaloBlur](#texthaloblur)
- [textHaloColor](#texthalocolor)
- [textHaloWidth](#texthalowidth)
- [textIgnorePlacement](#textignoreplacement)
- [textJustify](#textjustify)
- [textKeepUpright](#textkeepupright)
- [textLetterSpacing](#textletterspacing)
- [textLineHeight](#textlineheight)
- [textMaxAngle](#textmaxangle)
- [textMaxWidth](#textmaxwidth)
- [textOffset](#textoffset)
- [textOpacity](#textopacity)
- [textOptional](#textoptional)
- [textPadding](#textpadding)
- [textPitchAlignment](#textpitchalignment)
- [textRadialOffset](#textradialoffset)
- [textRotate](#textrotate)
- [textRotationAlignment](#textrotationalignment)
- [textSize](#textsize)
- [textTransform](#texttransform)
- [textTranslate](#texttranslate)
- [textTranslateAnchor](#texttranslateanchor)
- [textVariableAnchor](#textvariableanchor)
- [textWritingMode](#textwritingmode)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### iconAllowOverlap

• `Optional` **iconAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconAllowOverlap

___

#### iconAnchor

• `Optional` **iconAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconAnchor

___

#### iconColor

• `Optional` **iconColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconColor

___

#### iconHaloBlur

• `Optional` **iconHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconHaloBlur

___

#### iconHaloColor

• `Optional` **iconHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconHaloColor

___

#### iconHaloWidth

• `Optional` **iconHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconHaloWidth

___

#### iconIgnorePlacement

• `Optional` **iconIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconIgnorePlacement

___

#### iconImage

• `Optional` **iconImage**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconImage

___

#### iconKeepUpright

• `Optional` **iconKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconKeepUpright

___

#### iconOffset

• `Optional` **iconOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconOffset

___

#### iconOpacity

• `Optional` **iconOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconOpacity

___

#### iconOptional

• `Optional` **iconOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconOptional

___

#### iconPadding

• `Optional` **iconPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconPadding

___

#### iconPitchAlignment

• `Optional` **iconPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconPitchAlignment

___

#### iconRotate

• `Optional` **iconRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconRotate

___

#### iconRotationAlignment

• `Optional` **iconRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconRotationAlignment

___

#### iconSize

• `Optional` **iconSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconSize

___

#### iconTextFit

• `Optional` **iconTextFit**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"`` \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTextFit

___

#### iconTextFitPadding

• `Optional` **iconTextFitPadding**: [*number*, *number*, *number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTextFitPadding

___

#### iconTranslate

• `Optional` **iconTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTranslate

___

#### iconTranslateAnchor

• `Optional` **iconTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTranslateAnchor

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### symbolAvoidEdges

• `Optional` **symbolAvoidEdges**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolAvoidEdges

___

#### symbolPlacement

• `Optional` **symbolPlacement**: ``"line"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"point"`` \| ``"line-center"`` \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolPlacement

___

#### symbolSortKey

• `Optional` **symbolSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.symbolSortKey

___

#### symbolSpacing

• `Optional` **symbolSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolSpacing

___

#### symbolZOrder

• `Optional` **symbolZOrder**: ``"source"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| ``"viewport-y"`` \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolZOrder

___

#### textAllowOverlap

• `Optional` **textAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textAllowOverlap

___

#### textAnchor

• `Optional` **textAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textAnchor

___

#### textColor

• `Optional` **textColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textColor

___

#### textField

• `Optional` **textField**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textField

___

#### textFont

• `Optional` **textFont**: *string*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *string*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textFont

___

#### textHaloBlur

• `Optional` **textHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textHaloBlur

___

#### textHaloColor

• `Optional` **textHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textHaloColor

___

#### textHaloWidth

• `Optional` **textHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textHaloWidth

___

#### textIgnorePlacement

• `Optional` **textIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textIgnorePlacement

___

#### textJustify

• `Optional` **textJustify**: ``"center"`` \| ``"left"`` \| ``"right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textJustify

___

#### textKeepUpright

• `Optional` **textKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textKeepUpright

___

#### textLetterSpacing

• `Optional` **textLetterSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textLetterSpacing

___

#### textLineHeight

• `Optional` **textLineHeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textLineHeight

___

#### textMaxAngle

• `Optional` **textMaxAngle**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textMaxAngle

___

#### textMaxWidth

• `Optional` **textMaxWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textMaxWidth

___

#### textOffset

• `Optional` **textOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textOffset

___

#### textOpacity

• `Optional` **textOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textOpacity

___

#### textOptional

• `Optional` **textOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textOptional

___

#### textPadding

• `Optional` **textPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textPadding

___

#### textPitchAlignment

• `Optional` **textPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.textPitchAlignment

___

#### textRadialOffset

• `Optional` **textRadialOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textRadialOffset

___

#### textRotate

• `Optional` **textRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textRotate

___

#### textRotationAlignment

• `Optional` **textRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.textRotationAlignment

___

#### textSize

• `Optional` **textSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textSize

___

#### textTransform

• `Optional` **textTransform**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textTransform

___

#### textTranslate

• `Optional` **textTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.textTranslate

___

#### textTranslateAnchor

• `Optional` **textTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.textTranslateAnchor

___

#### textVariableAnchor

• `Optional` **textVariableAnchor**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| [*Anchor*](#anchor)[] \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"interval"``  }

Inherited from: Omit.textVariableAnchor

___

#### textWritingMode

• `Optional` **textWritingMode**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| (``"vertical"`` \| ``"horizontal"``)[] \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"interval"``  }

Inherited from: Omit.textWritingMode

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesdefaultianimatevectorlayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IAnimateVectorLayerOptions

## Interface: IAnimateVectorLayerOptions

[default](#modulesdefaultmd).IAnimateVectorLayerOptions

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.


<a name="interfacesdefaultianimatevectorlayerresultmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IAnimateVectorLayerResult

## Interface: IAnimateVectorLayerResult

[default](#modulesdefaultmd).IAnimateVectorLayerResult

### Table of contents

#### Properties

- [remove](#remove)
- [setSpeed](#setspeed)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateImages](#updateimages)

### Properties

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*


<a name="interfacesdefaulticomposenewmapmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IComposeNewMap

## Interface: IComposeNewMap

[default](#modulesdefaultmd).IComposeNewMap

组合新地图参数

### Table of contents

#### Properties

- [cadVersion](#cadversion)
- [clipbounds](#clipbounds)
- [fourParameter](#fourparameter)
- [isInverseFourParamter](#isinversefourparamter)
- [isRenameBlockNameIfExist](#isrenameblocknameifexist)
- [layerPrefix](#layerprefix)
- [layerSuffix](#layersuffix)
- [layers](#layers)
- [mapid](#mapid)
- [purge](#purge)
- [savefilename](#savefilename)
- [selByCrossing](#selbycrossing)
- [version](#version)

### Properties

#### cadVersion

• `Optional` **cadVersion**: *string*

导出的CAD版本号。如果为*表示为当前CAD图的版本

___

#### clipbounds

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

地图裁剪范围，范围如[x1,y1,x2,y2]， 为空的话，表示不裁剪

___

#### fourParameter

• `Optional` **fourParameter**: [*number*, *number*, *number*, *number*]

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

___

#### isInverseFourParamter

• `Optional` **isInverseFourParamter**: *boolean*

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

___

#### isRenameBlockNameIfExist

• `Optional` **isRenameBlockNameIfExist**: *boolean*

来源于其他图的实体时，如果块定义重复，则自动重命名 ，默认true

___

#### layerPrefix

• `Optional` **layerPrefix**: *string*

生新成图的图层名称前缀，如果设置为null将不会有默认的图层前缀。如果没有前缀，不同的图有图层重名时，如果设置了随层属性有可能会导致绘制的不一样

___

#### layerSuffix

• `Optional` **layerSuffix**: *string*

生新成图的图层名称后缀

___

#### layers

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

要显示的图层名称，为空的时候，表示全部图层

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### purge

• `Optional` **purge**: *boolean*

生成后清理图形数据以减少dwg文件大小

___

#### savefilename

• `Optional` **savefilename**: *string*

保存的文件名称，为空的时候，自根据参数自动生成

___

#### selByCrossing

• `Optional` **selByCrossing**: *boolean*

选择是包含还是相交（默认false表示包含，true相交）

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesdefaulticonditionqueryfeaturesmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IConditionQueryFeatures

## Interface: IConditionQueryFeatures

[default](#modulesdefaultmd).IConditionQueryFeatures

条件查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IConditionQueryFeatures**

### Table of contents

#### Properties

- [beginpos](#beginpos)
- [bounds](#bounds)
- [condition](#condition)
- [fields](#fields)
- [geom](#geom)
- [includegeom](#includegeom)
- [isContains](#iscontains)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [realgeom](#realgeom)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [zoom](#zoom)

### Properties

#### beginpos

• `Optional` **beginpos**: *number*

记录开始位置.

___

#### bounds

• `Optional` **bounds**: [*number*, *number*, *number*, *number*]

范围.

___

#### condition

• **condition**: *string*

条件.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### includegeom

• `Optional` **includegeom**: *boolean*

是否返回几何数据,为了性能问题，realgeom为false时，如果返回条数大于1.只会返回每个实体的外包矩形，如果条数为1的话，会返回此实体的真实geojson；realgeom为true时每条都会返回实体的geojson

___

#### isContains

• `Optional` **isContains**: *boolean*

是否为包含关系, true为包含关系,false为相交关系，默认false. (传入了bounds进行范围查询时有效)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### realgeom

• `Optional` **realgeom**: *boolean*

是否返回真实实体几何geojson.与 includegeom参数，结合使用。参考includegeom的用法

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesdefaulticreateanimateimagesfromimageoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateAnimateImagesFromImageOptions

## Interface: ICreateAnimateImagesFromImageOptions

[default](#modulesdefaultmd).ICreateAnimateImagesFromImageOptions

### Indexable

▪ [key: *string*]: *any*

其他数据.

### Table of contents

#### Properties

- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [from](#from)
- [fromImage](#fromimage)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [to](#to)

### Properties

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..


<a name="interfacesdefaulticreateanimateimagesoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateAnimateImagesOptions

## Interface: ICreateAnimateImagesOptions

[default](#modulesdefaultmd).ICreateAnimateImagesOptions

### Hierarchy

- **ICreateAnimateImagesOptions**

  ↳ [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)

  ↳ [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)

  ↳ [*ICreateArrowAnimateLineLayerOptions*](#interfacesicreatearrowanimatelinelayeroptionsmd)

  ↳ [*ICreateAntPathAnimateLineLayerOptions*](#interfacesicreateantpathanimatelinelayeroptionsmd)

### Indexable

▪ [key: *string*]: *any*

其他数据.

### Table of contents

#### Properties

- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [directionReverse](#directionreverse)
- [draw](#draw)
- [drawFrame](#drawframe)
- [frameCount](#framecount)
- [from](#from)
- [fromImage](#fromimage)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [to](#to)
- [yAxis](#yaxis)

### Properties

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

___

#### directionReverse

• `Optional` **directionReverse**: *boolean*

方向是否反向.

___

#### draw

• `Optional` **draw**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

绘制内容回调(此函数只需绘制第一帧，其作帧图片会根据移动方向和帧数自动计算出来).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

___

#### drawFrame

• `Optional` **drawFrame**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

每帧内容回调(此函数每帧都会调用，需要根据不同的帧数生成不同的图片，与上面的draw冲突，如果设置了drawFrame，则上面的draw函数无效).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `frameCount` | *number* |
| `curFrameIndex` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

___

#### frameCount

• `Optional` **frameCount**: *number*

要生成的动画图片帧的个数.默认2

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..

___

#### yAxis

• `Optional` **yAxis**: *boolean*

是否y方向生成动画图片集.


<a name="interfacesdefaulticreateanimatelayerresultmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateAnimateLayerResult

## Interface: ICreateAnimateLayerResult

[default](#modulesdefaultmd).ICreateAnimateLayerResult

### Hierarchy

- **ICreateAnimateLayerResult**

  ↳ [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

  ↳ [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

  ↳ [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

  ↳ [*ICreateSymbolAnimateLayerResult*](#interfacesicreatesymbolanimatelayerresultmd)

  ↳ [*ICreateLineAnimateLayerResult*](#interfacesicreatelineanimatelayerresultmd)

  ↳ [*ICreateFillAnimateLayerResult*](#interfacesicreatefillanimatelayerresultmd)

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

___

#### layerId

• **layerId**: *string*

图层ID.

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

___

#### sourceId

• **sourceId**: *string*

数据源ID.

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*


<a name="interfacesdefaulticreateantpathanimatelinelayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateAntPathAnimateLineLayerOptions

## Interface: ICreateAntPathAnimateLineLayerOptions

[default](#modulesdefaultmd).ICreateAntPathAnimateLineLayerOptions

### Hierarchy

- [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)

- [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)

  ↳ **ICreateAntPathAnimateLineLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [directionReverse](#directionreverse)
- [draw](#draw)
- [drawFrame](#drawframe)
- [fillColor1](#fillcolor1)
- [fillColor2](#fillcolor2)
- [filter](#filter)
- [frameCount](#framecount)
- [from](#from)
- [fromImage](#fromimage)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [startAutoAnimation](#startautoanimation)
- [to](#to)
- [visibility](#visibility)
- [yAxis](#yaxis)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  } \| ImageBitmap)[]

动画图集.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[animateImages](#animateimages)

___

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasHeight](#canvasheight)

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasWidth](#canvaswidth)

___

#### directionReverse

• `Optional` **directionReverse**: *boolean*

方向是否反向.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[directionReverse](#directionreverse)

___

#### draw

• `Optional` **draw**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

绘制内容回调(此函数只需绘制第一帧，其作帧图片会根据移动方向和帧数自动计算出来).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[draw](#draw)

___

#### drawFrame

• `Optional` **drawFrame**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

每帧内容回调(此函数每帧都会调用，需要根据不同的帧数生成不同的图片，与上面的draw冲突，如果设置了drawFrame，则上面的draw函数无效).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `frameCount` | *number* |
| `curFrameIndex` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[drawFrame](#drawframe)

___

#### fillColor1

• `Optional` **fillColor1**: *string* \| CanvasGradient \| CanvasPattern

填充背景颜色1.

___

#### fillColor2

• `Optional` **fillColor2**: *string* \| CanvasGradient \| CanvasPattern

填充背景颜色1.

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[filter](#filter)

___

#### frameCount

• `Optional` **frameCount**: *number*

要生成的动画图片帧的个数.默认2

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[frameCount](#framecount)

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[from](#from)

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[fromImage](#fromimage)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerBefore](#layerbefore)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineWidth](#linewidth)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceLayer](#sourcelayer)

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[speed](#speed)

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteHeight](#spriteheight)

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteWidth](#spritewidth)

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[startAutoAnimation](#startautoanimation)

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[to](#to)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[visibility](#visibility)

___

#### yAxis

• `Optional` **yAxis**: *boolean*

是否y方向生成动画图片集.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[yAxis](#yaxis)


<a name="interfacesdefaulticreatearrowanimatelinelayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateArrowAnimateLineLayerOptions

## Interface: ICreateArrowAnimateLineLayerOptions

[default](#modulesdefaultmd).ICreateArrowAnimateLineLayerOptions

### Hierarchy

- [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)

- [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)

  ↳ **ICreateArrowAnimateLineLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [arrowFillColor](#arrowfillcolor)
- [arrowStrokeColor](#arrowstrokecolor)
- [arrowStrokeWidth](#arrowstrokewidth)
- [arrowWidth](#arrowwidth)
- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [directionReverse](#directionreverse)
- [draw](#draw)
- [drawFrame](#drawframe)
- [filter](#filter)
- [frameCount](#framecount)
- [from](#from)
- [fromImage](#fromimage)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [startAutoAnimation](#startautoanimation)
- [to](#to)
- [visibility](#visibility)
- [yAxis](#yaxis)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  } \| ImageBitmap)[]

动画图集.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[animateImages](#animateimages)

___

#### arrowFillColor

• `Optional` **arrowFillColor**: *string* \| CanvasGradient \| CanvasPattern

箭头填充背景颜色.

___

#### arrowStrokeColor

• `Optional` **arrowStrokeColor**: *string* \| CanvasGradient \| CanvasPattern

箭头颜色.

___

#### arrowStrokeWidth

• `Optional` **arrowStrokeWidth**: *number*

箭头线宽.

___

#### arrowWidth

• `Optional` **arrowWidth**: *number*

箭头宽(默认为画布的一半).

___

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasHeight](#canvasheight)

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasWidth](#canvaswidth)

___

#### directionReverse

• `Optional` **directionReverse**: *boolean*

方向是否反向.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[directionReverse](#directionreverse)

___

#### draw

• `Optional` **draw**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

绘制内容回调(此函数只需绘制第一帧，其作帧图片会根据移动方向和帧数自动计算出来).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[draw](#draw)

___

#### drawFrame

• `Optional` **drawFrame**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

每帧内容回调(此函数每帧都会调用，需要根据不同的帧数生成不同的图片，与上面的draw冲突，如果设置了drawFrame，则上面的draw函数无效).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `frameCount` | *number* |
| `curFrameIndex` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[drawFrame](#drawframe)

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[filter](#filter)

___

#### frameCount

• `Optional` **frameCount**: *number*

要生成的动画图片帧的个数.默认2

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[frameCount](#framecount)

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[from](#from)

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[fromImage](#fromimage)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerBefore](#layerbefore)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineWidth](#linewidth)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceLayer](#sourcelayer)

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[speed](#speed)

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteHeight](#spriteheight)

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteWidth](#spritewidth)

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[startAutoAnimation](#startautoanimation)

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[to](#to)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[visibility](#visibility)

___

#### yAxis

• `Optional` **yAxis**: *boolean*

是否y方向生成动画图片集.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[yAxis](#yaxis)


<a name="interfacesdefaulticreateentitiesgeomdatamd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateEntitiesGeomData

## Interface: ICreateEntitiesGeomData

[default](#modulesdefaultmd).ICreateEntitiesGeomData

获取创建实体的几何数据

### Table of contents

#### Properties

- [excludeAttribute](#excludeattribute)
- [filedoc](#filedoc)
- [mapBounds](#mapbounds)
- [renderAccuracy](#renderaccuracy)
- [useZip](#usezip)

### Properties

#### excludeAttribute

• `Optional` **excludeAttribute**: *boolean*

返回的数据中排除属性数据( 默认true)

___

#### filedoc

• **filedoc**: *string*

文件文档.

___

#### mapBounds

• `Optional` **mapBounds**: [*number*, *number*, *number*, *number*]

图形范围.如果不填的话，则使用全图范围

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

___

#### useZip

• `Optional` **useZip**: *boolean*

返回的数据是否启用zip压缩( 默认true)


<a name="interfacesdefaulticreatefillanimatelayerresultmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateFillAnimateLayerResult

## Interface: ICreateFillAnimateLayerResult

[default](#modulesdefaultmd).ICreateFillAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateFillAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [polygon](#polygon)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### polygon

• **polygon**: [*Polygon*](#classesdefaultpolygonmd)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesdefaulticreatelineanimatelayerresultmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateLineAnimateLayerResult

## Interface: ICreateLineAnimateLayerResult

[default](#modulesdefaultmd).ICreateLineAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateLineAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [polyline](#polyline)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### polyline

• **polyline**: [*Polyline*](#classesdefaultpolylinemd)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesdefaulticreatesymbolanimatelayerresultmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ICreateSymbolAnimateLayerResult

## Interface: ICreateSymbolAnimateLayerResult

[default](#modulesdefaultmd).ICreateSymbolAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateSymbolAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [symbol](#symbol)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### symbol

• **symbol**: [*Symbol*](#classesdefaultsymbolmd)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesdefaultidb2dpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDb2dPolyline

## Interface: IDb2dPolyline

[default](#modulesdefaultmd).IDb2dPolyline

2d折线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDb2dPolyline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k2dSimplePoly*](#k2dsimplepoly) \| [*k2dFitCurvePoly*](#k2dfitcurvepoly) \| [*k2dQuadSplinePoly*](#k2dquadsplinepoly) \| [*k2dCubicSplinePoly*](#k2dcubicsplinepoly)

2d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidb2lineangulardimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDb2LineAngularDimension

## Interface: IDb2LineAngularDimension

[default](#modulesdefaultmd).IDb2LineAngularDimension

角度标注[两条线]实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDb2LineAngularDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1End](#xline1end)
- [xLine1Start](#xline1start)
- [xLine2End](#xline2end)
- [xLine2Start](#xline2start)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1End

• `Optional` **xLine1End**: [*number*, *number*, *undefined* \| *number*][]

线1终点.

___

#### xLine1Start

• `Optional` **xLine1Start**: [*number*, *number*, *undefined* \| *number*][]

线1起点.

___

#### xLine2End

• `Optional` **xLine2End**: [*number*, *number*, *undefined* \| *number*][]

线2终点.

___

#### xLine2Start

• `Optional` **xLine2Start**: [*number*, *number*, *undefined* \| *number*][]

线2起点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidb3dpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDb3dPolyline

## Interface: IDb3dPolyline

[default](#modulesdefaultmd).IDb3dPolyline

3d折线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDb3dPolyline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k3dSimplePoly*](#k3dsimplepoly) \| [*k3dQuadSplinePoly*](#k3dquadsplinepoly) \| [*k3dCubicSplinePoly*](#k3dcubicsplinepoly)

3d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidb3pointangulardimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDb3PointAngularDimension

## Interface: IDb3PointAngularDimension

[default](#modulesdefaultmd).IDb3PointAngularDimension

角度标注[三点]实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDb3PointAngularDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [centerPoint](#centerpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbaligneddimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbAlignedDimension

## Interface: IDbAlignedDimension

[default](#modulesdefaultmd).IDbAlignedDimension

对齐标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbAlignedDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimLinePoint](#dimlinepoint)
- [dimStyle](#dimstyle)
- [jogSymbolHeight](#jogsymbolheight)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点.

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### jogSymbolHeight

• `Optional` **jogSymbolHeight**: *number*

设置此实体的符号高度。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbarcmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbArc

## Interface: IDbArc

[default](#modulesdefaultmd).IDbArc

圆弧实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbArc**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [objectid](#objectid)
- [radius](#radius)
- [startAngle](#startangle)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidbarcdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbArcDimension

## Interface: IDbArcDimension

[default](#modulesdefaultmd).IDbArcDimension

圆弧标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbArcDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arcSymbolType](#arcsymboltype)
- [centerPoint](#centerpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点.

___

#### arcSymbolType

• `Optional` **arcSymbolType**: *number*

文本中使用的弧符号的类型。 0 弧符号在文本前面;   1 弧线符号在文字上方;   2  没有符号.

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbblockmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbBlock

## Interface: IDbBlock

[default](#modulesdefaultmd).IDbBlock

块定义接口

### Table of contents

#### Properties

- [comments](#comments)
- [entitys](#entitys)
- [explodable](#explodable)
- [insertUnits](#insertunits)
- [name](#name)
- [origin](#origin)
- [scaling](#scaling)

### Properties

#### comments

• `Optional` **comments**: *string*

备注.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

由哪些实体创建而成.

___

#### explodable

• `Optional` **explodable**: *boolean*

是否可炸开.

___

#### insertUnits

• `Optional` **insertUnits**: *number*

设置此块的块插入单位 .

___

#### name

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

块名称.

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*][]

原点。 .

___

#### scaling

• `Optional` **scaling**: *number*

设置此块的参照的缩放特征.


<a name="interfacesdefaultidbblockreferencemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbBlockReference

## Interface: IDbBlockReference

[default](#modulesdefaultmd).IDbBlockReference

块参照实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbBlockReference**

  ↳↳ [*IDbTable*](#interfacesdefaultidbtablemd)

  ↳↳ [*IDbTable*](#interfacesidbtablemd)

### Table of contents

#### Properties

- [alpha](#alpha)
- [blockname](#blockname)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [objectid](#objectid)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [scaleFactors](#scalefactors)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### scaleFactors

• `Optional` **scaleFactors**: *number*

缩放因子.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidbcirclemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbCircle

## Interface: IDbCircle

[default](#modulesdefaultmd).IDbCircle

圆实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbCircle**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [objectid](#objectid)
- [radius](#radius)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidbcurvemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbCurve

## Interface: IDbCurve

[default](#modulesdefaultmd).IDbCurve

曲线实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbCurve**

  ↳↳ [*IDb2dPolyline*](#interfacesdefaultidb2dpolylinemd)

  ↳↳ [*IDb3dPolyline*](#interfacesdefaultidb3dpolylinemd)

  ↳↳ [*IDbPolyline*](#interfacesdefaultidbpolylinemd)

  ↳↳ [*IDbArc*](#interfacesdefaultidbarcmd)

  ↳↳ [*IDbCircle*](#interfacesdefaultidbcirclemd)

  ↳↳ [*IDbEllipse*](#interfacesdefaultidbellipsemd)

  ↳↳ [*IDbSpline*](#interfacesdefaultidbsplinemd)

  ↳↳ [*IDb2dPolyline*](#interfacesidb2dpolylinemd)

  ↳↳ [*IDb3dPolyline*](#interfacesidb3dpolylinemd)

  ↳↳ [*IDbPolyline*](#interfacesidbpolylinemd)

  ↳↳ [*IDbArc*](#interfacesidbarcmd)

  ↳↳ [*IDbCircle*](#interfacesidbcirclemd)

  ↳↳ [*IDbEllipse*](#interfacesidbellipsemd)

  ↳↳ [*IDbSpline*](#interfacesidbsplinemd)

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidbdiametricdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbDiametricDimension

## Interface: IDbDiametricDimension

[default](#modulesdefaultmd).IDbDiametricDimension

直径标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbDiametricDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [chordPoint](#chordpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [farChordPoint](#farchordpoint)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上1点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### farChordPoint

• `Optional` **farChordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上2点.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbDimension

## Interface: IDbDimension

[default](#modulesdefaultmd).IDbDimension

标注实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbDimension**

  ↳↳ [*IDb2LineAngularDimension*](#interfacesdefaultidb2lineangulardimensionmd)

  ↳↳ [*IDb3PointAngularDimension*](#interfacesdefaultidb3pointangulardimensionmd)

  ↳↳ [*IDbAlignedDimension*](#interfacesdefaultidbaligneddimensionmd)

  ↳↳ [*IDbArcDimension*](#interfacesdefaultidbarcdimensionmd)

  ↳↳ [*IDbDiametricDimension*](#interfacesdefaultidbdiametricdimensionmd)

  ↳↳ [*IDbOrdinateDimension*](#interfacesdefaultidbordinatedimensionmd)

  ↳↳ [*IDbRadialDimension*](#interfacesdefaultidbradialdimensionmd)

  ↳↳ [*IDbRadialDimensionLarge*](#interfacesdefaultidbradialdimensionlargemd)

  ↳↳ [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd)

  ↳↳ [*IDb2LineAngularDimension*](#interfacesidb2lineangulardimensionmd)

  ↳↳ [*IDb3PointAngularDimension*](#interfacesidb3pointangulardimensionmd)

  ↳↳ [*IDbAlignedDimension*](#interfacesidbaligneddimensionmd)

  ↳↳ [*IDbArcDimension*](#interfacesidbarcdimensionmd)

  ↳↳ [*IDbDiametricDimension*](#interfacesidbdiametricdimensionmd)

  ↳↳ [*IDbOrdinateDimension*](#interfacesidbordinatedimensionmd)

  ↳↳ [*IDbRadialDimension*](#interfacesidbradialdimensionmd)

  ↳↳ [*IDbRadialDimensionLarge*](#interfacesidbradialdimensionlargemd)

  ↳↳ [*IDbRotatedDimension*](#interfacesidbrotateddimensionmd)

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidbdimstylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbDimStyle

## Interface: IDbDimStyle

[default](#modulesdefaultmd).IDbDimStyle

标注样式接口

### Table of contents

#### Properties

- [dimblk1](#dimblk1)
- [dimblk2](#dimblk2)
- [dimsah](#dimsah)
- [name](#name)
- [textStyle](#textstyle)

### Properties

#### dimblk1

• `Optional` **dimblk1**: *string*

符号和箭头1 .“” 实心闭合,“_DOT” 点,“_DOTSMALL” 小点,“_DOTBLANK” 空心点,“_ORIGIN” 指示原点,“_ORIGIN2” 指示原点 2,“_OPEN” 打开,“_OPEN90” 直角,“_OPEN30” 30 度角,“_CLOSED” 闭合,“_SMALL” 空心小点,“_NONE” 无,“_OBLIQUE” 倾斜,“_BOXFILLED” 填充框,“_BOXBLANK” 框,“_CLOSEDBLANK” 空心闭合,“_DATUMFILLED” 实心基准三角形,“_DATUMBLANK” 基准三角形,“_INTEGRAL” 完整标记,“_ARCHTICK” 建筑标记

___

#### dimblk2

• `Optional` **dimblk2**: *string*

符号和箭头2 .同dimblk1

___

#### dimsah

• `Optional` **dimsah**: *boolean*

尺寸线箭头块的显示 .

___

#### name

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

样式名称.

___

#### textStyle

• `Optional` **textStyle**: *string*

文字样式名称.


<a name="interfacesdefaultidbdocumentmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbDocument

## Interface: IDbDocument

[default](#modulesdefaultmd).IDbDocument

DB文档定义接口

### Table of contents

#### Properties

- [blocks](#blocks)
- [dimStyles](#dimstyles)
- [entitys](#entitys)
- [from](#from)
- [layers](#layers)
- [linetypes](#linetypes)
- [textStyles](#textstyles)

### Properties

#### blocks

• `Optional` **blocks**: [*IDbBlock*](#interfacesdefaultidbblockmd)[]

块定义.

___

#### dimStyles

• `Optional` **dimStyles**: [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[]

标注样式.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

实体集.

___

#### from

• `Optional` **from**: *string*

来源于哪个图，会在此图的上面进行修改或新增删除，格式如 形式为 mapid/version,如 exam/v1 .

___

#### layers

• `Optional` **layers**: [*IDbLayer*](#interfacesdefaultidblayermd)[]

图层集.

___

#### linetypes

• `Optional` **linetypes**: [*IDbLinetype*](#interfacesdefaultidblinetypemd)[]

线型.

___

#### textStyles

• `Optional` **textStyles**: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[]

文字样式.


<a name="interfacesdefaultidbellipsemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbEllipse

## Interface: IDbEllipse

[default](#modulesdefaultmd).IDbEllipse

椭圆实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbEllipse**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [minorAxis](#minoraxis)
- [objectid](#objectid)
- [radiusRatio](#radiusratio)
- [startAngle](#startangle)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### minorAxis

• `Optional` **minorAxis**: [*number*, *number*, *undefined* \| *number*]

主轴方向.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### radiusRatio

• `Optional` **radiusRatio**: *number*

短轴和长轴的比例.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidbentitymd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbEntity

## Interface: IDbEntity

[default](#modulesdefaultmd).IDbEntity

实体类型接口

### Hierarchy

- **IDbEntity**

  ↳ [*IDbLine*](#interfacesdefaultidblinemd)

  ↳ [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd)

  ↳ [*IDbHatch*](#interfacesdefaultidbhatchmd)

  ↳ [*IDbMText*](#interfacesdefaultidbmtextmd)

  ↳ [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd)

  ↳ [*IDbShape*](#interfacesdefaultidbshapemd)

  ↳ [*IDbText*](#interfacesdefaultidbtextmd)

  ↳ [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ [*IDbLine*](#interfacesidblinemd)

  ↳ [*IDbCurve*](#interfacesidbcurvemd)

  ↳ [*IDbBlockReference*](#interfacesidbblockreferencemd)

  ↳ [*IDbHatch*](#interfacesidbhatchmd)

  ↳ [*IDbMText*](#interfacesidbmtextmd)

  ↳ [*IDbRasterImage*](#interfacesidbrasterimagemd)

  ↳ [*IDbShape*](#interfacesidbshapemd)

  ↳ [*IDbText*](#interfacesidbtextmd)

  ↳ [*IDbDimension*](#interfacesidbdimensionmd)

### Implemented by

- [*DbEntity*](#classesdefaultdbentitymd)
- [*DbEntity*](#classesdbentitymd)

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

___

#### color

• `Optional` **color**: *number*

颜色.

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

___

#### layer

• `Optional` **layer**: *string*

图层.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

___

#### linetype

• `Optional` **linetype**: *string*

线型.

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

___

#### typename

• `Optional` **typename**: *string*

类型.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.


<a name="interfacesdefaultidbhatchmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbHatch

## Interface: IDbHatch

[default](#modulesdefaultmd).IDbHatch

填充实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbHatch**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [pattern](#pattern)
- [points](#points)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### pattern

• `Optional` **pattern**: *string*

填充图案, 缺省 SOLID

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidblayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbLayer

## Interface: IDbLayer

[default](#modulesdefaultmd).IDbLayer

图层接口

### Table of contents

#### Properties

- [color](#color)
- [linetype](#linetype)
- [name](#name)

### Properties

#### color

• `Optional` **color**: *number*

图层颜色索引.

___

#### linetype

• `Optional` **linetype**: *string*

图层线型，缺省 CONTINUOUS .

___

#### name

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

图层名称.


<a name="interfacesdefaultidblinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbLine

## Interface: IDbLine

[default](#modulesdefaultmd).IDbLine

线实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbLine**

### Implemented by

- [*DbLine*](#classesdefaultdblinemd)
- [*DbLine*](#classesdblinemd)

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [end](#end)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [start](#start)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### end

• `Optional` **end**: [*number*, *number*, *undefined* \| *number*]

终点.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### start

• `Optional` **start**: [*number*, *number*, *undefined* \| *number*]

起点.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidblinetypemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbLinetype

## Interface: IDbLinetype

[default](#modulesdefaultmd).IDbLinetype

线型接口

### Table of contents

#### Properties

- [comments](#comments)
- [name](#name)
- [style](#style)

### Properties

#### comments

• `Optional` **comments**: *string*

评论.

___

#### name

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

线型名称.

___

#### style

• `Optional` **style**: [*IDbLinetypeStyle*](#interfacesdefaultidblinetypestylemd)[]

线型样式 .


<a name="interfacesdefaultidblinetypestylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbLinetypeStyle

## Interface: IDbLinetypeStyle

[default](#modulesdefaultmd).IDbLinetypeStyle

线型样式接口

### Table of contents

#### Properties

- [method](#method)
- [parameter](#parameter)

### Properties

#### method

• `Optional` **method**: [*numDashes*](#numdashes) \| [*patternLength*](#patternlength) \| [*dashLengthAt*](#dashlengthat) \| [*shapeStyleAt*](#shapestyleat) \| [*shapeOffsetAt*](#shapeoffsetat) \| [*textAt*](#textat) \| [*shapeScaleAt*](#shapescaleat) \| [*shapeNumberAt*](#shapenumberat) \| [*shapeRotationAt*](#shaperotationat) \| [*isScaledToFit*](#isscaledtofit)

方法.

___

#### parameter

• `Optional` **parameter**: *string*

参数.


<a name="interfacesdefaultidbmatrixopmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbMatrixOp

## Interface: IDbMatrixOp

[default](#modulesdefaultmd).IDbMatrixOp

矩阵操作接口

### Table of contents

#### Properties

- [angle](#angle)
- [op](#op)
- [origin](#origin)
- [scale](#scale)
- [vector](#vector)

### Properties

#### angle

• `Optional` **angle**: *number*

旋转的角度 .

___

#### op

• `Optional` **op**: [*translation*](#translation) \| [*scale*](#scale) \| [*rotate*](#rotate)

操作名称.

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*]

基点.

___

#### scale

• `Optional` **scale**: *number*

缩放大小 .

___

#### vector

• `Optional` **vector**: [*number*, *number*, *undefined* \| *number*]

平移的向量.


<a name="interfacesdefaultidbmtextmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbMText

## Interface: IDbMText

[default](#modulesdefaultmd).IDbMText

多行文本实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbMText**

### Table of contents

#### Properties

- [alpha](#alpha)
- [attachment](#attachment)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [delete](#delete)
- [height](#height)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [location](#location)
- [matrix](#matrix)
- [objectid](#objectid)
- [rotation](#rotation)
- [textHeight](#textheight)
- [textStyle](#textstyle)
- [typename](#typename)
- [visibility](#visibility)
- [width](#width)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### attachment

• `Optional` **attachment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright) \| [*kBaseLeft*](#kbaseleft) \| [*kBaseCenter*](#kbasecenter) \| [*kBaseRight*](#kbaseright) \| [*kBaseAlign*](#kbasealign) \| [*kBottomAlign*](#kbottomalign) \| [*kMiddleAlign*](#kmiddlealign) \| [*kTopAlign*](#ktopalign) \| [*kBaseFit*](#kbasefit) \| [*kBottomFit*](#kbottomfit) \| [*kMiddleFit*](#kmiddlefit) \| [*kTopFit*](#ktopfit) \| [*kBaseMid*](#kbasemid) \| [*kBottomMid*](#kbottommid) \| [*kMiddleMid*](#kmiddlemid) \| [*kTopMid*](#ktopmid)

对齐方式.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### height

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

高.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### location

• `Optional` **location**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### textHeight

• `Optional` **textHeight**: *number*

文本高.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### width

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

宽.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidbordinatedimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbOrdinateDimension

## Interface: IDbOrdinateDimension

[default](#modulesdefaultmd).IDbOrdinateDimension

坐标标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbOrdinateDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [definingPoint](#definingpoint)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderEndPoint](#leaderendpoint)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [origin](#origin)
- [textPosition](#textposition)
- [typename](#typename)
- [useXAxis](#usexaxis)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### definingPoint

• `Optional` **definingPoint**: [*number*, *number*, *undefined* \| *number*][]

定义点.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### leaderEndPoint

• `Optional` **leaderEndPoint**: [*number*, *number*, *undefined* \| *number*][]

引线点.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*][]

基点.

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### useXAxis

• `Optional` **useXAxis**: *boolean*

是否用X轴.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbpolylinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbPolyline

## Interface: IDbPolyline

[default](#modulesdefaultmd).IDbPolyline

折线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbPolyline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [bulge](#bulge)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [elevation](#elevation)
- [endWidth](#endwidth)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [points](#points)
- [startWidth](#startwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### bulge

• `Optional` **bulge**: *number*[]

凸度.

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### endWidth

• `Optional` **endWidth**: *number*[]

终点宽.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### startWidth

• `Optional` **startWidth**: *number*[]

起点宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidbradialdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbRadialDimension

## Interface: IDbRadialDimension

[default](#modulesdefaultmd).IDbRadialDimension

半径标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbRadialDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [chordPoint](#chordpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbradialdimensionlargemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbRadialDimensionLarge

## Interface: IDbRadialDimensionLarge

[default](#modulesdefaultmd).IDbRadialDimensionLarge

半径折线标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbRadialDimensionLarge**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [chordPoint](#chordpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [jogAngle](#jogangle)
- [jogPoint](#jogpoint)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [overrideCenter](#overridecenter)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### jogAngle

• `Optional` **jogAngle**: *number*

设置此Dimension实体的折角。.

___

#### jogPoint

• `Optional` **jogPoint**: [*number*, *number*, *undefined* \| *number*][]

设置此Dimension实体的折角点。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### overrideCenter

• `Optional` **overrideCenter**: [*number*, *number*, *undefined* \| *number*][]

设置由该Dimension实体确定尺寸的弧的WCS覆盖中心。.

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbrasterimagemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbRasterImage

## Interface: IDbRasterImage

[default](#modulesdefaultmd).IDbRasterImage

栅格图片实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbRasterImage**

  ↳↳ [*IDbWipeout*](#interfacesdefaultidbwipeoutmd)

  ↳↳ [*IDbWipeout*](#interfacesidbwipeoutmd)

### Table of contents

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [height](#height)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [width](#width)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### height

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

高.

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### width

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

宽.

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.


<a name="interfacesdefaultidbrotateddimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbRotatedDimension

## Interface: IDbRotatedDimension

[default](#modulesdefaultmd).IDbRotatedDimension

转角标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbRotatedDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimLinePoint](#dimlinepoint)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点。.

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线上点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线上点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesdefaultidbshapemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbShape

## Interface: IDbShape

[default](#modulesdefaultmd).IDbShape

型实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbShape**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [name](#name)
- [normal](#normal)
- [objectid](#objectid)
- [position](#position)
- [rotation](#rotation)
- [size](#size)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### name

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

型名称.

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### size

• `Optional` **size**: *number*

大小.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidbsplinemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbSpline

## Interface: IDbSpline

[default](#modulesdefaultmd).IDbSpline

样条曲线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbSpline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [controlPoints](#controlpoints)
- [degree](#degree)
- [delete](#delete)
- [fitPoints](#fitpoints)
- [fitTol](#fittol)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### controlPoints

• `Optional` **controlPoints**: [*number*, *number*, *undefined* \| *number*][]

控制点.

___

#### degree

• `Optional` **degree**: *number*

Increased the degree of this spline to the specified value.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### fitPoints

• `Optional` **fitPoints**: [*number*, *number*, *undefined* \| *number*][]

拟合点.

___

#### fitTol

• `Optional` **fitTol**: *number*

the curve fitting tolerance for this Spline entity.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesdefaultidbtablemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbTable

## Interface: IDbTable

[default](#modulesdefaultmd).IDbTable

表格实体类型接口

### Hierarchy

- [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd)

  ↳ **IDbTable**

### Table of contents

#### Properties

- [alignment](#alignment)
- [alpha](#alpha)
- [backgroundColor](#backgroundcolor)
- [blockname](#blockname)
- [color](#color)
- [colorIndex](#colorindex)
- [columnWidth](#columnwidth)
- [contentColor](#contentcolor)
- [data](#data)
- [delete](#delete)
- [directionBottomToTop](#directionbottomtotop)
- [disableTitle](#disabletitle)
- [gridColor](#gridcolor)
- [gridVisibility](#gridvisibility)
- [height](#height)
- [horzCellMargin](#horzcellmargin)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [mergeCells](#mergecells)
- [normal](#normal)
- [numColumns](#numcolumns)
- [numRows](#numrows)
- [objectid](#objectid)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [rowHeight](#rowheight)
- [scaleFactors](#scalefactors)
- [tableStyleName](#tablestylename)
- [textHeight](#textheight)
- [typename](#typename)
- [vertCellMargin](#vertcellmargin)
- [visibility](#visibility)
- [width](#width)
- [xdata](#xdata)

### Properties

#### alignment

• `Optional` **alignment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright)

单元格对齐方式(所有单元格).

___

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[alpha](#alpha)

___

#### backgroundColor

• `Optional` **backgroundColor**: *number*

背景颜色(所有单元格).

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[blockname](#blockname)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[colorIndex](#colorindex)

___

#### columnWidth

• `Optional` **columnWidth**: *number*

列宽.

___

#### contentColor

• `Optional` **contentColor**: *number*

文字颜色(所有单元格).

___

#### data

• `Optional` **data**: (*string* \| { `alignment`: [*TableCellAlignment*](#enumsdefaulttablecellalignmentmd) ; `backgroundColor`: *number* ; `contentColor`: *number* ; `gridColor`: *number* ; `gridVisibility`: *boolean* ; `text`: *string* ; `textHeight`: *number*  })[][]

数据.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[delete](#delete)

___

#### directionBottomToTop

• `Optional` **directionBottomToTop**: *boolean*

表格方向是否从上至上.

___

#### disableTitle

• `Optional` **disableTitle**: *boolean*

是否禁用标题.

___

#### gridColor

• `Optional` **gridColor**: *number*

网格线颜色(所有单元格).

___

#### gridVisibility

• `Optional` **gridVisibility**: [*boolean*, *number*, *number*]

显示网格线.第二个参数(kHorzTop(1), kHorzInside(2), kHorzBottom(4), kVertLeft(8), kVertInside(16), kVertRight(32);  第三个参数 kTitleRow(1), kHeaderRow(2), kDataRow(4)

___

#### height

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

表格总共的高度.

___

#### horzCellMargin

• `Optional` **horzCellMargin**: *number*

水平方向单元格边距.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[matrix](#matrix)

___

#### mergeCells

• `Optional` **mergeCells**: [*number*, *number*, *number*, *number*][]

需要合并的单元格 [[minRow, maxRow,minColumn, maxColumn], ...]

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[normal](#normal)

___

#### numColumns

• `Optional` **numColumns**: *number*

表格列数.

___

#### numRows

• `Optional` **numRows**: *number*

表格行数.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[position](#position)

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[ref](#ref)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[rotation](#rotation)

___

#### rowHeight

• `Optional` **rowHeight**: *number*

行高.

___

#### scaleFactors

• `Optional` **scaleFactors**: *number*

缩放因子.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[scaleFactors](#scalefactors)

___

#### tableStyleName

• `Optional` **tableStyleName**: *string*

表样式名称.

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度(所有单元格).

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[typename](#typename)

___

#### vertCellMargin

• `Optional` **vertCellMargin**: *number*

竖直方向单元格边距.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[visibility](#visibility)

___

#### width

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

表格总共的宽度.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[xdata](#xdata)


<a name="interfacesdefaultidbtextmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbText

## Interface: IDbText

[default](#modulesdefaultmd).IDbText

单行文本实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbText**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [delete](#delete)
- [height](#height)
- [horizontalMode](#horizontalmode)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [position](#position)
- [rotation](#rotation)
- [text](#text)
- [textStyle](#textstyle)
- [typename](#typename)
- [verticalMode](#verticalmode)
- [visibility](#visibility)
- [widthFactor](#widthfactor)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容， 同text.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### height

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

高.

___

#### horizontalMode

• `Optional` **horizontalMode**: [*kTextLeft*](#ktextleft) \| [*kTextCenter*](#ktextcenter) \| [*kTextRight*](#ktextright) \| [*kTextAlign*](#ktextalign) \| [*kTextMid*](#ktextmid) \| [*kTextFit*](#ktextfit)

水平模式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### text

• `Optional` **text**: *string*

文本内容， 同contents.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### verticalMode

• `Optional` **verticalMode**: [*kTextBase*](#ktextbase) \| [*kTextBottom*](#ktextbottom) \| [*kTextVertMid*](#ktextvertmid) \| [*kTextTop*](#ktexttop)

垂直模式.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### widthFactor

• `Optional` **widthFactor**: *number*

宽度因子.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesdefaultidbtextstylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbTextStyle

## Interface: IDbTextStyle

[default](#modulesdefaultmd).IDbTextStyle

文字样式接口

### Table of contents

#### Properties

- [bold](#bold)
- [charset](#charset)
- [fileName](#filename)
- [isShapeFile](#isshapefile)
- [italic](#italic)
- [name](#name)
- [obliquingAngle](#obliquingangle)
- [pitchAndFamily](#pitchandfamily)
- [priorSize](#priorsize)
- [textSize](#textsize)
- [typeFace](#typeface)
- [xScale](#xscale)

### Properties

#### bold

• `Optional` **bold**: *boolean*

是否粗体 .

___

#### charset

• `Optional` **charset**: *number*

字符集标识符，缺省0 .

___

#### fileName

• `Optional` **fileName**: *string*

字体文件名 .

___

#### isShapeFile

• `Optional` **isShapeFile**: *boolean*

是否型文件.

___

#### italic

• `Optional` **italic**: *boolean*

是否斜体 .

___

#### name

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

文字样式名称.

___

#### obliquingAngle

• `Optional` **obliquingAngle**: *number*

设置字母的倾斜角度。正角度顺时针（向右）倾斜字母。负值使字母逆时针倾斜（向左）。通过将值2*PI相加，将负值转换为其正当量。 默认情况下，初始值为0.0.

___

#### pitchAndFamily

• `Optional` **pitchAndFamily**: *number*

字符间距和族，缺省34 .

___

#### priorSize

• `Optional` **priorSize**: *number*

设置最近使用此文本样式创建的文本的先前大小 .

___

#### textSize

• `Optional` **textSize**: *number*

文本大小 .

___

#### typeFace

• `Optional` **typeFace**: *string*

字体 .

___

#### xScale

• `Optional` **xScale**: *number*

x轴缩放 .


<a name="interfacesdefaultidbwipeoutmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDbWipeout

## Interface: IDbWipeout

[default](#modulesdefaultmd).IDbWipeout

遮罩实体类型接口

### Hierarchy

- [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd)

  ↳ **IDbWipeout**

### Table of contents

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [height](#height)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [points](#points)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [width](#width)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[brightness](#brightness)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[delete](#delete)

___

#### height

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

高.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[height](#height)

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptClip](#imagedisplayoptclip)

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptShow](#imagedisplayoptshow)

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptTransparent](#imagedisplayopttransparent)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[objectid](#objectid)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[pixelHeight](#pixelheight)

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[pixelWidth](#pixelwidth)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[position](#position)

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[sourceHttpUrl](#sourcehttpurl)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[units](#units)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[visibility](#visibility)

___

#### width

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

宽.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[width](#width)

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[xPelsPerUnit](#xpelsperunit)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[yPelsPerUnit](#ypelsperunit)


<a name="interfacesdefaultideletecachemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDeleteCache

## Interface: IDeleteCache

[default](#modulesdefaultmd).IDeleteCache

清空地图缓存接口

### Table of contents

#### Properties

- [key](#key)
- [mapid](#mapid)
- [version](#version)

### Properties

#### key

• `Optional` **key**: *string*

匹配的键值.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### version

• `Optional` **version**: *string*

地图版本(为空时采用当前打开的地图版本, 如清空所有版本缓存，输入"*"号).


<a name="interfacesdefaultideletestylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDeleteStyle

## Interface: IDeleteStyle

[default](#modulesdefaultmd).IDeleteStyle

删除地图样式接口

### Table of contents

#### Properties

- [mapid](#mapid)
- [onlycleardata](#onlycleardata)
- [styleid](#styleid)
- [version](#version)

### Properties

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### onlycleardata

• **onlycleardata**: *boolean*

是否只清空数据, false 删除表和数据; true 只删除数据.

___

#### styleid

• **styleid**: *string*

样式名称.如删除所有样式，输入"*"号； 删除所有系统产生的样式，输入 "a*"；内存打开的样式,输入"m*";几何打开的样式输入 "s*"

___

#### version

• `Optional` **version**: *string*

地图版本(为空时采用当前打开的地图版本, 如删除所有版本，输入"*"号).


<a name="interfacesdefaultidrawmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDraw

## Interface: IDraw

[default](#modulesdefaultmd).IDraw

### Table of contents

#### Properties

- [Tool](#tool)
- [actionDraw](#actiondraw)
- [actionDrawCircle](#actiondrawcircle)
- [actionDrawLineSting](#actiondrawlinesting)
- [actionDrawPoint](#actiondrawpoint)
- [actionDrawPolygon](#actiondrawpolygon)
- [actionDrawRectangle](#actiondrawrectangle)
- [actionDrawSlantRectangle](#actiondrawslantrectangle)
- [actionSelect](#actionselect)
- [defaultOptions](#defaultoptions)
- [modes](#modes)

### Properties

#### Tool

• **Tool**: (`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

工具类.

##### Type declaration

\+ **new IDraw**(`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*IDrawOptions*](#interfacesdefaultidrawoptionsmd) |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### actionDraw

• **actionDraw**: (`map`: *any*, `modename`: *string*, `options?`: *Record*<string, any\>) => *any*

绘制动作.

##### Type declaration

▸ (`map`: *any*, `modename`: *string*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `modename` | *string* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawCircle

• **actionDrawCircle**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制圆动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawLineSting

• **actionDrawLineSting**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制线动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawPoint

• **actionDrawPoint**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制点动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawPolygon

• **actionDrawPolygon**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制多边形动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawRectangle

• **actionDrawRectangle**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制矩形动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawSlantRectangle

• **actionDrawSlantRectangle**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制斜矩形动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionSelect

• **actionSelect**: (`map`: *any*, `draw`: *any*, `options?`: *Record*<string, any\>) => *any*

选择实体. 如果只能选择一个实体，options选项请输入selectSingle为true

##### Type declaration

▸ (`map`: *any*, `draw`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `draw` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### defaultOptions

• **defaultOptions**: () => *any*

缺省配置项.

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### modes

• **modes**: *Record*<string, any\>

模式.


<a name="interfacesdefaultidrawoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDrawOptions

## Interface: IDrawOptions

[default](#modulesdefaultmd).IDrawOptions

### Indexable

▪ [key: *string*]: *any*

### Table of contents

#### Properties

- [addControls](#addcontrols)
- [api](#api)
- [controls](#controls)
- [guides](#guides)
- [midpoints](#midpoints)
- [modes](#modes)
- [snap](#snap)
- [snapOptions](#snapoptions)
- [styles](#styles)
- [userProperties](#userproperties)

### Properties

#### addControls

• `Optional` **addControls**: *any*[]

___

#### api

• **api**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `getSnapFeatures` | *any* |

___

#### controls

• `Optional` **controls**: *Record*<string, boolean\>

___

#### guides

• `Optional` **guides**: *boolean*

___

#### midpoints

• `Optional` **midpoints**: *boolean*

___

#### modes

• `Optional` **modes**: *Record*<string, any\>

___

#### snap

• `Optional` **snap**: *boolean*

___

#### snapOptions

• **snapOptions**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `snapGridPx?` | *number* |
| `snapPx?` | *number* |
| `snapToMidPoints?` | *boolean* |
| `snapVertexPriorityDistance?` | *number* |

___

#### styles

• `Optional` **styles**: *any*[]

___

#### userProperties

• `Optional` **userProperties**: *boolean*


<a name="interfacesdefaultidrawtoolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IDrawTool

## Interface: IDrawTool

[default](#modulesdefaultmd).IDrawTool

### Table of contents

#### Properties

- [add](#add)
- [changeMode](#changemode)
- [combineFeatures](#combinefeatures)
- [delete](#delete)
- [deleteAll](#deleteall)
- [doAction](#doaction)
- [forceRefresh](#forcerefresh)
- [get](#get)
- [getAll](#getall)
- [getFeatureIdsAt](#getfeatureidsat)
- [getMode](#getmode)
- [getSelected](#getselected)
- [getSelectedIds](#getselectedids)
- [getSelectedPoints](#getselectedpoints)
- [modes](#modes)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [options](#options)
- [redo](#redo)
- [set](#set)
- [setFeatureProperty](#setfeatureproperty)
- [trash](#trash)
- [uncombineFeatures](#uncombinefeatures)
- [undo](#undo)

### Properties

#### add

• **add**: (`geojson`: *any*) => *string*[]

此方法采用 GeoJSON Feature、FeatureCollection 或 Geometry 并将其添加到 Draw。它返回一个 id 数组，用于与添加的功能进行交互。如果某个功能没有自己的 id，则会自动生成一个

##### Type declaration

▸ (`geojson`: *any*): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `geojson` | *any* |

**Returns:** *string*[]

___

#### changeMode

• **changeMode**: (`mode`: *string*, `modeOptions?`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

将绘图更改为另一种模式。返回用于链接的绘制实例

##### Type declaration

▸ (`mode`: *string*, `modeOptions?`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `mode` | *string* |
| `modeOptions?` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### combineFeatures

• **combineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的combineFeatures操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### delete

• **delete**: (`featureIds`: *string* \| *string*[]) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除具有指定 ID 的功能。返回用于链接的绘制实例

##### Type declaration

▸ (`featureIds`: *string* \| *string*[]): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureIds` | *string* \| *string*[] |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### deleteAll

• **deleteAll**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除所有功能。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### doAction

• **doAction**: (`actionName`: *string*) => *any*

在当前模式下执行动作

##### Type declaration

▸ (`actionName`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `actionName` | *string* |

**Returns:** *any*

___

#### forceRefresh

• **forceRefresh**: () => *any*

强制刷新

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### get

• **get**: (`id`: *string*) => *any*

返回 Draw 中具有指定 id 的 GeoJSON 功能，或者undefined如果 id 不匹配任何功能

##### Type declaration

▸ (`id`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `id` | *string* |

**Returns:** *any*

___

#### getAll

• **getAll**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

___

#### getFeatureIdsAt

• **getFeatureIdsAt**: (`point`: { `x`: *number* ; `y`: *number*  }) => *string*[]

返回当前在指定点呈现的功能的功能 ID 数组。

##### Type declaration

▸ (`point`: { `x`: *number* ; `y`: *number*  }): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | *object* |
| `point.x` | *number* |
| `point.y` | *number* |

**Returns:** *string*[]

___

#### getMode

• **getMode**: () => *string*

返回 Draw 的当前模式

##### Type declaration

▸ (): *string*

**Returns:** *string*

___

#### getSelected

• **getSelected**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回当前选择的所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

___

#### getSelectedIds

• **getSelectedIds**: () => *string*[]

返回当前所选功能的功能 ID 数组

##### Type declaration

▸ (): *string*[]

**Returns:** *string*[]

___

#### getSelectedPoints

• **getSelectedPoints**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回代表当前选择的所有顶点的 FeatureCollection 点

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

___

#### modes

• **modes**: *Record*<string, any\>

内部变量模式值

___

#### onAdd

• **onAdd**: (`map`: *any*) => *any*

增加时回调接口

##### Type declaration

▸ (`map`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |

**Returns:** *any*

___

#### onRemove

• **onRemove**: () => *any*

移除时回调接口

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### options

• **options**: *Record*<string, any\>

内部变量选项值

___

#### redo

• **redo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### set

• **set**: (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>) => *string*[]

将 Draw 的功能设置为指定的 FeatureCollection

##### Type declaration

▸ (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureCollection` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *string*[]

___

#### setFeatureProperty

• **setFeatureProperty**: (`featureId`: *string*, `property`: *string*, `value`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

设置具有指定 id 的要素的属性值。返回用于链接的绘制实例

##### Type declaration

▸ (`featureId`: *string*, `property`: *string*, `value`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureId` | *string* |
| `property` | *string* |
| `value` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### trash

• **trash**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的删除trash操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### uncombineFeatures

• **uncombineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### undo

• **undo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*


<a name="interfacesdefaultiexportlayoutmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IExportLayout

## Interface: IExportLayout

[default](#modulesdefaultmd).IExportLayout

导出布局空间为dwg图

### Table of contents

#### Properties

- [layoutIndex](#layoutindex)
- [layoutName](#layoutname)
- [mapid](#mapid)
- [version](#version)

### Properties

#### layoutIndex

• `Optional` **layoutIndex**: *string*

布局索引，layoutIndex和layoutName只要输入一个就行，layoutIndex优先。如果都为空，则使用dwg当前的布局空间.

___

#### layoutName

• `Optional` **layoutName**: *string*

布局名称. layoutIndex和layoutName只要输入一个就行，layoutIndex优先。如果都为空，则使用dwg当前的布局空间.

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesdefaultiexprqueryfeaturesmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IExprQueryFeatures

## Interface: IExprQueryFeatures

[default](#modulesdefaultmd).IExprQueryFeatures

表达式查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IExprQueryFeatures**

### Table of contents

#### Properties

- [beginpos](#beginpos)
- [expr](#expr)
- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [zoom](#zoom)

### Properties

#### beginpos

• `Optional` **beginpos**: *number*

记录开始位置.

___

#### expr

• **expr**: *string*

表达式.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesdefaultilinelayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ILineLayerOptions

## Interface: ILineLayerOptions

[default](#modulesdefaultmd).ILineLayerOptions

### Implemented by

- [*GlPolyLineLayer*](#classesdefaultglpolylinelayermd)
- [*GlPolyLineLayer*](#classesglpolylinelayermd)

### Table of contents

#### Properties

- [points](#points)

### Properties

#### points

• **points**: { `lat`: *number* ; `lng`: *number*  }[]


<a name="interfacesdefaultimapdiffmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IMapDiff

## Interface: IMapDiff

[default](#modulesdefaultmd).IMapDiff

比较地图不同

### Table of contents

#### Properties

- [cellsize](#cellsize)
- [diffMinAlpha](#diffminalpha)
- [diffMinColor](#diffmincolor)
- [diffMinPixel](#diffminpixel)
- [layer1](#layer1)
- [layer2](#layer2)
- [mapid1](#mapid1)
- [mapid2](#mapid2)
- [noCompareDelete](#nocomparedelete)
- [noCompareNew](#nocomparenew)
- [size](#size)
- [version1](#version1)
- [version2](#version2)

### Properties

#### cellsize

• `Optional` **cellsize**: *number*

比较单元大小.

___

#### diffMinAlpha

• `Optional` **diffMinAlpha**: *number*

不同的透明最小值.

___

#### diffMinColor

• `Optional` **diffMinColor**: *number*

不同的颜色最小值.

___

#### diffMinPixel

• `Optional` **diffMinPixel**: *number*

不同的像素最小值.

___

#### layer1

• `Optional` **layer1**: *string*

地图一样式图层.

___

#### layer2

• `Optional` **layer2**: *string*

地图二样式图层.

___

#### mapid1

• **mapid1**: *string*

地图一ID.

___

#### mapid2

• **mapid2**: *string*

地图二ID.

___

#### noCompareDelete

• `Optional` **noCompareDelete**: *boolean*

不比较删除部分.

___

#### noCompareNew

• `Optional` **noCompareNew**: *boolean*

不比较新增部分.

___

#### size

• `Optional` **size**: *number*

比较大小.

___

#### version1

• `Optional` **version1**: *string*

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

___

#### version2

• `Optional` **version2**: *string*

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


<a name="interfacesdefaultimaplayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IMapLayer

## Interface: IMapLayer

[default](#modulesdefaultmd).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="interfacesdefaultimapstyleparammd"></a>

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

## Interface: IMapStyleParam

[default](#modulesdefaultmd).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="interfacesdefaultimatchobjectmd"></a>

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

## Interface: IMatchObject

[default](#modulesdefaultmd).IMatchObject

目标匹配

### Table of contents

#### Properties

- [canOverlap](#canoverlap)
- [layer](#layer)
- [layeron](#layeron)
- [mapBounds](#mapbounds)
- [mapid](#mapid)
- [maxCount](#maxcount)
- [maxOverlap](#maxoverlap)
- [method](#method)
- [minReduceArea](#minreducearea)
- [objectBounds](#objectbounds)
- [objectIds](#objectids)
- [score](#score)
- [size](#size)
- [tolerance1](#tolerance1)
- [tolerance2](#tolerance2)
- [tolerance3](#tolerance3)
- [tolerance4](#tolerance4)
- [toleranceAngle](#toleranceangle)
- [useToleranceRange](#usetolerancerange)
- [version](#version)

### Properties

#### canOverlap

• `Optional` **canOverlap**: *boolean*

允许重叠 (默认false).

___

#### layer

• `Optional` **layer**: *string*

图层样式名.为空时，将由选择的实体的图层来决定

___

#### layeron

• `Optional` **layeron**: *string*

目标匹配的地图打开的图层

___

#### mapBounds

• `Optional` **mapBounds**: *string*

目标匹配的地图范围，默认为全图的数据范围.

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### maxCount

• `Optional` **maxCount**: *number*

允许返回的最大条数. 默认 200

___

#### maxOverlap

• `Optional` **maxOverlap**: *number*

重叠比例 范围(0-0.8)，默认 0.3.

___

#### method

• `Optional` **method**: ``"matchTemplate"`` \| ``"matchPattern"``

方法. 默认 matchPattern

___

#### minReduceArea

• `Optional` **minReduceArea**: *number*

金字塔大小 范围(64-2048).默认256， 方法为matchPattern有效

___

#### objectBounds

• **objectBounds**: *string*

目标匹配的实体范围

___

#### objectIds

• `Optional` **objectIds**: *string*

目标匹配的实体objectid数组，用||隔开.

___

#### score

• `Optional` **score**: *number*

分数，小于此分类将不显示 (0 -1)，默认 0.6 .

___

#### size

• `Optional` **size**: *number*

匹配时的图像尺寸，默认10000

___

#### tolerance1

• `Optional` **tolerance1**: *number*

角度区间1开始角度. 方法为matchPattern有效

___

#### tolerance2

• `Optional` **tolerance2**: *number*

角度区间1结束角度. 方法为matchPattern有效

___

#### tolerance3

• `Optional` **tolerance3**: *number*

角度区间2开始角度. 方法为matchPattern有效

___

#### tolerance4

• `Optional` **tolerance4**: *number*

角度区间2结束角度. 方法为matchPattern有效

___

#### toleranceAngle

• `Optional` **toleranceAngle**: *number*

角度范围(-180, 180)有旋转的时候需要。方法为matchPattern有效. 默认180

___

#### useToleranceRange

• `Optional` **useToleranceRange**: *boolean*

是否使用角度区间范围,默认false. 方法为matchPattern有效

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesdefaultinertiaoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / InertiaOptions

## Interface: InertiaOptions

[default](#modulesdefaultmd).InertiaOptions

### Hierarchy

- [*DecayOptions*](#interfacesdefaultdecayoptionsmd)

  ↳ **InertiaOptions**

### Table of contents

#### Properties

- [bounceDamping](#bouncedamping)
- [bounceStiffness](#bouncestiffness)
- [driver](#driver)
- [from](#from)
- [max](#max)
- [min](#min)
- [modifyTarget](#modifytarget)
- [onComplete](#oncomplete)
- [onStop](#onstop)
- [onUpdate](#onupdate)
- [power](#power)
- [restDelta](#restdelta)
- [restSpeed](#restspeed)
- [timeConstant](#timeconstant)
- [to](#to)
- [velocity](#velocity)

### Properties

#### bounceDamping

• `Optional` **bounceDamping**: *number*

___

#### bounceStiffness

• `Optional` **bounceStiffness**: *number*

___

#### driver

• `Optional` **driver**: [*Driver*](#driver)

___

#### from

• `Optional` **from**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[from](#from)

___

#### max

• `Optional` **max**: *number*

___

#### min

• `Optional` **min**: *number*

___

#### modifyTarget

• `Optional` **modifyTarget**: (`target`: *number*) => *number*

##### Type declaration

▸ (`target`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *number* |

**Returns:** *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[modifyTarget](#modifytarget)

___

#### onComplete

• `Optional` **onComplete**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onStop

• `Optional` **onStop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onUpdate

• `Optional` **onUpdate**: (`v`: *number*) => *void*

##### Type declaration

▸ (`v`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *void*

___

#### power

• `Optional` **power**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[power](#power)

___

#### restDelta

• `Optional` **restDelta**: *number*

Overrides: [DecayOptions](#interfacesdefaultdecayoptionsmd).[restDelta](#restdelta)

___

#### restSpeed

• `Optional` **restSpeed**: *number*

___

#### timeConstant

• `Optional` **timeConstant**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[timeConstant](#timeconstant)

___

#### to

• `Optional` **to**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[to](#to)

___

#### velocity

• `Optional` **velocity**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[velocity](#velocity)


<a name="interfacesdefaultiopenmapbaseparammd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IOpenMapBaseParam

## Interface: IOpenMapBaseParam

[default](#modulesdefaultmd).IOpenMapBaseParam

地图打开参数

### Hierarchy

- **IOpenMapBaseParam**

  ↳ [*IOpenMapParam*](#interfacesdefaultiopenmapparammd)

  ↳ [*IUpdateMapParam*](#interfacesdefaultiupdatemapparammd)

  ↳ [*IOpenMapParam*](#interfacesiopenmapparammd)

  ↳ [*IUpdateMapParam*](#interfacesiupdatemapparammd)

### Table of contents

#### Properties

- [accessKey](#accesskey)
- [cadVersion](#cadversion)
- [cbInputPassword](#cbinputpassword)
- [filedoc](#filedoc)
- [fileid](#fileid)
- [filename](#filename)
- [fontReplaceRule](#fontreplacerule)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [notReplaceLineType](#notreplacelinetype)
- [notUseDefaultShxFont](#notusedefaultshxfont)
- [notUseDefaultTtfFont](#notusedefaultttffont)
- [openFinishMaxTryCount](#openfinishmaxtrycount)
- [openFinishTryInterval](#openfinishtryinterval)
- [renderAccuracy](#renderaccuracy)
- [secretKey](#secretkey)
- [style](#style)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [uploadname](#uploadname)

### Properties

#### accessKey

• `Optional` **accessKey**: *string*

访问权限的key，权限小于secretKey，不能对图进行删除等操作.

___

#### cadVersion

• `Optional` **cadVersion**: *string*

新建地图有fileDoc时有效

___

#### cbInputPassword

• `Optional` **cbInputPassword**: (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }) => *Promise*<string\>

要求输入密码回调.

##### Type declaration

▸ (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }): *Promise*<string\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | *object* |
| `param.isPasswordError` | *boolean* |
| `param.mapid` | *string* |
| `param.result` | *any* |
| `param.tryPasswordCount` | *number* |

**Returns:** *Promise*<string\>

___

#### filedoc

• `Optional` **filedoc**: *string*

文件文档.

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID. 地图ID第一次打开时，需传递fileid

___

#### filename

• `Optional` **filename**: *string*

文件名称.

___

#### fontReplaceRule

• `Optional` **fontReplaceRule**: *string* \| *Record*<string, string\>

字符替换规则. openMap返回的字段findFonts为系统查找的字体替换规则。如需修改默认的话，请传入替换的字体规则，如fontReplaceRule: {"tssdeng.shx_1": "_default_.ttc"}

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x 第一次打开图像类型时有效

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率 第一次打开图像类型时有效, 一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y 第一次打开图像类型时有效

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

___

#### notReplaceLineType

• `Optional` **notReplaceLineType**: *boolean*

不自动替换线型.

___

#### notUseDefaultShxFont

• `Optional` **notUseDefaultShxFont**: *boolean*

不使用缺省的型文字文件，将使用缺省的字体来代替型文件.

___

#### notUseDefaultTtfFont

• `Optional` **notUseDefaultTtfFont**: *boolean*

不使用缺省的字体文件，将使用缺省的型文件来代替字体文件.

___

#### openFinishMaxTryCount

• `Optional` **openFinishMaxTryCount**: *number*

判断是否打开或更新成功重试最大次数。默认 120 次

___

#### openFinishTryInterval

• `Optional` **openFinishTryInterval**: *number*

判断是否打开或更新成功重试间隔（秒）。默认 5s 一次

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

___

#### secretKey

• `Optional` **secretKey**: *string*

秘钥(第一次上传打开图时有效，表示此图需要密码保护).

___

#### style

• `Optional` **style**: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

样式.

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

___

#### uploadname

• `Optional` **uploadname**: *string*

上传时的文件名.


<a name="interfacesdefaultiopenmapparammd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IOpenMapParam

## Interface: IOpenMapParam

[default](#modulesdefaultmd).IOpenMapParam

地图打开参数

### Hierarchy

- [*IOpenMapBaseParam*](#interfacesdefaultiopenmapbaseparammd)

  ↳ **IOpenMapParam**

### Table of contents

#### Properties

- [accessKey](#accesskey)
- [cadVersion](#cadversion)
- [cbInputPassword](#cbinputpassword)
- [filedoc](#filedoc)
- [fileid](#fileid)
- [filename](#filename)
- [fontReplaceRule](#fontreplacerule)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [layer](#layer)
- [layoutIndex](#layoutindex)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [notReplaceLineType](#notreplacelinetype)
- [notUseDefaultShxFont](#notusedefaultshxfont)
- [notUseDefaultTtfFont](#notusedefaultttffont)
- [openFinishMaxTryCount](#openfinishmaxtrycount)
- [openFinishTryInterval](#openfinishtryinterval)
- [renderAccuracy](#renderaccuracy)
- [secretKey](#secretkey)
- [style](#style)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [uploadname](#uploadname)
- [version](#version)

### Properties

#### accessKey

• `Optional` **accessKey**: *string*

访问权限的key，权限小于secretKey，不能对图进行删除等操作.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[accessKey](#accesskey)

___

#### cadVersion

• `Optional` **cadVersion**: *string*

新建地图有fileDoc时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cadVersion](#cadversion)

___

#### cbInputPassword

• `Optional` **cbInputPassword**: (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }) => *Promise*<string\>

要求输入密码回调.

##### Type declaration

▸ (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }): *Promise*<string\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | *object* |
| `param.isPasswordError` | *boolean* |
| `param.mapid` | *string* |
| `param.result` | *any* |
| `param.tryPasswordCount` | *number* |

**Returns:** *Promise*<string\>

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cbInputPassword](#cbinputpassword)

___

#### filedoc

• `Optional` **filedoc**: *string*

文件文档.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filedoc](#filedoc)

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID. 地图ID第一次打开时，需传递fileid

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fileid](#fileid)

___

#### filename

• `Optional` **filename**: *string*

文件名称.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filename](#filename)

___

#### fontReplaceRule

• `Optional` **fontReplaceRule**: *string* \| *Record*<string, string\>

字符替换规则. openMap返回的字段findFonts为系统查找的字体替换规则。如需修改默认的话，请传入替换的字体规则，如fontReplaceRule: {"tssdeng.shx_1": "_default_.ttc"}

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fontReplaceRule](#fontreplacerule)

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageLeft](#imageleft)

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率 第一次打开图像类型时有效, 一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageResolution](#imageresolution)

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageTop](#imagetop)

___

#### layer

• `Optional` **layer**: *string*

图层名称，组合图层用英文逗号分开

___

#### layoutIndex

• `Optional` **layoutIndex**: *number*

布局索引 (从1开始)，默认为0，表示是模型空间

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapdependencies](#mapdependencies)

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapfrom](#mapfrom)

___

#### mapid

• **mapid**: *string*

地图ID.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapid](#mapid)

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapopenway](#mapopenway)

___

#### notReplaceLineType

• `Optional` **notReplaceLineType**: *boolean*

不自动替换线型.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notReplaceLineType](#notreplacelinetype)

___

#### notUseDefaultShxFont

• `Optional` **notUseDefaultShxFont**: *boolean*

不使用缺省的型文字文件，将使用缺省的字体来代替型文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultShxFont](#notusedefaultshxfont)

___

#### notUseDefaultTtfFont

• `Optional` **notUseDefaultTtfFont**: *boolean*

不使用缺省的字体文件，将使用缺省的型文件来代替字体文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultTtfFont](#notusedefaultttffont)

___

#### openFinishMaxTryCount

• `Optional` **openFinishMaxTryCount**: *number*

判断是否打开或更新成功重试最大次数。默认 120 次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishMaxTryCount](#openfinishmaxtrycount)

___

#### openFinishTryInterval

• `Optional` **openFinishTryInterval**: *number*

判断是否打开或更新成功重试间隔（秒）。默认 5s 一次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishTryInterval](#openfinishtryinterval)

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[renderAccuracy](#renderaccuracy)

___

#### secretKey

• `Optional` **secretKey**: *string*

秘钥(第一次上传打开图时有效，表示此图需要密码保护).

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[secretKey](#secretkey)

___

#### style

• `Optional` **style**: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

样式.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[style](#style)

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subdependencies](#subdependencies)

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subfrom](#subfrom)

___

#### uploadname

• `Optional` **uploadname**: *string*

上传时的文件名.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[uploadname](#uploadname)

___

#### version

• `Optional` **version**: *string*

版本号(缺省: "" ).


<a name="interfacesdefaultiopenmapresponsemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IOpenMapResponse

## Interface: IOpenMapResponse

[default](#modulesdefaultmd).IOpenMapResponse

地图打开返回成功参数

### Table of contents

#### Properties

- [bounds](#bounds)
- [darkMode](#darkmode)
- [dbBounds](#dbbounds)
- [dbid](#dbid)
- [description](#description)
- [drawBounds](#drawbounds)
- [fileid](#fileid)
- [filename](#filename)
- [imageHeight](#imageheight)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [imageWidth](#imagewidth)
- [initViewScale](#initviewscale)
- [layer](#layer)
- [layers](#layers)
- [layouts](#layouts)
- [lineWidthDisplay](#linewidthdisplay)
- [mapBounds](#mapbounds)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [maptype](#maptype)
- [maxzoom](#maxzoom)
- [renderAccuracy](#renderaccuracy)
- [status](#status)
- [styles](#styles)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [type](#type)
- [ucsorg](#ucsorg)
- [uploadname](#uploadname)
- [version](#version)
- [view](#view)

### Properties

#### bounds

• `Optional` **bounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图范围(如果通过clipBounds打开，则是clipBounds的范围).

___

#### darkMode

• `Optional` **darkMode**: *boolean*

暗黑模式(背景色为黑时).

___

#### dbBounds

• `Optional` **dbBounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

数据库地图范围

___

#### dbid

• `Optional` **dbid**: *string*

DbID.

___

#### description

• `Optional` **description**: *string*

描述.

___

#### drawBounds

• `Optional` **drawBounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

图形中有数据的范围（此范围是非精确值，精确的数据范围需调用cmdGetDrawBounds去获取）

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID.

___

#### filename

• `Optional` **filename**: *string*

文件名称.

___

#### imageHeight

• `Optional` **imageHeight**: *number*

图像类型时图像像素高

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率  一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y

___

#### imageWidth

• `Optional` **imageWidth**: *number*

图像类型时图像像素宽

___

#### initViewScale

• `Optional` **initViewScale**: *number*

初始视图缩放倍数，bounds * initViewScale = dbBounds

___

#### layer

• `Optional` **layer**: *string*

图层名称

___

#### layers

• `Optional` **layers**: *any*

图层列表.

___

#### layouts

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

所有布局.

___

#### lineWidthDisplay

• `Optional` **lineWidthDisplay**: *boolean*

默认是否显示线宽.

___

#### mapBounds

• `Optional` **mapBounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图范围(地图的范围，如果没有通过clipBounds打开,则为空).

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID.

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

___

#### maptype

• `Optional` **maptype**: *string*

地图类型. 为空时表示是cad类型，image表示是图像

___

#### maxzoom

• `Optional` **maxzoom**: *number*

图像类型时最大级别

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

___

#### status

• `Optional` **status**: *string*

状态.

___

#### styles

• `Optional` **styles**: *any*

图层样式.

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

___

#### type

• `Optional` **type**: *string*

类型.

___

#### ucsorg

• `Optional` **ucsorg**: *string*

ucs基点坐标.

___

#### uploadname

• `Optional` **uploadname**: *string*

上传的文件名.

___

#### version

• `Optional` **version**: *string*

版本号(缺省: "" ).

___

#### view

• `Optional` **view**: *object*

初始视图.

##### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `bearing?` | *number* | 初始视图方位角. |
| `center?` | [*number*, *number*] | 初始视图中心点. |
| `zoom?` | *number* | 初始视图级别. |


<a name="interfacesdefaultipointqueryfeaturesmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IPointQueryFeatures

## Interface: IPointQueryFeatures

[default](#modulesdefaultmd).IPointQueryFeatures

点查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IPointQueryFeatures**

### Table of contents

#### Properties

- [condition](#condition)
- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [maxGeomBytesSize](#maxgeombytessize)
- [pixelToGeoLength](#pixeltogeolength)
- [pixelsize](#pixelsize)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [x](#x)
- [y](#y)
- [zoom](#zoom)

### Properties

#### condition

• `Optional` **condition**: *string*

条件.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### maxGeomBytesSize

• `Optional` **maxGeomBytesSize**: *number*

返回最大的几何字节数.

___

#### pixelToGeoLength

• `Optional` **pixelToGeoLength**: *number*

当前一个像素表示多少几何长度，如果输入了此值，则为此值为主，否则，根据输入的zoom值后台自动计算.

___

#### pixelsize

• `Optional` **pixelsize**: *number*

像素大小.

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### x

• **x**: *number*

查询的坐标X.

___

#### y

• **y**: *number*

查询的坐标Y.

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesdefaultiquerybasefeaturesmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IQueryBaseFeatures

## Interface: IQueryBaseFeatures

[default](#modulesdefaultmd).IQueryBaseFeatures

查询实体参数

### Hierarchy

- **IQueryBaseFeatures**

  ↳ [*IPointQueryFeatures*](#interfacesdefaultipointqueryfeaturesmd)

  ↳ [*IRectQueryFeatures*](#interfacesdefaultirectqueryfeaturesmd)

  ↳ [*IExprQueryFeatures*](#interfacesdefaultiexprqueryfeaturesmd)

  ↳ [*IConditionQueryFeatures*](#interfacesdefaulticonditionqueryfeaturesmd)

  ↳ [*IPointQueryFeatures*](#interfacesipointqueryfeaturesmd)

  ↳ [*IRectQueryFeatures*](#interfacesirectqueryfeaturesmd)

  ↳ [*IExprQueryFeatures*](#interfacesiexprqueryfeaturesmd)

  ↳ [*IConditionQueryFeatures*](#interfacesiconditionqueryfeaturesmd)

### Table of contents

#### Properties

- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [zoom](#zoom)

### Properties

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

___

#### layer

• `Optional` **layer**: *string*

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

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

___

#### version

• `Optional` **version**: *string*

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

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.


<a name="interfacesdefaultirectqueryfeaturesmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IRectQueryFeatures

## Interface: IRectQueryFeatures

[default](#modulesdefaultmd).IRectQueryFeatures

矩形查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IRectQueryFeatures**

### Table of contents

#### Properties

- [condition](#condition)
- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [maxGeomBytesSize](#maxgeombytessize)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [x1](#x1)
- [x2](#x2)
- [y1](#y1)
- [y2](#y2)
- [zoom](#zoom)

### Properties

#### condition

• `Optional` **condition**: *string*

条件.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### maxGeomBytesSize

• `Optional` **maxGeomBytesSize**: *number*

返回最大的几何字节数.

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### x1

• `Optional` **x1**: *number*

查询的坐标X1. (如果x1,y1,x2,y2同时不输的话，表示是查询整个图的范围

___

#### x2

• `Optional` **x2**: *number*

查询的坐标X2.

___

#### y1

• `Optional` **y1**: *number*

查询的坐标Y1.

___

#### y2

• `Optional` **y2**: *number*

查询的坐标Y2.

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesdefaultirequestmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IRequest

## Interface: IRequest

[default](#modulesdefaultmd).IRequest

### Table of contents

#### Properties

- [del](#del)
- [get](#get)
- [options](#options)
- [patch](#patch)
- [post](#post)
- [put](#put)

### Properties

#### del

• **del**: (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### get

• **get**: (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `params?` | *Record*<string, any\> |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### options

• **options**: (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### patch

• **patch**: (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `data` | *any* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### post

• **post**: (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `data` | *any* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### put

• **put**: (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `data` | *any* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>


<a name="interfacesdefaultislicecachezoommd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ISliceCacheZoom

## Interface: ISliceCacheZoom

[default](#modulesdefaultmd).ISliceCacheZoom

获取图片切片缓存级别

### Table of contents

#### Properties

- [ismvt](#ismvt)
- [layer](#layer)
- [mapid](#mapid)
- [version](#version)

### Properties

#### ismvt

• **ismvt**: *boolean*

是否是矢量切片，如果否则为栅格瓦片切片

___

#### layer

• `Optional` **layer**: *string*

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

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesdefaultislicelayermd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ISliceLayer

## Interface: ISliceLayer

[default](#modulesdefaultmd).ISliceLayer

对图层进行切片

### Table of contents

#### Properties

- [batchNum](#batchnum)
- [busyBatchSleepMs](#busybatchsleepms)
- [idleBatchSleepMs](#idlebatchsleepms)
- [isAllCancel](#isallcancel)
- [iscancel](#iscancel)
- [ismvt](#ismvt)
- [layer](#layer)
- [mapid](#mapid)
- [version](#version)
- [zoom](#zoom)

### Properties

#### batchNum

• `Optional` **batchNum**: *number*

批处理的条数（默认10000）.

___

#### busyBatchSleepMs

• `Optional` **busyBatchSleepMs**: *number*

繁忙时一次批处理等待时间（默认10000ms）.

___

#### idleBatchSleepMs

• `Optional` **idleBatchSleepMs**: *number*

空闲一次批处理等待时间（默认1ms）.

___

#### isAllCancel

• `Optional` **isAllCancel**: *boolean*

是否取消所有的切片（正在切时有效）.

___

#### iscancel

• `Optional` **iscancel**: *boolean*

是否取消对此图层的切片（正在切时有效）.

___

#### ismvt

• **ismvt**: *boolean* \| *boolean*[]

是否是矢量切片，如果否则为栅格瓦片切片. 如果为数组时，layer也必须是数组，一一对应

___

#### layer

• **layer**: *string* \| *string*[]

图层名称（为空时采用当前打开的地图图层名称).如果为数组时，表示对多个图层进行切片

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### version

• `Optional` **version**: *string*

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

___

#### zoom

• **zoom**: *number* \| *number*[]

级别（切的第几级）, 如果为数组时，layer也必须是数组，一一对应


<a name="interfacesdefaultitileurlparammd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ITileUrlParam

## Interface: ITileUrlParam

[default](#modulesdefaultmd).ITileUrlParam

地图瓦片参数

### Table of contents

#### Properties

- [fileid](#fileid)
- [layer](#layer)
- [mapid](#mapid)
- [version](#version)

### Properties

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID.

___

#### layer

• `Optional` **layer**: *string*

图层名称.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID.

___

#### version

• `Optional` **version**: *string*

版本号.


<a name="interfacesdefaultiupdatemapparammd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IUpdateMapParam

## Interface: IUpdateMapParam

[default](#modulesdefaultmd).IUpdateMapParam

更新地图参数

### Hierarchy

- [*IOpenMapBaseParam*](#interfacesdefaultiopenmapbaseparammd)

  ↳ **IUpdateMapParam**

### Table of contents

#### Properties

- [accessKey](#accesskey)
- [cadVersion](#cadversion)
- [cbInputPassword](#cbinputpassword)
- [deleteOldVersion](#deleteoldversion)
- [filedoc](#filedoc)
- [fileid](#fileid)
- [filename](#filename)
- [fontReplaceRule](#fontreplacerule)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [notReplaceLineType](#notreplacelinetype)
- [notUseDefaultShxFont](#notusedefaultshxfont)
- [notUseDefaultTtfFont](#notusedefaultttffont)
- [openFinishMaxTryCount](#openfinishmaxtrycount)
- [openFinishTryInterval](#openfinishtryinterval)
- [renderAccuracy](#renderaccuracy)
- [secretKey](#secretkey)
- [style](#style)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [uploadname](#uploadname)

### Properties

#### accessKey

• `Optional` **accessKey**: *string*

访问权限的key，权限小于secretKey，不能对图进行删除等操作.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[accessKey](#accesskey)

___

#### cadVersion

• `Optional` **cadVersion**: *string*

新建地图有fileDoc时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cadVersion](#cadversion)

___

#### cbInputPassword

• `Optional` **cbInputPassword**: (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }) => *Promise*<string\>

要求输入密码回调.

##### Type declaration

▸ (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }): *Promise*<string\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | *object* |
| `param.isPasswordError` | *boolean* |
| `param.mapid` | *string* |
| `param.result` | *any* |
| `param.tryPasswordCount` | *number* |

**Returns:** *Promise*<string\>

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cbInputPassword](#cbinputpassword)

___

#### deleteOldVersion

• `Optional` **deleteOldVersion**: *boolean*

是否删除老版本(缺省: false ).

___

#### filedoc

• `Optional` **filedoc**: *string*

文件文档.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filedoc](#filedoc)

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID. 地图ID第一次打开时，需传递fileid

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fileid](#fileid)

___

#### filename

• `Optional` **filename**: *string*

文件名称.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filename](#filename)

___

#### fontReplaceRule

• `Optional` **fontReplaceRule**: *string* \| *Record*<string, string\>

字符替换规则. openMap返回的字段findFonts为系统查找的字体替换规则。如需修改默认的话，请传入替换的字体规则，如fontReplaceRule: {"tssdeng.shx_1": "_default_.ttc"}

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fontReplaceRule](#fontreplacerule)

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageLeft](#imageleft)

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率 第一次打开图像类型时有效, 一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageResolution](#imageresolution)

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageTop](#imagetop)

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapdependencies](#mapdependencies)

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapfrom](#mapfrom)

___

#### mapid

• **mapid**: *string*

地图ID.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapid](#mapid)

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapopenway](#mapopenway)

___

#### notReplaceLineType

• `Optional` **notReplaceLineType**: *boolean*

不自动替换线型.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notReplaceLineType](#notreplacelinetype)

___

#### notUseDefaultShxFont

• `Optional` **notUseDefaultShxFont**: *boolean*

不使用缺省的型文字文件，将使用缺省的字体来代替型文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultShxFont](#notusedefaultshxfont)

___

#### notUseDefaultTtfFont

• `Optional` **notUseDefaultTtfFont**: *boolean*

不使用缺省的字体文件，将使用缺省的型文件来代替字体文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultTtfFont](#notusedefaultttffont)

___

#### openFinishMaxTryCount

• `Optional` **openFinishMaxTryCount**: *number*

判断是否打开或更新成功重试最大次数。默认 120 次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishMaxTryCount](#openfinishmaxtrycount)

___

#### openFinishTryInterval

• `Optional` **openFinishTryInterval**: *number*

判断是否打开或更新成功重试间隔（秒）。默认 5s 一次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishTryInterval](#openfinishtryinterval)

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[renderAccuracy](#renderaccuracy)

___

#### secretKey

• `Optional` **secretKey**: *string*

秘钥(第一次上传打开图时有效，表示此图需要密码保护).

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[secretKey](#secretkey)

___

#### style

• `Optional` **style**: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

样式.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[style](#style)

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subdependencies](#subdependencies)

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subfrom](#subfrom)

___

#### uploadname

• `Optional` **uploadname**: *string*

上传时的文件名.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[uploadname](#uploadname)


<a name="interfacesdefaultiupdatestylemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IUpdateStyle

## Interface: IUpdateStyle

[default](#modulesdefaultmd).IUpdateStyle

更新样式接口

### Table of contents

#### Properties

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

### 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级的，以最后设置的级别状态为主，所以也是关。如为空，则和原图线宽显示状态相同

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### name

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

样式名称.

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesdefaultiwmstileurlmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / IWmsTileUrl

## Interface: IWmsTileUrl

[default](#modulesdefaultmd).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="interfacesdefaultiworkspacemd"></a>

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

## Interface: IWorkspace

[default](#modulesdefaultmd).IWorkspace

工作区（工作区主要用来对图纸进行分类管理。不同工作区的图纸存在的位置不同，查看不同工作区的图纸，需要切换到相应工作区才能查看）

### Table of contents

#### Properties

- [alias](#alias)
- [isPublic](#ispublic)
- [name](#name)
- [workDir](#workdir)

### Properties

#### alias

• `Optional` **alias**: *string*

工作区别名(可以是中文).

___

#### isPublic

• `Optional` **isPublic**: *boolean*

是否公开（不公开的话，无法通过获取工作区功能来获取到此工作区信息）.

___

#### name

• **name**: *string*

工作区名称(英文名称，不要有特殊字符，用于做为键值和路由).

___

#### workDir

• `Optional` **workDir**: *string*

工作区目录，如果是相对于工作区路径的一个路径或绝对路径，如为空的话，则用工作区名称做为工作目录.


<a name="interfacesdefaultkeyframeoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / KeyframeOptions

## Interface: KeyframeOptions<V\>

[default](#modulesdefaultmd).KeyframeOptions

### Type parameters

| Name | Default |
| :------ | :------ |
| `V` | *number* |

### Table of contents

#### Properties

- [duration](#duration)
- [ease](#ease)
- [from](#from)
- [offset](#offset)
- [to](#to)

### Properties

#### duration

• `Optional` **duration**: *number*

___

#### ease

• `Optional` **ease**: [*Easing*](#easing) \| [*Easing*](#easing)[]

___

#### from

• `Optional` **from**: V

___

#### offset

• `Optional` **offset**: *number*[]

___

#### to

• **to**: V \| V[]


<a name="interfacesdefaultlinegeojsoninputmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / LineGeoJsonInput

## Interface: LineGeoJsonInput

[default](#modulesdefaultmd).LineGeoJsonInput

### Table of contents

#### Properties

- [points](#points)
- [properties](#properties)

### Properties

#### points

• **points**: [*GeoPointLike*](#geopointlike)[]

___

#### properties

• `Optional` **properties**: *object*


<a name="interfacesdefaultmarkerclusterdatamd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MarkerClusterData

## Interface: MarkerClusterData

[default](#modulesdefaultmd).MarkerClusterData

### Indexable

▪ [propName: *string*]: *any*

### Table of contents

#### Properties

- [point](#point)
- [properties](#properties)

### Properties

#### point

• **point**: [*GeoPointLike*](#geopointlike)

___

#### properties

• `Optional` **properties**: *Record*<string, any\>


<a name="interfacesdefaultmarkerclusteroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MarkerClusterOptions

## Interface: MarkerClusterOptions

[default](#modulesdefaultmd).MarkerClusterOptions

### Table of contents

#### Properties

- [allowOverlap](#allowoverlap)
- [allowOverlapMaxZoom](#allowoverlapmaxzoom)
- [cameraNearFront](#cameranearfront)
- [createMarker](#createmarker)
- [data](#data)
- [markerHeight](#markerheight)
- [markerWidth](#markerwidth)
- [updateMarker](#updatemarker)

### Properties

#### allowOverlap

• `Optional` **allowOverlap**: *boolean*

是否允许重叠，默认false.

___

#### allowOverlapMaxZoom

• `Optional` **allowOverlapMaxZoom**: *number*

允许重叠的最大缩放级别，小于或等于此级别才会处理重叠，超过此级时会全部显示当前所有的(如果不允许重叠时有效).默认4级

___

#### cameraNearFront

• `Optional` **cameraNearFront**: *boolean*

离相机最近的在显示在前面，默认false.

___

#### createMarker

• **createMarker**: (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]) => *Marker* \| [*Text*](#classesdefaulttextmd)

##### Type declaration

▸ (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]): *Marker* \| [*Text*](#classesdefaulttextmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `curMarkerData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd) |
| `clusterMarkersData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[] |

**Returns:** *Marker* \| [*Text*](#classesdefaulttextmd)

___

#### data

• **data**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]

数据内容.(传入坐标为CAD地理坐标)

___

#### markerHeight

• `Optional` **markerHeight**: *number*

marker div的像素高，用于计算重叠时需要，默认40. 如果在data的properties设置了属性markerHeight，则以data设置的为准

___

#### markerWidth

• `Optional` **markerWidth**: *number*

marker div的像素宽，用于计算重叠时需要，默认40. 如果在data的properties设置了属性markerWidth，则以data设置的为准

___

#### updateMarker

• `Optional` **updateMarker**: (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[], `marker`: *Marker*) => *undefined* \| *Marker* \| [*Text*](#classesdefaulttextmd)

##### Type declaration

▸ (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[], `marker`: *Marker*): *undefined* \| *Marker* \| [*Text*](#classesdefaulttextmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `curMarkerData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd) |
| `clusterMarkersData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[] |
| `marker` | *Marker* |

**Returns:** *undefined* \| *Marker* \| [*Text*](#classesdefaulttextmd)


<a name="interfacesdefaultmarkeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / markerOptions

## Interface: markerOptions

[default](#modulesdefaultmd).markerOptions

### Hierarchy

- *MarkerOptions*

  ↳ **markerOptions**

### Table of contents

#### Properties

- [height](#height)
- [lngLat](#lnglat)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [removeWhenNoInMapView](#removewhennoinmapview)
- [removeWhenNoInMapViewPadding](#removewhennoinmapviewpadding)
- [scaleMaxZoom](#scalemaxzoom)

### Properties

#### height

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

高度值.

___

#### lngLat

• `Optional` **lngLat**: [*number*, *number*] \| *LngLat* \| {} \| {}

LngLat值.

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示的最大级别.

___

#### minZoom

• `Optional` **minZoom**: *number*

显示的最小级别.

___

#### removeWhenNoInMapView

• `Optional` **removeWhenNoInMapView**: *boolean*

设置当marker不在当前地图视图范围内时，将自动移除。进入视图范围内时，将自动增加上

___

#### removeWhenNoInMapViewPadding

• `Optional` **removeWhenNoInMapViewPadding**: *boolean*

设置当marker不在当前地图视图范围内时，将自动移除。范围向外扩的像素范围，默认500px，向视图范围往外扩些像素，在平移的时候，能看到marker，体验效果好些。

___

#### scaleMaxZoom

• `Optional` **scaleMaxZoom**: *number*

设置能缩放的最大级别。如果小于这个级别，div将根据缩小级别自动缩小比例。默认不会自动缩放


<a name="interfacesdefaultmath2duvboxmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / [Math2D](#modulesdefaultmath2dmd) / UvBox

## Interface: UvBox

[default](#modulesdefaultmd).[Math2D](#modulesdefaultmath2dmd).UvBox

Box to store UV coordinates.

### Table of contents

#### Properties

- [s0](#s0)
- [s1](#s1)
- [t0](#t0)
- [t1](#t1)

### Properties

#### s0

• **s0**: *number*

___

#### s1

• **s1**: *number*

___

#### t0

• **t0**: *number*

___

#### t1

• **t1**: *number*


<a name="interfacesdefaultmethodsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Methods

## Interface: Methods

[default](#modulesdefaultmd).Methods

### Table of contents

#### Properties

- [DELETE](#delete)
- [GET](#get)
- [HEAD](#head)
- [OPTIONS](#options)
- [PATCH](#patch)
- [POST](#post)
- [PUT](#put)

### Properties

#### DELETE

• **DELETE**: ``"DELETE"``

___

#### GET

• **GET**: ``"GET"``

___

#### HEAD

• **HEAD**: ``"HEAD"``

___

#### OPTIONS

• **OPTIONS**: ``"OPTIONS"``

___

#### PATCH

• **PATCH**: ``"PATCH"``

___

#### POST

• **POST**: ``"POST"``

___

#### PUT

• **PUT**: ``"PUT"``


<a name="interfacesdefaultminimapcontroloptionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MiniMapControlOption

## Interface: MiniMapControlOption

[default](#modulesdefaultmd).MiniMapControlOption

### Table of contents

#### Properties

- [boxZoom](#boxzoom)
- [center](#center)
- [containerStyle](#containerstyle)
- [doubleClickZoom](#doubleclickzoom)
- [dragPan](#dragpan)
- [dragRotate](#dragrotate)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [height](#height)
- [id](#id)
- [keyboard](#keyboard)
- [lineColor](#linecolor)
- [lineOpacity](#lineopacity)
- [lineWidth](#linewidth)
- [maxBounds](#maxbounds)
- [scrollZoom](#scrollzoom)
- [style](#style)
- [touchZoomRotate](#touchzoomrotate)
- [width](#width)
- [zoom](#zoom)
- [zoomAdjust](#zoomadjust)

### Properties

#### boxZoom

• `Optional` **boxZoom**: *boolean*

___

#### center

• `Optional` **center**: [*number*, *number*]

___

#### containerStyle

• `Optional` **containerStyle**: *Partial*<CSSStyleDeclaration\>

___

#### doubleClickZoom

• `Optional` **doubleClickZoom**: *boolean*

___

#### dragPan

• `Optional` **dragPan**: *boolean*

___

#### dragRotate

• `Optional` **dragRotate**: *boolean*

___

#### fillColor

• `Optional` **fillColor**: *string*

___

#### fillOpacity

• `Optional` **fillOpacity**: *number*

___

#### height

• `Optional` **height**: *string*

___

#### id

• `Optional` **id**: *string*

___

#### keyboard

• `Optional` **keyboard**: *boolean*

___

#### lineColor

• `Optional` **lineColor**: *string*

___

#### lineOpacity

• `Optional` **lineOpacity**: *number*

___

#### lineWidth

• `Optional` **lineWidth**: *number*

___

#### maxBounds

• `Optional` **maxBounds**: *LngLatBounds*

___

#### scrollZoom

• `Optional` **scrollZoom**: *boolean*

___

#### style

• `Optional` **style**: *string* \| Style

___

#### touchZoomRotate

• `Optional` **touchZoomRotate**: *boolean*

___

#### width

• `Optional` **width**: *string*

___

#### zoom

• `Optional` **zoom**: *number*

___

#### zoomAdjust

• `Optional` **zoomAdjust**: ``null``


<a name="interfacesdefaultmousepositioncontroloptionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MousePositionControlOption

## Interface: MousePositionControlOption

[default](#modulesdefaultmd).MousePositionControlOption

### Table of contents

#### Properties

- [digits](#digits)
- [labelFormat](#labelformat)
- [projection](#projection)
- [showBearing](#showbearing)
- [showLatLng](#showlatlng)
- [showPitch](#showpitch)
- [showZoom](#showzoom)
- [style](#style)
- [trackCenter](#trackcenter)

### Properties

#### digits

• `Optional` **digits**: *number*

___

#### labelFormat

• `Optional` **labelFormat**: (`lng`: *number*, `lat`: *number*, `x`: *number*, `y`: *number*, `map?`: *Map*) => *string*

##### Type declaration

▸ (`lng`: *number*, `lat`: *number*, `x`: *number*, `y`: *number*, `map?`: *Map*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `lng` | *number* |
| `lat` | *number* |
| `x` | *number* |
| `y` | *number* |
| `map?` | *Map* |

**Returns:** *string*

___

#### projection

• `Optional` **projection**: [*Projection*](#classesdefaultprojectionmd)

___

#### showBearing

• `Optional` **showBearing**: *boolean*

___

#### showLatLng

• `Optional` **showLatLng**: *boolean*

___

#### showPitch

• `Optional` **showPitch**: *boolean*

___

#### showZoom

• `Optional` **showZoom**: *boolean*

___

#### style

• `Optional` **style**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `backgroundColor` | *string* |
| `border` | *string* |

___

#### trackCenter

• `Optional` **trackCenter**: *boolean*


<a name="interfacesdefaultoverlaylayerbaseoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / OverlayLayerBaseOptions

## Interface: OverlayLayerBaseOptions

[default](#modulesdefaultmd).OverlayLayerBaseOptions

### Hierarchy

- **OverlayLayerBaseOptions**

  ↳ [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

  ↳ [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

  ↳ [*BackgroundLayerOptions*](#interfacesdefaultbackgroundlayeroptionsmd)

  ↳ [*FillExtrusionOptions*](#interfacesdefaultfillextrusionoptionsmd)

  ↳ [*SkyLayerOptions*](#interfacesdefaultskylayeroptionsmd)

  ↳ [*SymbolOptions*](#interfacesdefaultsymboloptionsmd)

  ↳ [*CircleOptions*](#interfacesdefaultcircleoptionsmd)

  ↳ [*HeatmapOptions*](#interfacesdefaultheatmapoptionsmd)

  ↳ [*PolygonOptions*](#interfacespolygonoptionsmd)

  ↳ [*PolylineOptions*](#interfacespolylineoptionsmd)

  ↳ [*BackgroundLayerOptions*](#interfacesbackgroundlayeroptionsmd)

  ↳ [*FillExtrusionOptions*](#interfacesfillextrusionoptionsmd)

  ↳ [*SkyLayerOptions*](#interfacesskylayeroptionsmd)

  ↳ [*SymbolOptions*](#interfacessymboloptionsmd)

  ↳ [*CircleOptions*](#interfacescircleoptionsmd)

  ↳ [*HeatmapOptions*](#interfacesheatmapoptionsmd)

### Table of contents

#### Properties

- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### filter

• `Optional` **filter**: *any*

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

___

#### layerId

• `Optional` **layerId**: *string*

___

#### maxzoom

• `Optional` **maxzoom**: *number*

___

#### minzoom

• `Optional` **minzoom**: *number*

___

#### sourceId

• `Optional` **sourceId**: *string*

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``


<a name="interfacesdefaultphysicsspringoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PhysicsSpringOptions

## Interface: PhysicsSpringOptions

[default](#modulesdefaultmd).PhysicsSpringOptions

### Hierarchy

- **PhysicsSpringOptions**

  ↳ [*SpringOptions*](#interfacesdefaultspringoptionsmd)

  ↳ [*SpringOptions*](#interfacesspringoptionsmd)

### Table of contents

#### Properties

- [damping](#damping)
- [mass](#mass)
- [stiffness](#stiffness)
- [velocity](#velocity)

### Properties

#### damping

• `Optional` **damping**: *number*

___

#### mass

• `Optional` **mass**: *number*

___

#### stiffness

• `Optional` **stiffness**: *number*

___

#### velocity

• `Optional` **velocity**: *number*


<a name="interfacesdefaultplaybackcontrolsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PlaybackControls

## Interface: PlaybackControls

[default](#modulesdefaultmd).PlaybackControls

### Table of contents

#### Properties

- [stop](#stop)

### Properties

#### stop

• **stop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesdefaultplaybackoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PlaybackOptions

## Interface: PlaybackOptions<V\>

[default](#modulesdefaultmd).PlaybackOptions

Playback options common to all animations.

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [autoplay](#autoplay)
- [driver](#driver)
- [elapsed](#elapsed)
- [from](#from)
- [onComplete](#oncomplete)
- [onPlay](#onplay)
- [onRepeat](#onrepeat)
- [onStop](#onstop)
- [onUpdate](#onupdate)
- [repeat](#repeat)
- [repeatDelay](#repeatdelay)
- [repeatType](#repeattype)
- [type](#type)

### Properties

#### autoplay

• `Optional` **autoplay**: *boolean*

Whether to autoplay the animation when animate is called. If
set to false, the animation must be started manually via the returned
play method.

___

#### driver

• `Optional` **driver**: [*Driver*](#driver)

___

#### elapsed

• `Optional` **elapsed**: *number*

___

#### from

• `Optional` **from**: V

___

#### onComplete

• `Optional` **onComplete**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onPlay

• `Optional` **onPlay**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onRepeat

• `Optional` **onRepeat**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onStop

• `Optional` **onStop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onUpdate

• `Optional` **onUpdate**: (`latest`: V) => *void*

##### Type declaration

▸ (`latest`: V): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `latest` | V |

**Returns:** *void*

___

#### repeat

• `Optional` **repeat**: *number*

___

#### repeatDelay

• `Optional` **repeatDelay**: *number*

___

#### repeatType

• `Optional` **repeatType**: ``"loop"`` \| ``"reverse"`` \| ``"mirror"``

___

#### type

• `Optional` **type**: ``"spring"`` \| ``"decay"`` \| ``"keyframes"``


<a name="interfacesdefaultpointgeojsoninputmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PointGeoJsonInput

## Interface: PointGeoJsonInput

[default](#modulesdefaultmd).PointGeoJsonInput

### Table of contents

#### Properties

- [point](#point)
- [properties](#properties)

### Properties

#### point

• **point**: [*GeoPointLike*](#geopointlike)

___

#### properties

• `Optional` **properties**: *object*


<a name="interfacesdefaultpolygonoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PolygonOptions

## Interface: PolygonOptions

[default](#modulesdefaultmd).PolygonOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **PolygonOptions**

  ↳↳ [*CircleFillOptions*](#interfacesdefaultcirclefilloptionsmd)

  ↳↳ [*EllipseFillOptions*](#interfacesdefaultellipsefilloptionsmd)

  ↳↳ [*CircleFillOptions*](#interfacescirclefilloptionsmd)

  ↳↳ [*EllipseFillOptions*](#interfacesellipsefilloptionsmd)

### Table of contents

#### Properties

- [data](#data)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultpolylinearrowoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PolylineArrowOptions

## Interface: PolylineArrowOptions

[default](#modulesdefaultmd).PolylineArrowOptions

### Table of contents

#### Properties

- [animated](#animated)
- [beforeId](#beforeid)
- [borderBlur](#borderblur)
- [borderColor](#bordercolor)
- [borderGapWidth](#bordergapwidth)
- [borderGradient](#bordergradient)
- [borderMiterLimit](#bordermiterlimit)
- [borderOffset](#borderoffset)
- [borderOpacity](#borderopacity)
- [borderTranslateAnchor](#bordertranslateanchor)
- [borderWidth](#borderwidth)
- [cursor](#cursor)
- [dirIconColor](#diriconcolor)
- [dirImageColor](#dirimagecolor)
- [dirImageHeight](#dirimageheight)
- [dirImageSrc](#dirimagesrc)
- [dirImageWidth](#dirimagewidth)
- [dirLayout](#dirlayout)
- [dirSize](#dirsize)
- [dirSpacing](#dirspacing)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterLimit](#linemiterlimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [map](#map)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [path](#path)
- [showBorder](#showborder)
- [showDir](#showdir)
- [strokeDasharray](#strokedasharray)
- [strokeImage](#strokeimage)
- [strokeStyle](#strokestyle)
- [visible](#visible)
- [zIndex](#zindex)

### Properties

#### animated

• `Optional` **animated**: *boolean*

___

#### beforeId

• `Optional` **beforeId**: *string*

___

#### borderBlur

• `Optional` **borderBlur**: *number*

___

#### borderColor

• `Optional` **borderColor**: *string*

___

#### borderGapWidth

• `Optional` **borderGapWidth**: *number*

___

#### borderGradient

• `Optional` **borderGradient**: *string*

___

#### borderMiterLimit

• `Optional` **borderMiterLimit**: *number*

___

#### borderOffset

• `Optional` **borderOffset**: *number*

___

#### borderOpacity

• `Optional` **borderOpacity**: *number*

___

#### borderTranslateAnchor

• `Optional` **borderTranslateAnchor**: *string*

___

#### borderWidth

• `Optional` **borderWidth**: *number*

___

#### cursor

• `Optional` **cursor**: *string*

___

#### dirIconColor

• `Optional` **dirIconColor**: *string*

___

#### dirImageColor

• `Optional` **dirImageColor**: *string*

___

#### dirImageHeight

• `Optional` **dirImageHeight**: *number*

___

#### dirImageSrc

• `Optional` **dirImageSrc**: *string*

___

#### dirImageWidth

• `Optional` **dirImageWidth**: *number*

___

#### dirLayout

• `Optional` **dirLayout**: *object*

___

#### dirSize

• `Optional` **dirSize**: *number*

___

#### dirSpacing

• `Optional` **dirSpacing**: *number*

___

#### lineBlur

• `Optional` **lineBlur**: *number*

___

#### lineCap

• `Optional` **lineCap**: *string*

___

#### lineColor

• `Optional` **lineColor**: *string*

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number*

___

#### lineGradient

• `Optional` **lineGradient**: *string*

___

#### lineJoin

• `Optional` **lineJoin**: *string*

___

#### lineMiterLimit

• `Optional` **lineMiterLimit**: *number*

___

#### lineOffset

• `Optional` **lineOffset**: *number*

___

#### lineOpacity

• `Optional` **lineOpacity**: *number*

___

#### lineSortKey

• `Optional` **lineSortKey**: *number*

___

#### lineTranslate

• `Optional` **lineTranslate**: *number*[]

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: *string*

___

#### lineWidth

• `Optional` **lineWidth**: *number*

___

#### map

• `Optional` **map**: *Map*

___

#### maxZoom

• `Optional` **maxZoom**: *number*

___

#### minZoom

• `Optional` **minZoom**: *number*

___

#### path

• `Optional` **path**: *any*

___

#### showBorder

• `Optional` **showBorder**: *boolean*

___

#### showDir

• `Optional` **showDir**: *boolean*

___

#### strokeDasharray

• `Optional` **strokeDasharray**: *number*[]

___

#### strokeImage

• `Optional` **strokeImage**: *string*

___

#### strokeStyle

• `Optional` **strokeStyle**: *string*

___

#### visible

• `Optional` **visible**: *boolean*

___

#### zIndex

• `Optional` **zIndex**: *number*


<a name="interfacesdefaultpolylineoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / PolylineOptions

## Interface: PolylineOptions

[default](#modulesdefaultmd).PolylineOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **PolylineOptions**

  ↳↳ [*CircleEdgeOptions*](#interfacesdefaultcircleedgeoptionsmd)

  ↳↳ [*EllipseEdgeOptions*](#interfacesdefaultellipseedgeoptionsmd)

  ↳↳ [*CircleEdgeOptions*](#interfacescircleedgeoptionsmd)

  ↳↳ [*EllipseEdgeOptions*](#interfacesellipseedgeoptionsmd)

### Table of contents

#### Properties

- [data](#data)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultresponsemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Response

## Interface: Response

[default](#modulesdefaultmd).Response

### Table of contents

#### Properties

- [data](#data)
- [response](#response)
- [status](#status)
- [xhr](#xhr)

### Properties

#### data

• `Optional` **data**: *string* \| *Record*<string, unknown\>

___

#### response

• **response**: *Record*<string, unknown\>

___

#### status

• **status**: *number*

___

#### xhr

• **xhr**: XMLHttpRequest


<a name="interfacesdefaultscriptdefaultoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ScriptDefaultOptions

## Interface: ScriptDefaultOptions

[default](#modulesdefaultmd).ScriptDefaultOptions

### Table of contents

#### Properties

- [async](#async)
- [injectLocation](#injectlocation)
- [src](#src)
- [strategy](#strategy)

### Properties

#### async

• `Optional` **async**: *boolean*

___

#### injectLocation

• `Optional` **injectLocation**: *string*

___

#### src

• **src**: *string*

___

#### strategy

• `Optional` **strategy**: *string*


<a name="interfacesdefaultskylayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SkyLayerOptions

## Interface: SkyLayerOptions

[default](#modulesdefaultmd).SkyLayerOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **SkyLayerOptions**

### Table of contents

#### Properties

- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [skyAtmosphereColor](#skyatmospherecolor)
- [skyAtmosphereHaloColor](#skyatmospherehalocolor)
- [skyAtmosphereSun](#skyatmospheresun)
- [skyAtmosphereSunIntensity](#skyatmospheresunintensity)
- [skyGradient](#skygradient)
- [skyGradientCenter](#skygradientcenter)
- [skyGradientRadius](#skygradientradius)
- [skyOpacity](#skyopacity)
- [skyType](#skytype)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### skyAtmosphereColor

• `Optional` **skyAtmosphereColor**: *string*

___

#### skyAtmosphereHaloColor

• `Optional` **skyAtmosphereHaloColor**: *string*

___

#### skyAtmosphereSun

• `Optional` **skyAtmosphereSun**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### skyAtmosphereSunIntensity

• `Optional` **skyAtmosphereSunIntensity**: *number*

___

#### skyGradient

• `Optional` **skyGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### skyGradientCenter

• `Optional` **skyGradientCenter**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### skyGradientRadius

• `Optional` **skyGradientRadius**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### skyOpacity

• `Optional` **skyOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### skyType

• `Optional` **skyType**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"gradient"`` \| ``"atmosphere"`` \| { `stops`: [*number*, ``"gradient"`` \| ``"atmosphere"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"gradient"`` \| ``"atmosphere"``][] ; `type`: ``"interval"``  }

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaultspringoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SpringOptions

## Interface: SpringOptions

[default](#modulesdefaultmd).SpringOptions

### Hierarchy

- [*PhysicsSpringOptions*](#interfacesdefaultphysicsspringoptionsmd)

  ↳ **SpringOptions**

### Table of contents

#### Properties

- [bounce](#bounce)
- [damping](#damping)
- [duration](#duration)
- [from](#from)
- [mass](#mass)
- [restDelta](#restdelta)
- [restSpeed](#restspeed)
- [stiffness](#stiffness)
- [to](#to)
- [velocity](#velocity)

### Properties

#### bounce

• `Optional` **bounce**: *number*

___

#### damping

• `Optional` **damping**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[damping](#damping)

___

#### duration

• `Optional` **duration**: *number*

___

#### from

• `Optional` **from**: *number*

___

#### mass

• `Optional` **mass**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[mass](#mass)

___

#### restDelta

• `Optional` **restDelta**: *number*

___

#### restSpeed

• `Optional` **restSpeed**: *number*

___

#### stiffness

• `Optional` **stiffness**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[stiffness](#stiffness)

___

#### to

• `Optional` **to**: *number*

___

#### velocity

• `Optional` **velocity**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[velocity](#velocity)


<a name="interfacesdefaultsvgelementoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SvgElementOptions

## Interface: SvgElementOptions

[default](#modulesdefaultmd).SvgElementOptions

### Table of contents

#### Properties

- [bounds](#bounds)
- [event](#event)
- [hidden](#hidden)
- [html](#html)
- [id](#id)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)

### Properties

#### bounds

• `Optional` **bounds**: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [*number*, *number*, *number*, *number*]

元素地理范围，如果不填，会根据传入的坐标自动计算，但对于一些复杂的图形，需传入，

___

#### event

• `Optional` **event**: (`svgParentElement`: SVGSVGElement) => {}

事件，在回调函数里，响应要处理的事件，每次更新图形会重新执行

##### Type declaration

▸ (`svgParentElement`: SVGSVGElement): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `svgParentElement` | SVGSVGElement |

**Returns:** *object*

___

#### hidden

• `Optional` **hidden**: *boolean*

是否不显示

___

#### html

• **html**: *string*

元素字符串内容，地理坐标用{{x,y}}来表示，长度用{{r}}来代表

___

#### id

• `Optional` **id**: *string* \| *number*

id

___

#### maxZoom

• `Optional` **maxZoom**: *boolean*

最大缩放级别

___

#### minZoom

• `Optional` **minZoom**: *number*

最小缩放级别


<a name="interfacesdefaultsvgoverlayoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SvgOverlayOptions

## Interface: SvgOverlayOptions

[default](#modulesdefaultmd).SvgOverlayOptions

### Table of contents

#### Properties

- [divClassName](#divclassname)
- [maxDivSize](#maxdivsize)
- [maxPitch](#maxpitch)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [noUpdateBoundsWhenMoveend](#noupdateboundswhenmoveend)
- [svgMaxHeight](#svgmaxheight)
- [svgMaxWidth](#svgmaxwidth)
- [svgOffset](#svgoffset)
- [updateDivSize](#updatedivsize)

### Properties

#### divClassName

• `Optional` **divClassName**: *string*

类名

___

#### maxDivSize

• `Optional` **maxDivSize**: *number*

放大div时，最大的div大小，超过了就像素放大了

___

#### maxPitch

• `Optional` **maxPitch**: *number*

显示最大倾斜角

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示最小级别

___

#### minZoom

• `Optional` **minZoom**: *number*

显示最大级别

___

#### noUpdateBoundsWhenMoveend

• `Optional` **noUpdateBoundsWhenMoveend**: *boolean*

当移动结束时不自动更新范围

___

#### svgMaxHeight

• `Optional` **svgMaxHeight**: *number*

svg初始化时最大像素高,默认1000

___

#### svgMaxWidth

• `Optional` **svgMaxWidth**: *number*

svg初始化时最大像素宽,默认1000

___

#### svgOffset

• `Optional` **svgOffset**: *number*

svg初始化时Offset像素距离,默认100

___

#### updateDivSize

• `Optional` **updateDivSize**: *boolean*

自动更新div大小，（如果需要svg放大，需要设置为true)


<a name="interfacesdefaultsymboloptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / SymbolOptions

## Interface: SymbolOptions

[default](#modulesdefaultmd).SymbolOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **SymbolOptions**

### Table of contents

#### Properties

- [data](#data)
- [filter](#filter)
- [iconAllowOverlap](#iconallowoverlap)
- [iconAnchor](#iconanchor)
- [iconColor](#iconcolor)
- [iconHaloBlur](#iconhaloblur)
- [iconHaloColor](#iconhalocolor)
- [iconHaloWidth](#iconhalowidth)
- [iconIgnorePlacement](#iconignoreplacement)
- [iconImage](#iconimage)
- [iconKeepUpright](#iconkeepupright)
- [iconOffset](#iconoffset)
- [iconOpacity](#iconopacity)
- [iconOptional](#iconoptional)
- [iconPadding](#iconpadding)
- [iconPitchAlignment](#iconpitchalignment)
- [iconRotate](#iconrotate)
- [iconRotationAlignment](#iconrotationalignment)
- [iconSize](#iconsize)
- [iconTextFit](#icontextfit)
- [iconTextFitPadding](#icontextfitpadding)
- [iconTranslate](#icontranslate)
- [iconTranslateAnchor](#icontranslateanchor)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [symbolAvoidEdges](#symbolavoidedges)
- [symbolPlacement](#symbolplacement)
- [symbolSortKey](#symbolsortkey)
- [symbolSpacing](#symbolspacing)
- [symbolZOrder](#symbolzorder)
- [textAllowOverlap](#textallowoverlap)
- [textAnchor](#textanchor)
- [textColor](#textcolor)
- [textField](#textfield)
- [textFont](#textfont)
- [textHaloBlur](#texthaloblur)
- [textHaloColor](#texthalocolor)
- [textHaloWidth](#texthalowidth)
- [textIgnorePlacement](#textignoreplacement)
- [textJustify](#textjustify)
- [textKeepUpright](#textkeepupright)
- [textLetterSpacing](#textletterspacing)
- [textLineHeight](#textlineheight)
- [textMaxAngle](#textmaxangle)
- [textMaxWidth](#textmaxwidth)
- [textOffset](#textoffset)
- [textOpacity](#textopacity)
- [textOptional](#textoptional)
- [textPadding](#textpadding)
- [textPitchAlignment](#textpitchalignment)
- [textRadialOffset](#textradialoffset)
- [textRotate](#textrotate)
- [textRotationAlignment](#textrotationalignment)
- [textSize](#textsize)
- [textTransform](#texttransform)
- [textTranslate](#texttranslate)
- [textTranslateAnchor](#texttranslateanchor)
- [textVariableAnchor](#textvariableanchor)
- [textWritingMode](#textwritingmode)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### iconAllowOverlap

• `Optional` **iconAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconAnchor

• `Optional` **iconAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

___

#### iconColor

• `Optional` **iconColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### iconHaloBlur

• `Optional` **iconHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconHaloColor

• `Optional` **iconHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### iconHaloWidth

• `Optional` **iconHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconIgnorePlacement

• `Optional` **iconIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconImage

• `Optional` **iconImage**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### iconKeepUpright

• `Optional` **iconKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconOffset

• `Optional` **iconOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

___

#### iconOpacity

• `Optional` **iconOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconOptional

• `Optional` **iconOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconPadding

• `Optional` **iconPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### iconPitchAlignment

• `Optional` **iconPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### iconRotate

• `Optional` **iconRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconRotationAlignment

• `Optional` **iconRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### iconSize

• `Optional` **iconSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconTextFit

• `Optional` **iconTextFit**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"`` \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"interval"``  }

___

#### iconTextFitPadding

• `Optional` **iconTextFitPadding**: [*number*, *number*, *number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"interval"``  }

___

#### iconTranslate

• `Optional` **iconTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### iconTranslateAnchor

• `Optional` **iconTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### symbolAvoidEdges

• `Optional` **symbolAvoidEdges**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### symbolPlacement

• `Optional` **symbolPlacement**: ``"line"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"point"`` \| ``"line-center"`` \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"interval"``  }

___

#### symbolSortKey

• `Optional` **symbolSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### symbolSpacing

• `Optional` **symbolSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### symbolZOrder

• `Optional` **symbolZOrder**: ``"source"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| ``"viewport-y"`` \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"interval"``  }

___

#### textAllowOverlap

• `Optional` **textAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textAnchor

• `Optional` **textAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

___

#### textColor

• `Optional` **textColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### textField

• `Optional` **textField**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### textFont

• `Optional` **textFont**: *string*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *string*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"categorical"``  }

___

#### textHaloBlur

• `Optional` **textHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textHaloColor

• `Optional` **textHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### textHaloWidth

• `Optional` **textHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textIgnorePlacement

• `Optional` **textIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textJustify

• `Optional` **textJustify**: ``"center"`` \| ``"left"`` \| ``"right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  }

___

#### textKeepUpright

• `Optional` **textKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textLetterSpacing

• `Optional` **textLetterSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textLineHeight

• `Optional` **textLineHeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textMaxAngle

• `Optional` **textMaxAngle**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### textMaxWidth

• `Optional` **textMaxWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textOffset

• `Optional` **textOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

___

#### textOpacity

• `Optional` **textOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textOptional

• `Optional` **textOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textPadding

• `Optional` **textPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### textPitchAlignment

• `Optional` **textPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### textRadialOffset

• `Optional` **textRadialOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textRotate

• `Optional` **textRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textRotationAlignment

• `Optional` **textRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### textSize

• `Optional` **textSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textTransform

• `Optional` **textTransform**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  }

___

#### textTranslate

• `Optional` **textTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### textTranslateAnchor

• `Optional` **textTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### textVariableAnchor

• `Optional` **textVariableAnchor**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| [*Anchor*](#anchor)[] \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"interval"``  }

___

#### textWritingMode

• `Optional` **textWritingMode**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| (``"vertical"`` \| ``"horizontal"``)[] \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"interval"``  }

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesdefaulttextoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / TextOptions

## Interface: TextOptions

[default](#modulesdefaultmd).TextOptions

### Hierarchy

- *MarkerOptions*

  ↳ **TextOptions**

### Table of contents

#### Properties

- [style](#style)
- [text](#text)

### Properties

#### style

• `Optional` **style**: *object*

文本样式.

___

#### text

• `Optional` **text**: *string*

文本内容.


<a name="interfacesdefaultthreejscontextmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ThreeJsContext

## Interface: ThreeJsContext

[default](#modulesdefaultmd).ThreeJsContext

### Table of contents

#### Methods

- [Object3D](#object3d)
- [add](#add)
- [clear](#clear)
- [coneMesh](#conemesh)
- [createSkyLayer](#createskylayer)
- [createTerrainLayer](#createterrainlayer)
- [defaultLights](#defaultlights)
- [dispose](#dispose)
- [extrusion](#extrusion)
- [findParent3DObject](#findparent3dobject)
- [flyline](#flyline)
- [getFeatureCenter](#getfeaturecenter)
- [getObjectHeightOnFloor](#getobjectheightonfloor)
- [getSunPosition](#getsunposition)
- [getSunSky](#getsunsky)
- [getSunTimes](#getsuntimes)
- [getWorldSize](#getworldsize)
- [label](#label)
- [line](#line)
- [loadTexture](#loadtexture)
- [mapToWorld](#maptoworld)
- [mapToWorldLength](#maptoworldlength)
- [memory](#memory)
- [programs](#programs)
- [projectToWorld](#projecttoworld)
- [projectedUnitsPerMeter](#projectedunitspermeter)
- [queryRenderedFeatures](#queryrenderedfeatures)
- [radar](#radar)
- [radialGradient](#radialgradient)
- [realSunlight](#realsunlight)
- [remove](#remove)
- [removeByName](#removebyname)
- [removeLayer](#removelayer)
- [repaint](#repaint)
- [setBuildingShadows](#setbuildingshadows)
- [setDefaultView](#setdefaultview)
- [setLayerHeigthProperty](#setlayerheigthproperty)
- [setLayerZoomRange](#setlayerzoomrange)
- [setLayoutProperty](#setlayoutproperty)
- [setObjectsScale](#setobjectsscale)
- [setStyle](#setstyle)
- [setSunlight](#setsunlight)
- [sphere](#sphere)
- [toggle](#toggle)
- [toggleLayer](#togglelayer)
- [tooltip](#tooltip)
- [tube](#tube)
- [unprojectFromWorld](#unprojectfromworld)
- [update](#update)
- [updateLightHelper](#updatelighthelper)
- [updateSunGround](#updatesunground)
- [updateSunSky](#updatesunsky)
- [wall](#wall)
- [wave](#wave)
- [waveWall](#wavewall)
- [worldToMapLength](#worldtomaplength)

### Methods

#### Object3D

▸ **Object3D**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### add

▸ **add**(`obj`: *any*, `layerId?`: *string*, `sourceId?`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | *any* |
| `layerId?` | *string* |
| `sourceId?` | *string* |

**Returns:** *any*

___

#### clear

▸ **clear**(`layerId?`: *string*, `dispose?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId?` | *string* |
| `dispose?` | *boolean* |

**Returns:** *any*

___

#### coneMesh

▸ **coneMesh**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `animation?`: *boolean* ; `animationUpDown?`: *boolean* ; `color?`: *string* \| *number* ; `height?`: *number* ; `obj3dOpts?`: *object* ; `size?`: *number*  }): *any*

创建一个四棱锥

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.animation?` | *boolean* |
| `opts.animationUpDown?` | *boolean* |
| `opts.color?` | *string* \| *number* |
| `opts.height?` | *number* |
| `opts.obj3dOpts?` | *object* |
| `opts.size?` | *number* |

**Returns:** *any*

___

#### createSkyLayer

▸ **createSkyLayer**(): *void*

**Returns:** *void*

___

#### createTerrainLayer

▸ **createTerrainLayer**(): *void*

**Returns:** *void*

___

#### defaultLights

▸ **defaultLights**(): *any*

**Returns:** *any*

___

#### dispose

▸ **dispose**(): *any*

**Returns:** *any*

___

#### extrusion

▸ **extrusion**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### findParent3DObject

▸ **findParent3DObject**(`mesh`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `mesh` | *any* |

**Returns:** *any*

___

#### flyline

▸ **flyline**(`opts`: { `color`: *string* \| *number* ; `color2?`: *string* \| *number* ; `count?`: *number* ; `height?`: *number* ; `opacity?`: *number* ; `range?`: *number* ; `size?`: *number* ; `source`: [*GeoPoint*](#classesdefaultgeopointmd) ; `speed?`: *number* ; `target`: [*GeoPoint*](#classesdefaultgeopointmd)  }): *any*

 创建一条飞行线

##### Parameters

| Name | Type |
| :------ | :------ |
| `opts` | *object* |
| `opts.color` | *string* \| *number* |
| `opts.color2?` | *string* \| *number* |
| `opts.count?` | *number* |
| `opts.height?` | *number* |
| `opts.opacity?` | *number* |
| `opts.range?` | *number* |
| `opts.size?` | *number* |
| `opts.source` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts.speed?` | *number* |
| `opts.target` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *any*

___

#### getFeatureCenter

▸ **getFeatureCenter**(`feature`: *any*, `obj`: *any*, `level`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `obj` | *any* |
| `level` | *number* |

**Returns:** *any*

___

#### getObjectHeightOnFloor

▸ **getObjectHeightOnFloor**(`coords`: *any*, `obj`: *any*, `level`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |
| `obj` | *any* |
| `level` | *number* |

**Returns:** *any*

___

#### getSunPosition

▸ **getSunPosition**(`date`: *any*, `coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `date` | *any* |
| `coords` | *any* |

**Returns:** *any*

___

#### getSunSky

▸ **getSunSky**(`date`: *any*, `sunPos`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `date` | *any* |
| `sunPos` | *any* |

**Returns:** *any*

___

#### getSunTimes

▸ **getSunTimes**(`date`: *any*, `coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `date` | *any* |
| `coords` | *any* |

**Returns:** *any*

___

#### getWorldSize

▸ **getWorldSize**(): *number*

threejs世界坐标总长度.

**Returns:** *number*

___

#### label

▸ **label**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### line

▸ **line**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### loadTexture

▸ **loadTexture**(`img`: *string*, `defaultImg?`: *string*): *any*

加载材质，要使用base64图片，返回 `THREE.Texture` 对象.

##### Parameters

| Name | Type |
| :------ | :------ |
| `img` | *string* |
| `defaultImg?` | *string* |

**Returns:** *any*

___

#### mapToWorld

▸ **mapToWorld**(`coords`: *any*): *any*

地图几何坐标转threejs世界坐标.

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |

**Returns:** *any*

___

#### mapToWorldLength

▸ **mapToWorldLength**(`coords`: *any*): *any*

threejs世界坐标地转图几何坐标.

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |

**Returns:** *any*

▸ **mapToWorldLength**(`len`: *number*): *number*

地图几何长度转threejs世界坐标长度.

##### Parameters

| Name | Type |
| :------ | :------ |
| `len` | *number* |

**Returns:** *number*

___

#### memory

▸ **memory**(): *any*

**Returns:** *any*

___

#### programs

▸ **programs**(): *any*

**Returns:** *any*

___

#### projectToWorld

▸ **projectToWorld**(`coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |

**Returns:** *any*

___

#### projectedUnitsPerMeter

▸ **projectedUnitsPerMeter**(`lat`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `lat` | *any* |

**Returns:** *any*

___

#### queryRenderedFeatures

▸ **queryRenderedFeatures**(`point`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | *any* |

**Returns:** *any*

___

#### radar

▸ **radar**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color1?`: *string* \| *number* ; `color2?`: *string* \| *number* ; `size?`: *number* ; `speed?`: *number* ; `texture1`: *string* ; `texture2`: *string*  }): *any*

创建一个扫描雷达

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color1?` | *string* \| *number* |
| `opts.color2?` | *string* \| *number* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |
| `opts.texture1` | *string* |
| `opts.texture2` | *string* |

**Returns:** *any*

___

#### radialGradient

▸ **radialGradient**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color?`: *any* ; `size?`: *number* ; `speed?`: *number*  }): *any*

创建一个径向渐变球

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color?` | *any* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |

**Returns:** *any*

___

#### realSunlight

▸ **realSunlight**(`helper?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `helper?` | *boolean* |

**Returns:** *any*

___

#### remove

▸ **remove**(`obj`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | *any* |

**Returns:** *any*

___

#### removeByName

▸ **removeByName**(`name`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `name` | *string* |

**Returns:** *any*

___

#### removeLayer

▸ **removeLayer**(`layerId`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |

**Returns:** *any*

___

#### repaint

▸ **repaint**(): *void*

**Returns:** *void*

___

#### setBuildingShadows

▸ **setBuildingShadows**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### setDefaultView

▸ **setDefaultView**(`options`: *any*, `defOptions`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |
| `defOptions` | *any* |

**Returns:** *any*

___

#### setLayerHeigthProperty

▸ **setLayerHeigthProperty**(`layerId`: *string*, `level`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `level` | *number* |

**Returns:** *any*

___

#### setLayerZoomRange

▸ **setLayerZoomRange**(`layerId`: *string*, `minZoomLayer`: *number*, `maxZoomLayer`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `minZoomLayer` | *number* |
| `maxZoomLayer` | *number* |

**Returns:** *any*

___

#### setLayoutProperty

▸ **setLayoutProperty**(`layerId`: *string*, `name`: *string*, `value`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `name` | *string* |
| `value` | *any* |

**Returns:** *any*

___

#### setObjectsScale

▸ **setObjectsScale**(): *any*

**Returns:** *any*

___

#### setStyle

▸ **setStyle**(`styleId`: *string*, `options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `styleId` | *string* |
| `options` | *any* |

**Returns:** *any*

___

#### setSunlight

▸ **setSunlight**(`newDate`: *any*, `coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `newDate` | *any* |
| `coords` | *any* |

**Returns:** *any*

___

#### sphere

▸ **sphere**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### toggle

▸ **toggle**(`layerId`: *string*, `visible?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `visible?` | *boolean* |

**Returns:** *any*

___

#### toggleLayer

▸ **toggleLayer**(`layerId`: *string*, `visible?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `visible?` | *boolean* |

**Returns:** *any*

___

#### tooltip

▸ **tooltip**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### tube

▸ **tube**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### unprojectFromWorld

▸ **unprojectFromWorld**(`v3`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v3` | *any* |

**Returns:** *any*

___

#### update

▸ **update**(): *any*

**Returns:** *any*

___

#### updateLightHelper

▸ **updateLightHelper**(): *any*

**Returns:** *any*

___

#### updateSunGround

▸ **updateSunGround**(`sunPos`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `sunPos` | *any* |

**Returns:** *any*

___

#### updateSunSky

▸ **updateSunSky**(`sunPos`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `sunPos` | *any* |

**Returns:** *any*

___

#### wall

▸ **wall**(`pts`: [*GeoPoint*](#classesdefaultgeopointmd)[], `opts?`: { `color1?`: *string* \| *number* ; `color2?`: *string* \| *number* ; `flyline?`: *boolean* ; `height?`: *number* ; `obj3dOpts?`: *object* ; `offsetX?`: *number* ; `offsetY?`: *number* ; `opacity?`: *number* ; `repeatX?`: *number* ; `repeatY?`: *number* ; `texture1?`: *string* ; `texture2?`: *string*  }): *any*

创建一个立体光墙

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `opts?` | *object* |
| `opts.color1?` | *string* \| *number* |
| `opts.color2?` | *string* \| *number* |
| `opts.flyline?` | *boolean* |
| `opts.height?` | *number* |
| `opts.obj3dOpts?` | *object* |
| `opts.offsetX?` | *number* |
| `opts.offsetY?` | *number* |
| `opts.opacity?` | *number* |
| `opts.repeatX?` | *number* |
| `opts.repeatY?` | *number* |
| `opts.texture1?` | *string* |
| `opts.texture2?` | *string* |

**Returns:** *any*

___

#### wave

▸ **wave**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color?`: *string* \| *number* ; `size?`: *number* ; `speed?`: *number* ; `texture?`: *string*  }): *any*

创建一个波动光圈

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color?` | *string* \| *number* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |
| `opts.texture?` | *string* |

**Returns:** *any*

___

#### waveWall

▸ **waveWall**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color?`: *string* \| *number* ; `height?`: *number* ; `opacity?`: *number* ; `size?`: *number* ; `speed?`: *number* ; `texture?`: *string*  }): *any*

创建一个波动光圈

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color?` | *string* \| *number* |
| `opts.height?` | *number* |
| `opts.opacity?` | *number* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |
| `opts.texture?` | *string* |

**Returns:** *any*

___

#### worldToMapLength

▸ **worldToMapLength**(`len`: *number*): *number*

threejs世界坐标长度转地图几何长度.

##### Parameters

| Name | Type |
| :------ | :------ |
| `len` | *number* |

**Returns:** *number*


<a name="interfacesdefaultthreejscontextoptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ThreeJsContextOptions

## Interface: ThreeJsContextOptions

[default](#modulesdefaultmd).ThreeJsContextOptions

### Table of contents

#### Properties

- [defaultLights](#defaultlights)
- [enableDraggingObjects](#enabledraggingobjects)
- [enableRotatingObjects](#enablerotatingobjects)
- [enableSelectingFeatures](#enableselectingfeatures)
- [enableSelectingObjects](#enableselectingobjects)
- [enableTooltips](#enabletooltips)
- [fov](#fov)
- [multiLayer](#multilayer)
- [orthographic](#orthographic)
- [passiveRendering](#passiverendering)
- [preserveDrawingBuffer](#preservedrawingbuffer)
- [realSunlight](#realsunlight)
- [realSunlightHelper](#realsunlighthelper)
- [sky](#sky)
- [terrain](#terrain)

### Properties

#### defaultLights

• `Optional` **defaultLights**: *boolean*

___

#### enableDraggingObjects

• `Optional` **enableDraggingObjects**: *boolean*

___

#### enableRotatingObjects

• `Optional` **enableRotatingObjects**: *boolean*

___

#### enableSelectingFeatures

• `Optional` **enableSelectingFeatures**: *boolean*

___

#### enableSelectingObjects

• `Optional` **enableSelectingObjects**: *boolean*

___

#### enableTooltips

• `Optional` **enableTooltips**: *boolean*

___

#### fov

• `Optional` **fov**: *number*

___

#### multiLayer

• `Optional` **multiLayer**: *boolean*

___

#### orthographic

• `Optional` **orthographic**: *boolean*

___

#### passiveRendering

• `Optional` **passiveRendering**: *boolean*

___

#### preserveDrawingBuffer

• `Optional` **preserveDrawingBuffer**: *boolean*

___

#### realSunlight

• `Optional` **realSunlight**: *boolean*

___

#### realSunlightHelper

• `Optional` **realSunlightHelper**: *boolean*

___

#### sky

• `Optional` **sky**: *boolean*

___

#### terrain

• `Optional` **terrain**: *boolean*


<a name="interfacesdefaultthreelayeroptionsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / ThreeLayerOptions

## Interface: ThreeLayerOptions

[default](#modulesdefaultmd).ThreeLayerOptions

### Table of contents

#### Properties

- [context](#context)
- [id](#id)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [render](#render)

### Properties

#### context

• **context**: [*ThreeJsContext*](#interfacesdefaultthreejscontextmd)

___

#### id

• `Optional` **id**: *string*

___

#### onAdd

• `Optional` **onAdd**: (`map`: *any*, `gl`: *any*) => *void*

##### Type declaration

▸ (`map`: *any*, `gl`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `gl` | *any* |

**Returns:** *void*

___

#### onRemove

• `Optional` **onRemove**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### render

• `Optional` **render**: (`gl`: *any*, `matrix`: *any*) => *void*

##### Type declaration

▸ (`gl`: *any*, `matrix`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | *any* |
| `matrix` | *any* |

**Returns:** *void*


<a name="interfacesdivoverlayoptionsmd"></a>

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

## Interface: DivOverlayOptions

### Table of contents

#### Properties

- [bounds](#bounds)
- [element](#element)
- [height](#height)
- [maxDivSize](#maxdivsize)
- [maxPitch](#maxpitch)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [updateDivSize](#updatedivsize)
- [width](#width)

### Properties

#### bounds

• **bounds**: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [[*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike), [*GeoPointLike*](#geopointlike)]

范围，四个点坐标

___

#### element

• **element**: HTMLElement

html元素

___

#### height

• **height**: *number*

元素高

___

#### maxDivSize

• `Optional` **maxDivSize**: *number*

放大div时，最大的div大小，超过了就像素放大了

___

#### maxPitch

• `Optional` **maxPitch**: *number*

显示最大倾斜角

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示最小级别

___

#### minZoom

• `Optional` **minZoom**: *number*

显示最大级别

___

#### updateDivSize

• `Optional` **updateDivSize**: *boolean*

自动更新div大小，（如果需要svg放大，需要设置为true)

___

#### width

• **width**: *number*

元素宽


<a name="interfacesdrivercontrolsmd"></a>

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

## Interface: DriverControls

Drivers accept a update function and call it at an interval. This interval
could be a synchronous loop, a setInterval, or tied to the device's framerate.

### Table of contents

#### Properties

- [start](#start)
- [stop](#stop)

### Properties

#### start

• **start**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### stop

• **stop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesellipseedgeoptionsmd"></a>

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

## Interface: EllipseEdgeOptions

### Hierarchy

- [*PolylineOptions*](#interfacesdefaultpolylineoptionsmd)

  ↳ **EllipseEdgeOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [majorAxisRadius](#majoraxisradius)
- [maxzoom](#maxzoom)
- [minorAxisRadius](#minoraxisradius)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[lineWidth](#linewidth)

___

#### majorAxisRadius

• **majorAxisRadius**: *number*

长轴半径

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[maxzoom](#maxzoom)

___

#### minorAxisRadius

• **minorAxisRadius**: *number*

短轴半径

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolylineOptions](#interfacesdefaultpolylineoptionsmd).[visibility](#visibility)


<a name="interfacesellipsefilloptionsmd"></a>

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

## Interface: EllipseFillOptions

### Hierarchy

- [*PolygonOptions*](#interfacesdefaultpolygonoptionsmd)

  ↳ **EllipseFillOptions**

### Table of contents

#### Properties

- [center](#center)
- [data](#data)
- [endAngle](#endangle)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [majorAxisRadius](#majoraxisradius)
- [maxzoom](#maxzoom)
- [minorAxisRadius](#minoraxisradius)
- [minzoom](#minzoom)
- [points](#points)
- [properties](#properties)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [startAngle](#startangle)
- [visibility](#visibility)

### Properties

#### center

• **center**: [*GeoPointLike*](#geopointlike)

中心点

___

#### data

• **data**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[data](#data)

___

#### endAngle

• `Optional` **endAngle**: *number*

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillAntialias](#fillantialias)

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillColor](#fillcolor)

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOpacity](#fillopacity)

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillOutlineColor](#filloutlinecolor)

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillPattern](#fillpattern)

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillSortKey](#fillsortkey)

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslate](#filltranslate)

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[fillTranslateAnchor](#filltranslateanchor)

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[layerId](#layerid)

___

#### majorAxisRadius

• **majorAxisRadius**: *number*

长轴半径

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[maxzoom](#maxzoom)

___

#### minorAxisRadius

• **minorAxisRadius**: *number*

短轴半径

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[minzoom](#minzoom)

___

#### points

• `Optional` **points**: *number*

___

#### properties

• `Optional` **properties**: *object*

属性数据

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[sourceLayer](#sourcelayer)

___

#### startAngle

• `Optional` **startAngle**: *number*

开始角度

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [PolygonOptions](#interfacesdefaultpolygonoptionsmd).[visibility](#visibility)


<a name="interfaceseventsmd"></a>

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

## Interface: Events

### Table of contents

#### Properties

- [ABORT](#abort)
- [ERROR](#error)
- [LOAD](#load)
- [LOAD\_END](#load_end)
- [LOAD\_START](#load_start)
- [PROGRESS](#progress)
- [READY\_STATE\_CHANGE](#ready_state_change)
- [TIMEOUT](#timeout)

### Properties

#### ABORT

• **ABORT**: ``"abort"``

___

#### ERROR

• **ERROR**: ``"error"``

___

#### LOAD

• **LOAD**: ``"load"``

___

#### LOAD\_END

• **LOAD\_END**: ``"loadend"``

___

#### LOAD\_START

• **LOAD\_START**: ``"loadstart"``

___

#### PROGRESS

• **PROGRESS**: ``"progress"``

___

#### READY\_STATE\_CHANGE

• **READY\_STATE\_CHANGE**: ``"readystatechange"``

___

#### TIMEOUT

• **TIMEOUT**: ``"timeout"``


<a name="interfacesfillextrusionoptionsmd"></a>

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

## Interface: FillExtrusionOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **FillExtrusionOptions**

### Table of contents

#### Properties

- [data](#data)
- [fillExtrusionBase](#fillextrusionbase)
- [fillExtrusionColor](#fillextrusioncolor)
- [fillExtrusionHeight](#fillextrusionheight)
- [fillExtrusionOpacity](#fillextrusionopacity)
- [fillExtrusionPattern](#fillextrusionpattern)
- [fillExtrusionTranslate](#fillextrusiontranslate)
- [fillExtrusionTranslateAnchor](#fillextrusiontranslateanchor)
- [fillExtrusionVerticalGradient](#fillextrusionverticalgradient)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### fillExtrusionBase

• `Optional` **fillExtrusionBase**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionColor

• `Optional` **fillExtrusionColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionHeight

• `Optional` **fillExtrusionHeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionOpacity

• `Optional` **fillExtrusionOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### fillExtrusionPattern

• `Optional` **fillExtrusionPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillExtrusionTranslate

• `Optional` **fillExtrusionTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### fillExtrusionTranslateAnchor

• `Optional` **fillExtrusionTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### fillExtrusionVerticalGradient

• `Optional` **fillExtrusionVerticalGradient**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesframeanimationmd"></a>

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

## Interface: FrameAnimation

**`property`** {Boolean} running - Getter that indicates if animation is running.

**`property`** {function():void} stop - Stops the animation.

**`property`** {function():void} start - Starts the animation.

### Table of contents

#### Properties

- [changeFps](#changefps)
- [pause](#pause)
- [running](#running)
- [start](#start)
- [status](#status)
- [stop](#stop)

### Properties

#### changeFps

• **changeFps**: (`fps`: *number*) => *void*

一秒运行多少帧，用来控制速度

##### Type declaration

▸ (`fps`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `fps` | *number* |

**Returns:** *void*

___

#### pause

• **pause**: () => *void*

pause the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### running

• `Readonly` **running**: *boolean*

A getter property that indicates if animation is running.

___

#### start

• **start**: () => *void*

Starts the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### status

• `Readonly` **status**: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)

A getter property that indicates if animation is running.

___

#### stop

• **stop**: () => *void*

Stops the animation.

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesgridlayerlabelstylemd"></a>

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

## 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

## Interface: GridLayerOptions

### Table of contents

#### Properties

- [extent](#extent)
- [interval](#interval)
- [layerID](#layerid)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [opacity](#opacity)
- [showLabel](#showlabel)
- [strokeStyle](#strokestyle)
- [visible](#visible)
- [xLabelDigit](#xlabeldigit)
- [xLabelFormatter](#xlabelformatter)
- [xLabelStyle](#xlabelstyle)
- [yLabelDigit](#ylabeldigit)
- [yLabelFormatter](#ylabelformatter)
- [yLabelStyle](#ylabelstyle)

### Properties

#### extent

• `Optional` **extent**: *LngLatBounds*

坐标网格渲染的边界经纬度范围（[minx, miny, maxx, maxy]），默认为整个地图范围。

___

#### interval

• `Optional` **interval**: *number* \| Function

经纬度的间隔（以度为单位），可以是数字，也可以是函数，参数是map，默认10

___

#### layerID

• `Optional` **layerID**: *string*

图层 ID。默认使用创建图层随机ID。

___

#### maxZoom

• `Optional` **maxZoom**: *number*

该图层可见的最大视图缩放级别（含）

___

#### minZoom

• `Optional` **minZoom**: *number*

最小视图缩放级别（不包括此级别），在该级别之上，该层将可见。

___

#### opacity

• `Optional` **opacity**: *number*

画布不透明度。 默认1

___

#### showLabel

• `Optional` **showLabel**: *boolean*

是否显示标签 默认true

___

#### strokeStyle

• `Optional` **strokeStyle**: [*GridLayerStrokeStyle*](#interfacesdefaultgridlayerstrokestylemd)

绘制网络线的样式

___

#### visible

• `Optional` **visible**: *boolean*

是否显示坐标网格 默认true

___

#### xLabelDigit

• `Optional` **xLabelDigit**: *number*

x标签小数位数。默认2位

___

#### xLabelFormatter

• `Optional` **xLabelFormatter**: Function

x标签转换函数

___

#### xLabelStyle

• `Optional` **xLabelStyle**: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)

x轴标签样式

___

#### yLabelDigit

• `Optional` **yLabelDigit**: *number*

y标签小数位数。默认2位

___

#### yLabelFormatter

• `Optional` **yLabelFormatter**: Function

y标签转换函数

___

#### yLabelStyle

• `Optional` **yLabelStyle**: [*GridLayerLabelStyle*](#interfacesdefaultgridlayerlabelstylemd)

y轴标签样式


<a name="interfacesgridlayerstrokestylemd"></a>

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

## Interface: GridLayerStrokeStyle

### Table of contents

#### Properties

- [lindDasharray](#linddasharray)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDashOffset](#linedashoffset)
- [lineJoin](#linejoin)
- [lineWidth](#linewidth)

### Properties

#### lindDasharray

• `Optional` **lindDasharray**: Function \| *number*[]

虚线样式

___

#### lineCap

• `Optional` **lineCap**: ``"butt"`` \| ``"round"`` \| ``"square"``

线端点风格：butt, round, square

___

#### lineColor

• `Optional` **lineColor**: *string*

线颜色

___

#### lineDashOffset

• `Optional` **lineDashOffset**: *number*

虚线样式

___

#### lineJoin

• `Optional` **lineJoin**: ``"round"`` \| ``"bevel"`` \| ``"miter"``

线连接样式：bevel, round, miter

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| Function

线宽


<a name="interfacesheatmapoptionsmd"></a>

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

## Interface: HeatmapOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **HeatmapOptions**

### Table of contents

#### Properties

- [data](#data)
- [filter](#filter)
- [heatmapColor](#heatmapcolor)
- [heatmapIntensity](#heatmapintensity)
- [heatmapOpacity](#heatmapopacity)
- [heatmapRadius](#heatmapradius)
- [heatmapWeight](#heatmapweight)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### heatmapColor

• `Optional` **heatmapColor**: [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### heatmapIntensity

• `Optional` **heatmapIntensity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### heatmapOpacity

• `Optional` **heatmapOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### heatmapRadius

• `Optional` **heatmapRadius**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### heatmapWeight

• `Optional` **heatmapWeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesianimatefilllayeroptionsmd"></a>

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

## Interface: IAnimateFillLayerOptions

### Hierarchy

- *Omit*<[*PolygonOptions*](#interfacesdefaultpolygonoptionsmd), ``"data"``\>

  ↳ **IAnimateFillLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillAntialias

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillColor

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillOpacity

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillOutlineColor

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillPattern

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.fillSortKey

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillTranslate

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.fillTranslateAnchor

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesianimatelinelayeroptionsmd"></a>

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

## Interface: IAnimateLineLayerOptions

### Hierarchy

- *Omit*<[*PolylineOptions*](#interfacesdefaultpolylineoptionsmd), ``"data"``\>

  ↳ **IAnimateLineLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  } \| ImageBitmap)[]

动画图集.

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineBlur

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineCap

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineColor

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineDasharray

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineGapWidth

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: Omit.lineGradient

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineJoin

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineMiterMimit

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineOffset

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineOpacity

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.linePattern

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineRoundLimit

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineSortKey

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineTranslate

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.lineTranslateAnchor

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.lineWidth

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesianimatesymbollayeroptionsmd"></a>

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

## Interface: IAnimateSymbolLayerOptions

### Hierarchy

- *Omit*<[*SymbolOptions*](#interfacesdefaultsymboloptionsmd), ``"data"``\>

  ↳ **IAnimateSymbolLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [filter](#filter)
- [iconAllowOverlap](#iconallowoverlap)
- [iconAnchor](#iconanchor)
- [iconColor](#iconcolor)
- [iconHaloBlur](#iconhaloblur)
- [iconHaloColor](#iconhalocolor)
- [iconHaloWidth](#iconhalowidth)
- [iconIgnorePlacement](#iconignoreplacement)
- [iconImage](#iconimage)
- [iconKeepUpright](#iconkeepupright)
- [iconOffset](#iconoffset)
- [iconOpacity](#iconopacity)
- [iconOptional](#iconoptional)
- [iconPadding](#iconpadding)
- [iconPitchAlignment](#iconpitchalignment)
- [iconRotate](#iconrotate)
- [iconRotationAlignment](#iconrotationalignment)
- [iconSize](#iconsize)
- [iconTextFit](#icontextfit)
- [iconTextFitPadding](#icontextfitpadding)
- [iconTranslate](#icontranslate)
- [iconTranslateAnchor](#icontranslateanchor)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)
- [symbolAvoidEdges](#symbolavoidedges)
- [symbolPlacement](#symbolplacement)
- [symbolSortKey](#symbolsortkey)
- [symbolSpacing](#symbolspacing)
- [symbolZOrder](#symbolzorder)
- [textAllowOverlap](#textallowoverlap)
- [textAnchor](#textanchor)
- [textColor](#textcolor)
- [textField](#textfield)
- [textFont](#textfont)
- [textHaloBlur](#texthaloblur)
- [textHaloColor](#texthalocolor)
- [textHaloWidth](#texthalowidth)
- [textIgnorePlacement](#textignoreplacement)
- [textJustify](#textjustify)
- [textKeepUpright](#textkeepupright)
- [textLetterSpacing](#textletterspacing)
- [textLineHeight](#textlineheight)
- [textMaxAngle](#textmaxangle)
- [textMaxWidth](#textmaxwidth)
- [textOffset](#textoffset)
- [textOpacity](#textopacity)
- [textOptional](#textoptional)
- [textPadding](#textpadding)
- [textPitchAlignment](#textpitchalignment)
- [textRadialOffset](#textradialoffset)
- [textRotate](#textrotate)
- [textRotationAlignment](#textrotationalignment)
- [textSize](#textsize)
- [textTransform](#texttransform)
- [textTranslate](#texttranslate)
- [textTranslateAnchor](#texttranslateanchor)
- [textVariableAnchor](#textvariableanchor)
- [textWritingMode](#textwritingmode)
- [visibility](#visibility)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### filter

• `Optional` **filter**: *any*

Inherited from: Omit.filter

___

#### iconAllowOverlap

• `Optional` **iconAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconAllowOverlap

___

#### iconAnchor

• `Optional` **iconAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconAnchor

___

#### iconColor

• `Optional` **iconColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconColor

___

#### iconHaloBlur

• `Optional` **iconHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconHaloBlur

___

#### iconHaloColor

• `Optional` **iconHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconHaloColor

___

#### iconHaloWidth

• `Optional` **iconHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconHaloWidth

___

#### iconIgnorePlacement

• `Optional` **iconIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconIgnorePlacement

___

#### iconImage

• `Optional` **iconImage**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconImage

___

#### iconKeepUpright

• `Optional` **iconKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconKeepUpright

___

#### iconOffset

• `Optional` **iconOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconOffset

___

#### iconOpacity

• `Optional` **iconOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconOpacity

___

#### iconOptional

• `Optional` **iconOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconOptional

___

#### iconPadding

• `Optional` **iconPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconPadding

___

#### iconPitchAlignment

• `Optional` **iconPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconPitchAlignment

___

#### iconRotate

• `Optional` **iconRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconRotate

___

#### iconRotationAlignment

• `Optional` **iconRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconRotationAlignment

___

#### iconSize

• `Optional` **iconSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.iconSize

___

#### iconTextFit

• `Optional` **iconTextFit**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"`` \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTextFit

___

#### iconTextFitPadding

• `Optional` **iconTextFitPadding**: [*number*, *number*, *number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTextFitPadding

___

#### iconTranslate

• `Optional` **iconTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTranslate

___

#### iconTranslateAnchor

• `Optional` **iconTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.iconTranslateAnchor

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: Omit.isHoverFeatureState

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: Omit.isHoverPointer

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: Omit.layerId

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: Omit.maxzoom

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: Omit.minzoom

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: Omit.sourceId

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: Omit.sourceLayer

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

___

#### symbolAvoidEdges

• `Optional` **symbolAvoidEdges**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolAvoidEdges

___

#### symbolPlacement

• `Optional` **symbolPlacement**: ``"line"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"point"`` \| ``"line-center"`` \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolPlacement

___

#### symbolSortKey

• `Optional` **symbolSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.symbolSortKey

___

#### symbolSpacing

• `Optional` **symbolSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolSpacing

___

#### symbolZOrder

• `Optional` **symbolZOrder**: ``"source"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| ``"viewport-y"`` \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.symbolZOrder

___

#### textAllowOverlap

• `Optional` **textAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textAllowOverlap

___

#### textAnchor

• `Optional` **textAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textAnchor

___

#### textColor

• `Optional` **textColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textColor

___

#### textField

• `Optional` **textField**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textField

___

#### textFont

• `Optional` **textFont**: *string*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *string*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textFont

___

#### textHaloBlur

• `Optional` **textHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textHaloBlur

___

#### textHaloColor

• `Optional` **textHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textHaloColor

___

#### textHaloWidth

• `Optional` **textHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textHaloWidth

___

#### textIgnorePlacement

• `Optional` **textIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textIgnorePlacement

___

#### textJustify

• `Optional` **textJustify**: ``"center"`` \| ``"left"`` \| ``"right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textJustify

___

#### textKeepUpright

• `Optional` **textKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textKeepUpright

___

#### textLetterSpacing

• `Optional` **textLetterSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textLetterSpacing

___

#### textLineHeight

• `Optional` **textLineHeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textLineHeight

___

#### textMaxAngle

• `Optional` **textMaxAngle**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textMaxAngle

___

#### textMaxWidth

• `Optional` **textMaxWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textMaxWidth

___

#### textOffset

• `Optional` **textOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textOffset

___

#### textOpacity

• `Optional` **textOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textOpacity

___

#### textOptional

• `Optional` **textOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textOptional

___

#### textPadding

• `Optional` **textPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: Omit.textPadding

___

#### textPitchAlignment

• `Optional` **textPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.textPitchAlignment

___

#### textRadialOffset

• `Optional` **textRadialOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textRadialOffset

___

#### textRotate

• `Optional` **textRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textRotate

___

#### textRotationAlignment

• `Optional` **textRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.textRotationAlignment

___

#### textSize

• `Optional` **textSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textSize

___

#### textTransform

• `Optional` **textTransform**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  }

Inherited from: Omit.textTransform

___

#### textTranslate

• `Optional` **textTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: Omit.textTranslate

___

#### textTranslateAnchor

• `Optional` **textTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: Omit.textTranslateAnchor

___

#### textVariableAnchor

• `Optional` **textVariableAnchor**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| [*Anchor*](#anchor)[] \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"interval"``  }

Inherited from: Omit.textVariableAnchor

___

#### textWritingMode

• `Optional` **textWritingMode**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| (``"vertical"`` \| ``"horizontal"``)[] \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"interval"``  }

Inherited from: Omit.textWritingMode

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: Omit.visibility


<a name="interfacesianimatevectorlayeroptionsmd"></a>

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

## Interface: IAnimateVectorLayerOptions

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [speed](#speed)
- [startAutoAnimation](#startautoanimation)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]

动画图集.

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.


<a name="interfacesianimatevectorlayerresultmd"></a>

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

## Interface: IAnimateVectorLayerResult

### Table of contents

#### Properties

- [remove](#remove)
- [setSpeed](#setspeed)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateImages](#updateimages)

### Properties

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*


<a name="interfacesicomposenewmapmd"></a>

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

## Interface: IComposeNewMap

组合新地图参数

### Table of contents

#### Properties

- [cadVersion](#cadversion)
- [clipbounds](#clipbounds)
- [fourParameter](#fourparameter)
- [isInverseFourParamter](#isinversefourparamter)
- [isRenameBlockNameIfExist](#isrenameblocknameifexist)
- [layerPrefix](#layerprefix)
- [layerSuffix](#layersuffix)
- [layers](#layers)
- [mapid](#mapid)
- [purge](#purge)
- [savefilename](#savefilename)
- [selByCrossing](#selbycrossing)
- [version](#version)

### Properties

#### cadVersion

• `Optional` **cadVersion**: *string*

导出的CAD版本号。如果为*表示为当前CAD图的版本

___

#### clipbounds

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

地图裁剪范围，范围如[x1,y1,x2,y2]， 为空的话，表示不裁剪

___

#### fourParameter

• `Optional` **fourParameter**: [*number*, *number*, *number*, *number*]

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

___

#### isInverseFourParamter

• `Optional` **isInverseFourParamter**: *boolean*

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

___

#### isRenameBlockNameIfExist

• `Optional` **isRenameBlockNameIfExist**: *boolean*

来源于其他图的实体时，如果块定义重复，则自动重命名 ，默认true

___

#### layerPrefix

• `Optional` **layerPrefix**: *string*

生新成图的图层名称前缀，如果设置为null将不会有默认的图层前缀。如果没有前缀，不同的图有图层重名时，如果设置了随层属性有可能会导致绘制的不一样

___

#### layerSuffix

• `Optional` **layerSuffix**: *string*

生新成图的图层名称后缀

___

#### layers

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

要显示的图层名称，为空的时候，表示全部图层

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### purge

• `Optional` **purge**: *boolean*

生成后清理图形数据以减少dwg文件大小

___

#### savefilename

• `Optional` **savefilename**: *string*

保存的文件名称，为空的时候，自根据参数自动生成

___

#### selByCrossing

• `Optional` **selByCrossing**: *boolean*

选择是包含还是相交（默认false表示包含，true相交）

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesiconditionqueryfeaturesmd"></a>

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

## Interface: IConditionQueryFeatures

条件查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IConditionQueryFeatures**

### Table of contents

#### Properties

- [beginpos](#beginpos)
- [bounds](#bounds)
- [condition](#condition)
- [fields](#fields)
- [geom](#geom)
- [includegeom](#includegeom)
- [isContains](#iscontains)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [realgeom](#realgeom)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [zoom](#zoom)

### Properties

#### beginpos

• `Optional` **beginpos**: *number*

记录开始位置.

___

#### bounds

• `Optional` **bounds**: [*number*, *number*, *number*, *number*]

范围.

___

#### condition

• **condition**: *string*

条件.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### includegeom

• `Optional` **includegeom**: *boolean*

是否返回几何数据,为了性能问题，realgeom为false时，如果返回条数大于1.只会返回每个实体的外包矩形，如果条数为1的话，会返回此实体的真实geojson；realgeom为true时每条都会返回实体的geojson

___

#### isContains

• `Optional` **isContains**: *boolean*

是否为包含关系, true为包含关系,false为相交关系，默认false. (传入了bounds进行范围查询时有效)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### realgeom

• `Optional` **realgeom**: *boolean*

是否返回真实实体几何geojson.与 includegeom参数，结合使用。参考includegeom的用法

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesicreateanimateimagesfromimageoptionsmd"></a>

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

## Interface: ICreateAnimateImagesFromImageOptions

### Indexable

▪ [key: *string*]: *any*

其他数据.

### Table of contents

#### Properties

- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [from](#from)
- [fromImage](#fromimage)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [to](#to)

### Properties

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..


<a name="interfacesicreateanimateimagesoptionsmd"></a>

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

## Interface: ICreateAnimateImagesOptions

### Indexable

▪ [key: *string*]: *any*

其他数据.

### Table of contents

#### Properties

- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [directionReverse](#directionreverse)
- [draw](#draw)
- [drawFrame](#drawframe)
- [frameCount](#framecount)
- [from](#from)
- [fromImage](#fromimage)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [to](#to)
- [yAxis](#yaxis)

### Properties

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

___

#### directionReverse

• `Optional` **directionReverse**: *boolean*

方向是否反向.

___

#### draw

• `Optional` **draw**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

绘制内容回调(此函数只需绘制第一帧，其作帧图片会根据移动方向和帧数自动计算出来).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

___

#### drawFrame

• `Optional` **drawFrame**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

每帧内容回调(此函数每帧都会调用，需要根据不同的帧数生成不同的图片，与上面的draw冲突，如果设置了drawFrame，则上面的draw函数无效).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `frameCount` | *number* |
| `curFrameIndex` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

___

#### frameCount

• `Optional` **frameCount**: *number*

要生成的动画图片帧的个数.默认2

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..

___

#### yAxis

• `Optional` **yAxis**: *boolean*

是否y方向生成动画图片集.


<a name="interfacesicreateanimatelayerresultmd"></a>

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

## Interface: ICreateAnimateLayerResult

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

___

#### layerId

• **layerId**: *string*

图层ID.

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

___

#### sourceId

• **sourceId**: *string*

数据源ID.

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*


<a name="interfacesicreateantpathanimatelinelayeroptionsmd"></a>

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

## Interface: ICreateAntPathAnimateLineLayerOptions

### Hierarchy

- [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)

- [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)

  ↳ **ICreateAntPathAnimateLineLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [directionReverse](#directionreverse)
- [draw](#draw)
- [drawFrame](#drawframe)
- [fillColor1](#fillcolor1)
- [fillColor2](#fillcolor2)
- [filter](#filter)
- [frameCount](#framecount)
- [from](#from)
- [fromImage](#fromimage)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [startAutoAnimation](#startautoanimation)
- [to](#to)
- [visibility](#visibility)
- [yAxis](#yaxis)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  } \| ImageBitmap)[]

动画图集.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[animateImages](#animateimages)

___

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasHeight](#canvasheight)

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasWidth](#canvaswidth)

___

#### directionReverse

• `Optional` **directionReverse**: *boolean*

方向是否反向.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[directionReverse](#directionreverse)

___

#### draw

• `Optional` **draw**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

绘制内容回调(此函数只需绘制第一帧，其作帧图片会根据移动方向和帧数自动计算出来).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[draw](#draw)

___

#### drawFrame

• `Optional` **drawFrame**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

每帧内容回调(此函数每帧都会调用，需要根据不同的帧数生成不同的图片，与上面的draw冲突，如果设置了drawFrame，则上面的draw函数无效).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `frameCount` | *number* |
| `curFrameIndex` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[drawFrame](#drawframe)

___

#### fillColor1

• `Optional` **fillColor1**: *string* \| CanvasGradient \| CanvasPattern

填充背景颜色1.

___

#### fillColor2

• `Optional` **fillColor2**: *string* \| CanvasGradient \| CanvasPattern

填充背景颜色1.

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[filter](#filter)

___

#### frameCount

• `Optional` **frameCount**: *number*

要生成的动画图片帧的个数.默认2

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[frameCount](#framecount)

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[from](#from)

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[fromImage](#fromimage)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerBefore](#layerbefore)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineWidth](#linewidth)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceLayer](#sourcelayer)

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[speed](#speed)

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteHeight](#spriteheight)

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteWidth](#spritewidth)

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[startAutoAnimation](#startautoanimation)

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[to](#to)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[visibility](#visibility)

___

#### yAxis

• `Optional` **yAxis**: *boolean*

是否y方向生成动画图片集.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[yAxis](#yaxis)


<a name="interfacesicreatearrowanimatelinelayeroptionsmd"></a>

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

## Interface: ICreateArrowAnimateLineLayerOptions

### Hierarchy

- [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)

- [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)

  ↳ **ICreateArrowAnimateLineLayerOptions**

### Table of contents

#### Properties

- [animateImages](#animateimages)
- [arrowFillColor](#arrowfillcolor)
- [arrowStrokeColor](#arrowstrokecolor)
- [arrowStrokeWidth](#arrowstrokewidth)
- [arrowWidth](#arrowwidth)
- [canvasHeight](#canvasheight)
- [canvasWidth](#canvaswidth)
- [directionReverse](#directionreverse)
- [draw](#draw)
- [drawFrame](#drawframe)
- [filter](#filter)
- [frameCount](#framecount)
- [from](#from)
- [fromImage](#fromimage)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerBefore](#layerbefore)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [speed](#speed)
- [spriteHeight](#spriteheight)
- [spriteWidth](#spritewidth)
- [startAutoAnimation](#startautoanimation)
- [to](#to)
- [visibility](#visibility)
- [yAxis](#yaxis)

### Properties

#### animateImages

• `Optional` **animateImages**: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  } \| ImageBitmap)[]

动画图集.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[animateImages](#animateimages)

___

#### arrowFillColor

• `Optional` **arrowFillColor**: *string* \| CanvasGradient \| CanvasPattern

箭头填充背景颜色.

___

#### arrowStrokeColor

• `Optional` **arrowStrokeColor**: *string* \| CanvasGradient \| CanvasPattern

箭头颜色.

___

#### arrowStrokeWidth

• `Optional` **arrowStrokeWidth**: *number*

箭头线宽.

___

#### arrowWidth

• `Optional` **arrowWidth**: *number*

箭头宽(默认为画布的一半).

___

#### canvasHeight

• `Optional` **canvasHeight**: *number*

画片高(2的n次幂，如2,4,8, 16, 32....).默认32

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasHeight](#canvasheight)

___

#### canvasWidth

• `Optional` **canvasWidth**: *number*

画片宽(2的n次幂，如2,4,8, 16, 32....).默认64

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[canvasWidth](#canvaswidth)

___

#### directionReverse

• `Optional` **directionReverse**: *boolean*

方向是否反向.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[directionReverse](#directionreverse)

___

#### draw

• `Optional` **draw**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

绘制内容回调(此函数只需绘制第一帧，其作帧图片会根据移动方向和帧数自动计算出来).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[draw](#draw)

___

#### drawFrame

• `Optional` **drawFrame**: (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => *void*

每帧内容回调(此函数每帧都会调用，需要根据不同的帧数生成不同的图片，与上面的draw冲突，如果设置了drawFrame，则上面的draw函数无效).

##### Type declaration

▸ (`context`: CanvasRenderingContext2D, `width`: *number*, `height`: *number*, `frameCount`: *number*, `curFrameIndex`: *number*, `opts`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `context` | CanvasRenderingContext2D |
| `width` | *number* |
| `height` | *number* |
| `frameCount` | *number* |
| `curFrameIndex` | *number* |
| `opts` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** *void*

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[drawFrame](#drawframe)

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[filter](#filter)

___

#### frameCount

• `Optional` **frameCount**: *number*

要生成的动画图片帧的个数.默认2

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[frameCount](#framecount)

___

#### from

• `Optional` **from**: *number*

生成的动画图片集中从第几个开始，默认0.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[from](#from)

___

#### fromImage

• `Optional` **fromImage**: HTMLImageElement

来源图片.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[fromImage](#fromimage)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerBefore

• `Optional` **layerBefore**: *string*

创建的图层位于哪个图层之前.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerBefore](#layerbefore)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineBlur](#lineblur)

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineCap](#linecap)

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineColor](#linecolor)

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineDasharray](#linedasharray)

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGapWidth](#linegapwidth)

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineGradient](#linegradient)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineJoin](#linejoin)

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineMiterMimit](#linemitermimit)

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOffset](#lineoffset)

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineOpacity](#lineopacity)

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[linePattern](#linepattern)

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineRoundLimit](#lineroundlimit)

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineSortKey](#linesortkey)

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslate](#linetranslate)

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineTranslateAnchor](#linetranslateanchor)

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[lineWidth](#linewidth)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[sourceLayer](#sourcelayer)

___

#### speed

• `Optional` **speed**: *number*

速度，默认1.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[speed](#speed)

___

#### spriteHeight

• `Optional` **spriteHeight**: *number*

来源图片中精灵图所占高.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteHeight](#spriteheight)

___

#### spriteWidth

• `Optional` **spriteWidth**: *number*

来源图片中精灵图所占宽.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[spriteWidth](#spritewidth)

___

#### startAutoAnimation

• `Optional` **startAutoAnimation**: *boolean*

开始时自动动画，默认true.

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[startAutoAnimation](#startautoanimation)

___

#### to

• `Optional` **to**: *number*

生成的动画图片集中到第几个结束，默认数组最后一个..

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[to](#to)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd).[visibility](#visibility)

___

#### yAxis

• `Optional` **yAxis**: *boolean*

是否y方向生成动画图片集.

Inherited from: [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd).[yAxis](#yaxis)


<a name="interfacesicreateentitiesgeomdatamd"></a>

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

## Interface: ICreateEntitiesGeomData

获取创建实体的几何数据

### Table of contents

#### Properties

- [excludeAttribute](#excludeattribute)
- [filedoc](#filedoc)
- [mapBounds](#mapbounds)
- [renderAccuracy](#renderaccuracy)
- [useZip](#usezip)

### Properties

#### excludeAttribute

• `Optional` **excludeAttribute**: *boolean*

返回的数据中排除属性数据( 默认true)

___

#### filedoc

• **filedoc**: *string*

文件文档.

___

#### mapBounds

• `Optional` **mapBounds**: [*number*, *number*, *number*, *number*]

图形范围.如果不填的话，则使用全图范围

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

___

#### useZip

• `Optional` **useZip**: *boolean*

返回的数据是否启用zip压缩( 默认true)


<a name="interfacesicreatefillanimatelayerresultmd"></a>

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

## Interface: ICreateFillAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateFillAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [polygon](#polygon)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### polygon

• **polygon**: [*Polygon*](#classesdefaultpolygonmd)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesicreatelineanimatelayerresultmd"></a>

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

## Interface: ICreateLineAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateLineAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [polyline](#polyline)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### polyline

• **polyline**: [*Polyline*](#classesdefaultpolylinemd)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesicreatesymbolanimatelayerresultmd"></a>

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

## Interface: ICreateSymbolAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateSymbolAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [symbol](#symbol)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### symbol

• **symbol**: [*Symbol*](#classesdefaultsymbolmd)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesidb2dpolylinemd"></a>

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

## Interface: IDb2dPolyline

2d折线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDb2dPolyline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k2dSimplePoly*](#k2dsimplepoly) \| [*k2dFitCurvePoly*](#k2dfitcurvepoly) \| [*k2dQuadSplinePoly*](#k2dquadsplinepoly) \| [*k2dCubicSplinePoly*](#k2dcubicsplinepoly)

2d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidb2lineangulardimensionmd"></a>

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

## Interface: IDb2LineAngularDimension

角度标注[两条线]实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDb2LineAngularDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1End](#xline1end)
- [xLine1Start](#xline1start)
- [xLine2End](#xline2end)
- [xLine2Start](#xline2start)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1End

• `Optional` **xLine1End**: [*number*, *number*, *undefined* \| *number*][]

线1终点.

___

#### xLine1Start

• `Optional` **xLine1Start**: [*number*, *number*, *undefined* \| *number*][]

线1起点.

___

#### xLine2End

• `Optional` **xLine2End**: [*number*, *number*, *undefined* \| *number*][]

线2终点.

___

#### xLine2Start

• `Optional` **xLine2Start**: [*number*, *number*, *undefined* \| *number*][]

线2起点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidb3dpolylinemd"></a>

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

## Interface: IDb3dPolyline

3d折线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDb3dPolyline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [points](#points)
- [polyType](#polytype)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### polyType

• `Optional` **polyType**: [*k3dSimplePoly*](#k3dsimplepoly) \| [*k3dQuadSplinePoly*](#k3dquadsplinepoly) \| [*k3dCubicSplinePoly*](#k3dcubicsplinepoly)

3d折线类型

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidb3pointangulardimensionmd"></a>

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

## Interface: IDb3PointAngularDimension

角度标注[三点]实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDb3PointAngularDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [centerPoint](#centerpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点位置.

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbaligneddimensionmd"></a>

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

## Interface: IDbAlignedDimension

对齐标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbAlignedDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimLinePoint](#dimlinepoint)
- [dimStyle](#dimstyle)
- [jogSymbolHeight](#jogsymbolheight)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点.

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### jogSymbolHeight

• `Optional` **jogSymbolHeight**: *number*

设置此实体的符号高度。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbarcmd"></a>

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

## Interface: IDbArc

圆弧实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbArc**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [objectid](#objectid)
- [radius](#radius)
- [startAngle](#startangle)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidbarcdimensionmd"></a>

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

## Interface: IDbArcDimension

圆弧标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbArcDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [arcPoint](#arcpoint)
- [arcSymbolType](#arcsymboltype)
- [centerPoint](#centerpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### arcPoint

• `Optional` **arcPoint**: [*number*, *number*, *undefined* \| *number*][]

圆弧点.

___

#### arcSymbolType

• `Optional` **arcSymbolType**: *number*

文本中使用的弧符号的类型。 0 弧符号在文本前面;   1 弧线符号在文字上方;   2  没有符号.

___

#### centerPoint

• `Optional` **centerPoint**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线1点.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线2点.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbblockmd"></a>

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

## Interface: IDbBlock

块定义接口

### Table of contents

#### Properties

- [comments](#comments)
- [entitys](#entitys)
- [explodable](#explodable)
- [insertUnits](#insertunits)
- [name](#name)
- [origin](#origin)
- [scaling](#scaling)

### Properties

#### comments

• `Optional` **comments**: *string*

备注.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

由哪些实体创建而成.

___

#### explodable

• `Optional` **explodable**: *boolean*

是否可炸开.

___

#### insertUnits

• `Optional` **insertUnits**: *number*

设置此块的块插入单位 .

___

#### name

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

块名称.

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*][]

原点。 .

___

#### scaling

• `Optional` **scaling**: *number*

设置此块的参照的缩放特征.


<a name="interfacesidbblockreferencemd"></a>

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

## Interface: IDbBlockReference

块参照实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbBlockReference**

### Table of contents

#### Properties

- [alpha](#alpha)
- [blockname](#blockname)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [objectid](#objectid)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [scaleFactors](#scalefactors)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### scaleFactors

• `Optional` **scaleFactors**: *number*

缩放因子.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidbcirclemd"></a>

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

## Interface: IDbCircle

圆实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbCircle**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [normal](#normal)
- [objectid](#objectid)
- [radius](#radius)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### radius

• `Optional` **radius**: *number*

半径.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidbcurvemd"></a>

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

## Interface: IDbCurve

曲线实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbCurve**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidbdiametricdimensionmd"></a>

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

## Interface: IDbDiametricDimension

直径标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbDiametricDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [chordPoint](#chordpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [farChordPoint](#farchordpoint)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上1点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### farChordPoint

• `Optional` **farChordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上2点.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbdimensionmd"></a>

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

## Interface: IDbDimension

标注实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidbdimstylemd"></a>

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

## Interface: IDbDimStyle

标注样式接口

### Table of contents

#### Properties

- [dimblk1](#dimblk1)
- [dimblk2](#dimblk2)
- [dimsah](#dimsah)
- [name](#name)
- [textStyle](#textstyle)

### Properties

#### dimblk1

• `Optional` **dimblk1**: *string*

符号和箭头1 .“” 实心闭合,“_DOT” 点,“_DOTSMALL” 小点,“_DOTBLANK” 空心点,“_ORIGIN” 指示原点,“_ORIGIN2” 指示原点 2,“_OPEN” 打开,“_OPEN90” 直角,“_OPEN30” 30 度角,“_CLOSED” 闭合,“_SMALL” 空心小点,“_NONE” 无,“_OBLIQUE” 倾斜,“_BOXFILLED” 填充框,“_BOXBLANK” 框,“_CLOSEDBLANK” 空心闭合,“_DATUMFILLED” 实心基准三角形,“_DATUMBLANK” 基准三角形,“_INTEGRAL” 完整标记,“_ARCHTICK” 建筑标记

___

#### dimblk2

• `Optional` **dimblk2**: *string*

符号和箭头2 .同dimblk1

___

#### dimsah

• `Optional` **dimsah**: *boolean*

尺寸线箭头块的显示 .

___

#### name

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

样式名称.

___

#### textStyle

• `Optional` **textStyle**: *string*

文字样式名称.


<a name="interfacesidbdocumentmd"></a>

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

## Interface: IDbDocument

DB文档定义接口

### Table of contents

#### Properties

- [blocks](#blocks)
- [dimStyles](#dimstyles)
- [entitys](#entitys)
- [from](#from)
- [layers](#layers)
- [linetypes](#linetypes)
- [textStyles](#textstyles)

### Properties

#### blocks

• `Optional` **blocks**: [*IDbBlock*](#interfacesdefaultidbblockmd)[]

块定义.

___

#### dimStyles

• `Optional` **dimStyles**: [*IDbDimStyle*](#interfacesdefaultidbdimstylemd)[]

标注样式.

___

#### entitys

• `Optional` **entitys**: [*IDbEntity*](#interfacesdefaultidbentitymd)[]

实体集.

___

#### from

• `Optional` **from**: *string*

来源于哪个图，会在此图的上面进行修改或新增删除，格式如 形式为 mapid/version,如 exam/v1 .

___

#### layers

• `Optional` **layers**: [*IDbLayer*](#interfacesdefaultidblayermd)[]

图层集.

___

#### linetypes

• `Optional` **linetypes**: [*IDbLinetype*](#interfacesdefaultidblinetypemd)[]

线型.

___

#### textStyles

• `Optional` **textStyles**: [*IDbTextStyle*](#interfacesdefaultidbtextstylemd)[]

文字样式.


<a name="interfacesidbellipsemd"></a>

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

## Interface: IDbEllipse

椭圆实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbEllipse**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [endAngle](#endangle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [minorAxis](#minoraxis)
- [objectid](#objectid)
- [radiusRatio](#radiusratio)
- [startAngle](#startangle)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*]

中心坐标.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### endAngle

• `Optional` **endAngle**: *number*

结束弧度.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### minorAxis

• `Optional` **minorAxis**: [*number*, *number*, *undefined* \| *number*]

主轴方向.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### radiusRatio

• `Optional` **radiusRatio**: *number*

短轴和长轴的比例.

___

#### startAngle

• `Optional` **startAngle**: *number*

开始弧度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidbentitymd"></a>

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

## Interface: IDbEntity

实体类型接口

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

___

#### color

• `Optional` **color**: *number*

颜色.

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

___

#### layer

• `Optional` **layer**: *string*

图层.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

___

#### linetype

• `Optional` **linetype**: *string*

线型.

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

___

#### typename

• `Optional` **typename**: *string*

类型.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.


<a name="interfacesidbhatchmd"></a>

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

## Interface: IDbHatch

填充实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbHatch**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [elevation](#elevation)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [pattern](#pattern)
- [points](#points)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### pattern

• `Optional` **pattern**: *string*

填充图案, 缺省 SOLID

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidblayermd"></a>

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

## Interface: IDbLayer

图层接口

### Table of contents

#### Properties

- [color](#color)
- [linetype](#linetype)
- [name](#name)

### Properties

#### color

• `Optional` **color**: *number*

图层颜色索引.

___

#### linetype

• `Optional` **linetype**: *string*

图层线型，缺省 CONTINUOUS .

___

#### name

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

图层名称.


<a name="interfacesidblinemd"></a>

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

## Interface: IDbLine

线实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbLine**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [end](#end)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [start](#start)
- [thickness](#thickness)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### end

• `Optional` **end**: [*number*, *number*, *undefined* \| *number*]

终点.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### start

• `Optional` **start**: [*number*, *number*, *undefined* \| *number*]

起点.

___

#### thickness

• `Optional` **thickness**: *number*

厚度.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidblinetypemd"></a>

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

## Interface: IDbLinetype

线型接口

### Table of contents

#### Properties

- [comments](#comments)
- [name](#name)
- [style](#style)

### Properties

#### comments

• `Optional` **comments**: *string*

评论.

___

#### name

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

线型名称.

___

#### style

• `Optional` **style**: [*IDbLinetypeStyle*](#interfacesdefaultidblinetypestylemd)[]

线型样式 .


<a name="interfacesidblinetypestylemd"></a>

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

## Interface: IDbLinetypeStyle

线型样式接口

### Table of contents

#### Properties

- [method](#method)
- [parameter](#parameter)

### Properties

#### method

• `Optional` **method**: [*numDashes*](#numdashes) \| [*patternLength*](#patternlength) \| [*dashLengthAt*](#dashlengthat) \| [*shapeStyleAt*](#shapestyleat) \| [*shapeOffsetAt*](#shapeoffsetat) \| [*textAt*](#textat) \| [*shapeScaleAt*](#shapescaleat) \| [*shapeNumberAt*](#shapenumberat) \| [*shapeRotationAt*](#shaperotationat) \| [*isScaledToFit*](#isscaledtofit)

方法.

___

#### parameter

• `Optional` **parameter**: *string*

参数.


<a name="interfacesidbmatrixopmd"></a>

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

## Interface: IDbMatrixOp

矩阵操作接口

### Table of contents

#### Properties

- [angle](#angle)
- [op](#op)
- [origin](#origin)
- [scale](#scale)
- [vector](#vector)

### Properties

#### angle

• `Optional` **angle**: *number*

旋转的角度 .

___

#### op

• `Optional` **op**: [*translation*](#translation) \| [*scale*](#scale) \| [*rotate*](#rotate)

操作名称.

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*]

基点.

___

#### scale

• `Optional` **scale**: *number*

缩放大小 .

___

#### vector

• `Optional` **vector**: [*number*, *number*, *undefined* \| *number*]

平移的向量.


<a name="interfacesidbmtextmd"></a>

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

## Interface: IDbMText

多行文本实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbMText**

### Table of contents

#### Properties

- [alpha](#alpha)
- [attachment](#attachment)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [delete](#delete)
- [height](#height)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [location](#location)
- [matrix](#matrix)
- [objectid](#objectid)
- [rotation](#rotation)
- [textHeight](#textheight)
- [textStyle](#textstyle)
- [typename](#typename)
- [visibility](#visibility)
- [width](#width)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### attachment

• `Optional` **attachment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright) \| [*kBaseLeft*](#kbaseleft) \| [*kBaseCenter*](#kbasecenter) \| [*kBaseRight*](#kbaseright) \| [*kBaseAlign*](#kbasealign) \| [*kBottomAlign*](#kbottomalign) \| [*kMiddleAlign*](#kmiddlealign) \| [*kTopAlign*](#ktopalign) \| [*kBaseFit*](#kbasefit) \| [*kBottomFit*](#kbottomfit) \| [*kMiddleFit*](#kmiddlefit) \| [*kTopFit*](#ktopfit) \| [*kBaseMid*](#kbasemid) \| [*kBottomMid*](#kbottommid) \| [*kMiddleMid*](#kmiddlemid) \| [*kTopMid*](#ktopmid)

对齐方式.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### height

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

高.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### location

• `Optional` **location**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### textHeight

• `Optional` **textHeight**: *number*

文本高.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### width

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

宽.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidbordinatedimensionmd"></a>

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

## Interface: IDbOrdinateDimension

坐标标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbOrdinateDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [definingPoint](#definingpoint)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderEndPoint](#leaderendpoint)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [origin](#origin)
- [textPosition](#textposition)
- [typename](#typename)
- [useXAxis](#usexaxis)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### definingPoint

• `Optional` **definingPoint**: [*number*, *number*, *undefined* \| *number*][]

定义点.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### leaderEndPoint

• `Optional` **leaderEndPoint**: [*number*, *number*, *undefined* \| *number*][]

引线点.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### origin

• `Optional` **origin**: [*number*, *number*, *undefined* \| *number*][]

基点.

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### useXAxis

• `Optional` **useXAxis**: *boolean*

是否用X轴.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbpolylinemd"></a>

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

## Interface: IDbPolyline

折线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbPolyline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [bulge](#bulge)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [elevation](#elevation)
- [endWidth](#endwidth)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [points](#points)
- [startWidth](#startwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### bulge

• `Optional` **bulge**: *number*[]

凸度.

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### endWidth

• `Optional` **endWidth**: *number*[]

终点宽.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### startWidth

• `Optional` **startWidth**: *number*[]

起点宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidbradialdimensionmd"></a>

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

## Interface: IDbRadialDimension

半径标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbRadialDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [chordPoint](#chordpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [leaderLength](#leaderlength)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### leaderLength

• `Optional` **leaderLength**: *number*

引线长度.

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbradialdimensionlargemd"></a>

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

## Interface: IDbRadialDimensionLarge

半径折线标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbRadialDimensionLarge**

### Table of contents

#### Properties

- [alpha](#alpha)
- [center](#center)
- [chordPoint](#chordpoint)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimStyle](#dimstyle)
- [jogAngle](#jogangle)
- [jogPoint](#jogpoint)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [overrideCenter](#overridecenter)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### center

• `Optional` **center**: [*number*, *number*, *undefined* \| *number*][]

中心点.

___

#### chordPoint

• `Optional` **chordPoint**: [*number*, *number*, *undefined* \| *number*][]

圆上点.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### jogAngle

• `Optional` **jogAngle**: *number*

设置此Dimension实体的折角。.

___

#### jogPoint

• `Optional` **jogPoint**: [*number*, *number*, *undefined* \| *number*][]

设置此Dimension实体的折角点。.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### overrideCenter

• `Optional` **overrideCenter**: [*number*, *number*, *undefined* \| *number*][]

设置由该Dimension实体确定尺寸的弧的WCS覆盖中心。.

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbrasterimagemd"></a>

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

## Interface: IDbRasterImage

栅格图片实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbRasterImage**

### Table of contents

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [height](#height)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [width](#width)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### height

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

高.

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### width

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

宽.

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.


<a name="interfacesidbrotateddimensionmd"></a>

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

## Interface: IDbRotatedDimension

转角标注实体类型接口

### Hierarchy

- [*IDbDimension*](#interfacesdefaultidbdimensionmd)

  ↳ **IDbRotatedDimension**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [dimLinePoint](#dimlinepoint)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [textPosition](#textposition)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[delete](#delete)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点。.

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[objectid](#objectid)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[textPosition](#textposition)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线上点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线上点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbDimension](#interfacesdefaultidbdimensionmd).[xdata](#xdata)


<a name="interfacesidbshapemd"></a>

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

## Interface: IDbShape

型实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbShape**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [name](#name)
- [normal](#normal)
- [objectid](#objectid)
- [position](#position)
- [rotation](#rotation)
- [size](#size)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### name

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

型名称.

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### size

• `Optional` **size**: *number*

大小.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidbsplinemd"></a>

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

## Interface: IDbSpline

样条曲线实体类型接口

### Hierarchy

- [*IDbCurve*](#interfacesdefaultidbcurvemd)

  ↳ **IDbSpline**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [controlPoints](#controlpoints)
- [degree](#degree)
- [delete](#delete)
- [fitPoints](#fitpoints)
- [fitTol](#fittol)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[colorIndex](#colorindex)

___

#### controlPoints

• `Optional` **controlPoints**: [*number*, *number*, *undefined* \| *number*][]

控制点.

___

#### degree

• `Optional` **degree**: *number*

Increased the degree of this spline to the specified value.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[delete](#delete)

___

#### fitPoints

• `Optional` **fitPoints**: [*number*, *number*, *undefined* \| *number*][]

拟合点.

___

#### fitTol

• `Optional` **fitTol**: *number*

the curve fitting tolerance for this Spline entity.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[objectid](#objectid)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbCurve](#interfacesdefaultidbcurvemd).[xdata](#xdata)


<a name="interfacesidbtablemd"></a>

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

## Interface: IDbTable

表格实体类型接口

### Hierarchy

- [*IDbBlockReference*](#interfacesdefaultidbblockreferencemd)

  ↳ **IDbTable**

### Table of contents

#### Properties

- [alignment](#alignment)
- [alpha](#alpha)
- [backgroundColor](#backgroundcolor)
- [blockname](#blockname)
- [color](#color)
- [colorIndex](#colorindex)
- [columnWidth](#columnwidth)
- [contentColor](#contentcolor)
- [data](#data)
- [delete](#delete)
- [directionBottomToTop](#directionbottomtotop)
- [disableTitle](#disabletitle)
- [gridColor](#gridcolor)
- [gridVisibility](#gridvisibility)
- [height](#height)
- [horzCellMargin](#horzcellmargin)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [mergeCells](#mergecells)
- [normal](#normal)
- [numColumns](#numcolumns)
- [numRows](#numrows)
- [objectid](#objectid)
- [position](#position)
- [ref](#ref)
- [rotation](#rotation)
- [rowHeight](#rowheight)
- [scaleFactors](#scalefactors)
- [tableStyleName](#tablestylename)
- [textHeight](#textheight)
- [typename](#typename)
- [vertCellMargin](#vertcellmargin)
- [visibility](#visibility)
- [width](#width)
- [xdata](#xdata)

### Properties

#### alignment

• `Optional` **alignment**: [*kTopLeft*](#ktopleft) \| [*kTopCenter*](#ktopcenter) \| [*kTopRight*](#ktopright) \| [*kMiddleLeft*](#kmiddleleft) \| [*kMiddleCenter*](#kmiddlecenter) \| [*kMiddleRight*](#kmiddleright) \| [*kBottomLeft*](#kbottomleft) \| [*kBottomCenter*](#kbottomcenter) \| [*kBottomRight*](#kbottomright)

单元格对齐方式(所有单元格).

___

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[alpha](#alpha)

___

#### backgroundColor

• `Optional` **backgroundColor**: *number*

背景颜色(所有单元格).

___

#### blockname

• `Optional` **blockname**: *string*

块名称.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[blockname](#blockname)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[colorIndex](#colorindex)

___

#### columnWidth

• `Optional` **columnWidth**: *number*

列宽.

___

#### contentColor

• `Optional` **contentColor**: *number*

文字颜色(所有单元格).

___

#### data

• `Optional` **data**: (*string* \| { `alignment`: [*TableCellAlignment*](#enumsdefaulttablecellalignmentmd) ; `backgroundColor`: *number* ; `contentColor`: *number* ; `gridColor`: *number* ; `gridVisibility`: *boolean* ; `text`: *string* ; `textHeight`: *number*  })[][]

数据.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[delete](#delete)

___

#### directionBottomToTop

• `Optional` **directionBottomToTop**: *boolean*

表格方向是否从上至上.

___

#### disableTitle

• `Optional` **disableTitle**: *boolean*

是否禁用标题.

___

#### gridColor

• `Optional` **gridColor**: *number*

网格线颜色(所有单元格).

___

#### gridVisibility

• `Optional` **gridVisibility**: [*boolean*, *number*, *number*]

显示网格线.第二个参数(kHorzTop(1), kHorzInside(2), kHorzBottom(4), kVertLeft(8), kVertInside(16), kVertRight(32);  第三个参数 kTitleRow(1), kHeaderRow(2), kDataRow(4)

___

#### height

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

表格总共的高度.

___

#### horzCellMargin

• `Optional` **horzCellMargin**: *number*

水平方向单元格边距.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[matrix](#matrix)

___

#### mergeCells

• `Optional` **mergeCells**: [*number*, *number*, *number*, *number*][]

需要合并的单元格 [[minRow, maxRow,minColumn, maxColumn], ...]

___

#### normal

• `Optional` **normal**: [*number*, *number*, *undefined* \| *number*]

法向量.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[normal](#normal)

___

#### numColumns

• `Optional` **numColumns**: *number*

表格列数.

___

#### numRows

• `Optional` **numRows**: *number*

表格行数.

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

坐标.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[position](#position)

___

#### ref

• `Optional` **ref**: *string*

参考外部图形，形式为 mapid/version,如 exam/v1.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[ref](#ref)

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[rotation](#rotation)

___

#### rowHeight

• `Optional` **rowHeight**: *number*

行高.

___

#### scaleFactors

• `Optional` **scaleFactors**: *number*

缩放因子.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[scaleFactors](#scalefactors)

___

#### tableStyleName

• `Optional` **tableStyleName**: *string*

表样式名称.

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度(所有单元格).

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[typename](#typename)

___

#### vertCellMargin

• `Optional` **vertCellMargin**: *number*

竖直方向单元格边距.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[visibility](#visibility)

___

#### width

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

表格总共的宽度.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbBlockReference](#interfacesdefaultidbblockreferencemd).[xdata](#xdata)


<a name="interfacesidbtextmd"></a>

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

## Interface: IDbText

单行文本实体类型接口

### Hierarchy

- [*IDbEntity*](#interfacesdefaultidbentitymd)

  ↳ **IDbText**

### Table of contents

#### Properties

- [alpha](#alpha)
- [color](#color)
- [colorIndex](#colorindex)
- [contents](#contents)
- [delete](#delete)
- [height](#height)
- [horizontalMode](#horizontalmode)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [position](#position)
- [rotation](#rotation)
- [text](#text)
- [textStyle](#textstyle)
- [typename](#typename)
- [verticalMode](#verticalmode)
- [visibility](#visibility)
- [widthFactor](#widthfactor)
- [xdata](#xdata)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[alpha](#alpha)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[colorIndex](#colorindex)

___

#### contents

• `Optional` **contents**: *string*

文本内容， 同text.

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[delete](#delete)

___

#### height

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

高.

___

#### horizontalMode

• `Optional` **horizontalMode**: [*kTextLeft*](#ktextleft) \| [*kTextCenter*](#ktextcenter) \| [*kTextRight*](#ktextright) \| [*kTextAlign*](#ktextalign) \| [*kTextMid*](#ktextmid) \| [*kTextFit*](#ktextfit)

水平模式.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[objectid](#objectid)

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

___

#### rotation

• `Optional` **rotation**: *number*

旋转角度.

___

#### text

• `Optional` **text**: *string*

文本内容， 同contents.

___

#### textStyle

• `Optional` **textStyle**: *string*

文本样式.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[typename](#typename)

___

#### verticalMode

• `Optional` **verticalMode**: [*kTextBase*](#ktextbase) \| [*kTextBottom*](#ktextbottom) \| [*kTextVertMid*](#ktextvertmid) \| [*kTextTop*](#ktexttop)

垂直模式.

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[visibility](#visibility)

___

#### widthFactor

• `Optional` **widthFactor**: *number*

宽度因子.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbEntity](#interfacesdefaultidbentitymd).[xdata](#xdata)


<a name="interfacesidbtextstylemd"></a>

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

## Interface: IDbTextStyle

文字样式接口

### Table of contents

#### Properties

- [bold](#bold)
- [charset](#charset)
- [fileName](#filename)
- [isShapeFile](#isshapefile)
- [italic](#italic)
- [name](#name)
- [obliquingAngle](#obliquingangle)
- [pitchAndFamily](#pitchandfamily)
- [priorSize](#priorsize)
- [textSize](#textsize)
- [typeFace](#typeface)
- [xScale](#xscale)

### Properties

#### bold

• `Optional` **bold**: *boolean*

是否粗体 .

___

#### charset

• `Optional` **charset**: *number*

字符集标识符，缺省0 .

___

#### fileName

• `Optional` **fileName**: *string*

字体文件名 .

___

#### isShapeFile

• `Optional` **isShapeFile**: *boolean*

是否型文件.

___

#### italic

• `Optional` **italic**: *boolean*

是否斜体 .

___

#### name

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

文字样式名称.

___

#### obliquingAngle

• `Optional` **obliquingAngle**: *number*

设置字母的倾斜角度。正角度顺时针（向右）倾斜字母。负值使字母逆时针倾斜（向左）。通过将值2*PI相加，将负值转换为其正当量。 默认情况下，初始值为0.0.

___

#### pitchAndFamily

• `Optional` **pitchAndFamily**: *number*

字符间距和族，缺省34 .

___

#### priorSize

• `Optional` **priorSize**: *number*

设置最近使用此文本样式创建的文本的先前大小 .

___

#### textSize

• `Optional` **textSize**: *number*

文本大小 .

___

#### typeFace

• `Optional` **typeFace**: *string*

字体 .

___

#### xScale

• `Optional` **xScale**: *number*

x轴缩放 .


<a name="interfacesidbwipeoutmd"></a>

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

## Interface: IDbWipeout

遮罩实体类型接口

### Hierarchy

- [*IDbRasterImage*](#interfacesdefaultidbrasterimagemd)

  ↳ **IDbWipeout**

### Table of contents

#### Properties

- [alpha](#alpha)
- [brightness](#brightness)
- [color](#color)
- [colorIndex](#colorindex)
- [delete](#delete)
- [height](#height)
- [imageDisplayOptClip](#imagedisplayoptclip)
- [imageDisplayOptShow](#imagedisplayoptshow)
- [imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)
- [imageDisplayOptTransparent](#imagedisplayopttransparent)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [objectid](#objectid)
- [pixelHeight](#pixelheight)
- [pixelWidth](#pixelwidth)
- [points](#points)
- [position](#position)
- [sourceHttpUrl](#sourcehttpurl)
- [typename](#typename)
- [units](#units)
- [visibility](#visibility)
- [width](#width)
- [xPelsPerUnit](#xpelsperunit)
- [xdata](#xdata)
- [yPelsPerUnit](#ypelsperunit)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[alpha](#alpha)

___

#### brightness

• `Optional` **brightness**: *number*

明亮度 [0.0 .. 100.0]

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[brightness](#brightness)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[colorIndex](#colorindex)

___

#### delete

• `Optional` **delete**: *boolean*

是否删除此实体.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[delete](#delete)

___

#### height

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

高.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[height](#height)

___

#### imageDisplayOptClip

• `Optional` **imageDisplayOptClip**: *boolean*

是否裁剪.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptClip](#imagedisplayoptclip)

___

#### imageDisplayOptShow

• `Optional` **imageDisplayOptShow**: *boolean*

是否显示.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptShow](#imagedisplayoptshow)

___

#### imageDisplayOptShowUnAligned

• `Optional` **imageDisplayOptShowUnAligned**: *boolean*

是否对齐.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptShowUnAligned](#imagedisplayoptshowunaligned)

___

#### imageDisplayOptTransparent

• `Optional` **imageDisplayOptTransparent**: *boolean*

是否透明.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[imageDisplayOptTransparent](#imagedisplayopttransparent)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[matrix](#matrix)

___

#### objectid

• `Optional` **objectid**: *string*

实体句柄，如传了实体句柄，是表示修改此实体.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[objectid](#objectid)

___

#### pixelHeight

• `Optional` **pixelHeight**: *number*

源图片高.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[pixelHeight](#pixelheight)

___

#### pixelWidth

• `Optional` **pixelWidth**: *number*

源图片宽.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[pixelWidth](#pixelwidth)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### position

• `Optional` **position**: [*number*, *number*, *undefined* \| *number*]

位置.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[position](#position)

___

#### sourceHttpUrl

• `Optional` **sourceHttpUrl**: *string*

图片url地址.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[sourceHttpUrl](#sourcehttpurl)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[typename](#typename)

___

#### units

• `Optional` **units**: [*kNone*](#knone) \| [*kMillimeter*](#kmillimeter) \| [*kCentimeter*](#kcentimeter) \| [*kMeter*](#kmeter) \| [*kKilometer*](#kkilometer) \| [*kInch*](#kinch) \| [*kFoot*](#kfoot) \| [*kYard*](#kyard) \| [*kMile*](#kmile) \| [*kMicroinches*](#kmicroinches) \| [*kMils*](#kmils) \| [*kAngstroms*](#kangstroms) \| [*kNanometers*](#knanometers) \| [*kMicrons*](#kmicrons) \| [*kDecimeters*](#kdecimeters) \| [*kDekameters*](#kdekameters) \| [*kHectometers*](#khectometers) \| [*kGigameters*](#kgigameters) \| [*kAstronomical*](#kastronomical) \| [*kLightYears*](#klightyears) \| [*kParsecs*](#kparsecs)

单位.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[units](#units)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[visibility](#visibility)

___

#### width

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

宽.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[width](#width)

___

#### xPelsPerUnit

• `Optional` **xPelsPerUnit**: *number*

x轴每像素代表长度.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[xPelsPerUnit](#xpelsperunit)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[xdata](#xdata)

___

#### yPelsPerUnit

• `Optional` **yPelsPerUnit**: *number*

y轴每像素代表长度.

Inherited from: [IDbRasterImage](#interfacesdefaultidbrasterimagemd).[yPelsPerUnit](#ypelsperunit)


<a name="interfacesideletecachemd"></a>

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

## Interface: IDeleteCache

清空地图缓存接口

### Table of contents

#### Properties

- [key](#key)
- [mapid](#mapid)
- [version](#version)

### Properties

#### key

• `Optional` **key**: *string*

匹配的键值.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### version

• `Optional` **version**: *string*

地图版本(为空时采用当前打开的地图版本, 如清空所有版本缓存，输入"*"号).


<a name="interfacesideletestylemd"></a>

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

## Interface: IDeleteStyle

删除地图样式接口

### Table of contents

#### Properties

- [mapid](#mapid)
- [onlycleardata](#onlycleardata)
- [styleid](#styleid)
- [version](#version)

### Properties

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### onlycleardata

• **onlycleardata**: *boolean*

是否只清空数据, false 删除表和数据; true 只删除数据.

___

#### styleid

• **styleid**: *string*

样式名称.如删除所有样式，输入"*"号； 删除所有系统产生的样式，输入 "a*"；内存打开的样式,输入"m*";几何打开的样式输入 "s*"

___

#### version

• `Optional` **version**: *string*

地图版本(为空时采用当前打开的地图版本, 如删除所有版本，输入"*"号).


<a name="interfacesidrawmd"></a>

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

## Interface: IDraw

### Table of contents

#### Properties

- [Tool](#tool)
- [actionDraw](#actiondraw)
- [actionDrawCircle](#actiondrawcircle)
- [actionDrawLineSting](#actiondrawlinesting)
- [actionDrawPoint](#actiondrawpoint)
- [actionDrawPolygon](#actiondrawpolygon)
- [actionDrawRectangle](#actiondrawrectangle)
- [actionDrawSlantRectangle](#actiondrawslantrectangle)
- [actionSelect](#actionselect)
- [defaultOptions](#defaultoptions)
- [modes](#modes)

### Properties

#### Tool

• **Tool**: (`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

工具类.

##### Type declaration

\+ **new IDraw**(`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*IDrawOptions*](#interfacesdefaultidrawoptionsmd) |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### actionDraw

• **actionDraw**: (`map`: *any*, `modename`: *string*, `options?`: *Record*<string, any\>) => *any*

绘制动作.

##### Type declaration

▸ (`map`: *any*, `modename`: *string*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `modename` | *string* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawCircle

• **actionDrawCircle**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制圆动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawLineSting

• **actionDrawLineSting**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制线动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawPoint

• **actionDrawPoint**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制点动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawPolygon

• **actionDrawPolygon**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制多边形动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawRectangle

• **actionDrawRectangle**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制矩形动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionDrawSlantRectangle

• **actionDrawSlantRectangle**: (`map`: *any*, `options?`: *Record*<string, any\>) => *any*

绘制斜矩形动作.

##### Type declaration

▸ (`map`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### actionSelect

• **actionSelect**: (`map`: *any*, `draw`: *any*, `options?`: *Record*<string, any\>) => *any*

选择实体. 如果只能选择一个实体，options选项请输入selectSingle为true

##### Type declaration

▸ (`map`: *any*, `draw`: *any*, `options?`: *Record*<string, any\>): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `draw` | *any* |
| `options?` | *Record*<string, any\> |

**Returns:** *any*

___

#### defaultOptions

• **defaultOptions**: () => *any*

缺省配置项.

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### modes

• **modes**: *Record*<string, any\>

模式.


<a name="interfacesidrawoptionsmd"></a>

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

## Interface: IDrawOptions

### Indexable

▪ [key: *string*]: *any*

### Table of contents

#### Properties

- [addControls](#addcontrols)
- [api](#api)
- [controls](#controls)
- [guides](#guides)
- [midpoints](#midpoints)
- [modes](#modes)
- [snap](#snap)
- [snapOptions](#snapoptions)
- [styles](#styles)
- [userProperties](#userproperties)

### Properties

#### addControls

• `Optional` **addControls**: *any*[]

___

#### api

• **api**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `getSnapFeatures` | *any* |

___

#### controls

• `Optional` **controls**: *Record*<string, boolean\>

___

#### guides

• `Optional` **guides**: *boolean*

___

#### midpoints

• `Optional` **midpoints**: *boolean*

___

#### modes

• `Optional` **modes**: *Record*<string, any\>

___

#### snap

• `Optional` **snap**: *boolean*

___

#### snapOptions

• **snapOptions**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `snapGridPx?` | *number* |
| `snapPx?` | *number* |
| `snapToMidPoints?` | *boolean* |
| `snapVertexPriorityDistance?` | *number* |

___

#### styles

• `Optional` **styles**: *any*[]

___

#### userProperties

• `Optional` **userProperties**: *boolean*


<a name="interfacesidrawtoolmd"></a>

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

## Interface: IDrawTool

### Table of contents

#### Properties

- [add](#add)
- [changeMode](#changemode)
- [combineFeatures](#combinefeatures)
- [delete](#delete)
- [deleteAll](#deleteall)
- [doAction](#doaction)
- [forceRefresh](#forcerefresh)
- [get](#get)
- [getAll](#getall)
- [getFeatureIdsAt](#getfeatureidsat)
- [getMode](#getmode)
- [getSelected](#getselected)
- [getSelectedIds](#getselectedids)
- [getSelectedPoints](#getselectedpoints)
- [modes](#modes)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [options](#options)
- [redo](#redo)
- [set](#set)
- [setFeatureProperty](#setfeatureproperty)
- [trash](#trash)
- [uncombineFeatures](#uncombinefeatures)
- [undo](#undo)

### Properties

#### add

• **add**: (`geojson`: *any*) => *string*[]

此方法采用 GeoJSON Feature、FeatureCollection 或 Geometry 并将其添加到 Draw。它返回一个 id 数组，用于与添加的功能进行交互。如果某个功能没有自己的 id，则会自动生成一个

##### Type declaration

▸ (`geojson`: *any*): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `geojson` | *any* |

**Returns:** *string*[]

___

#### changeMode

• **changeMode**: (`mode`: *string*, `modeOptions?`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

将绘图更改为另一种模式。返回用于链接的绘制实例

##### Type declaration

▸ (`mode`: *string*, `modeOptions?`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `mode` | *string* |
| `modeOptions?` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### combineFeatures

• **combineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的combineFeatures操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### delete

• **delete**: (`featureIds`: *string* \| *string*[]) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除具有指定 ID 的功能。返回用于链接的绘制实例

##### Type declaration

▸ (`featureIds`: *string* \| *string*[]): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureIds` | *string* \| *string*[] |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### deleteAll

• **deleteAll**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

删除所有功能。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### doAction

• **doAction**: (`actionName`: *string*) => *any*

在当前模式下执行动作

##### Type declaration

▸ (`actionName`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `actionName` | *string* |

**Returns:** *any*

___

#### forceRefresh

• **forceRefresh**: () => *any*

强制刷新

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### get

• **get**: (`id`: *string*) => *any*

返回 Draw 中具有指定 id 的 GeoJSON 功能，或者undefined如果 id 不匹配任何功能

##### Type declaration

▸ (`id`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `id` | *string* |

**Returns:** *any*

___

#### getAll

• **getAll**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

___

#### getFeatureIdsAt

• **getFeatureIdsAt**: (`point`: { `x`: *number* ; `y`: *number*  }) => *string*[]

返回当前在指定点呈现的功能的功能 ID 数组。

##### Type declaration

▸ (`point`: { `x`: *number* ; `y`: *number*  }): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | *object* |
| `point.x` | *number* |
| `point.y` | *number* |

**Returns:** *string*[]

___

#### getMode

• **getMode**: () => *string*

返回 Draw 的当前模式

##### Type declaration

▸ (): *string*

**Returns:** *string*

___

#### getSelected

• **getSelected**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回当前选择的所有功能的 FeatureCollection

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

___

#### getSelectedIds

• **getSelectedIds**: () => *string*[]

返回当前所选功能的功能 ID 数组

##### Type declaration

▸ (): *string*[]

**Returns:** *string*[]

___

#### getSelectedPoints

• **getSelectedPoints**: () => *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

返回代表当前选择的所有顶点的 FeatureCollection 点

##### Type declaration

▸ (): *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

**Returns:** *FeatureCollection*<Geometry \| GeometryCollection, Properties\>

___

#### modes

• **modes**: *Record*<string, any\>

内部变量模式值

___

#### onAdd

• **onAdd**: (`map`: *any*) => *any*

增加时回调接口

##### Type declaration

▸ (`map`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |

**Returns:** *any*

___

#### onRemove

• **onRemove**: () => *any*

移除时回调接口

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### options

• **options**: *Record*<string, any\>

内部变量选项值

___

#### redo

• **redo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*

___

#### set

• **set**: (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>) => *string*[]

将 Draw 的功能设置为指定的 FeatureCollection

##### Type declaration

▸ (`featureCollection`: *FeatureCollection*<Geometry \| GeometryCollection, Properties\>): *string*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureCollection` | *FeatureCollection*<Geometry \| GeometryCollection, Properties\> |

**Returns:** *string*[]

___

#### setFeatureProperty

• **setFeatureProperty**: (`featureId`: *string*, `property`: *string*, `value`: *any*) => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

设置具有指定 id 的要素的属性值。返回用于链接的绘制实例

##### Type declaration

▸ (`featureId`: *string*, `property`: *string*, `value`: *any*): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `featureId` | *string* |
| `property` | *string* |
| `value` | *any* |

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### trash

• **trash**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

调用当前模式的删除trash操作。返回用于链接的绘制实例

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### uncombineFeatures

• **uncombineFeatures**: () => [*IDrawTool*](#interfacesdefaultidrawtoolmd)

##### Type declaration

▸ (): [*IDrawTool*](#interfacesdefaultidrawtoolmd)

**Returns:** [*IDrawTool*](#interfacesdefaultidrawtoolmd)

___

#### undo

• **undo**: () => *any*

##### Type declaration

▸ (): *any*

**Returns:** *any*


<a name="interfacesiexportlayoutmd"></a>

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

## Interface: IExportLayout

导出布局空间为dwg图

### Table of contents

#### Properties

- [layoutIndex](#layoutindex)
- [layoutName](#layoutname)
- [mapid](#mapid)
- [version](#version)

### Properties

#### layoutIndex

• `Optional` **layoutIndex**: *string*

布局索引，layoutIndex和layoutName只要输入一个就行，layoutIndex优先。如果都为空，则使用dwg当前的布局空间.

___

#### layoutName

• `Optional` **layoutName**: *string*

布局名称. layoutIndex和layoutName只要输入一个就行，layoutIndex优先。如果都为空，则使用dwg当前的布局空间.

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesiexprqueryfeaturesmd"></a>

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

## Interface: IExprQueryFeatures

表达式查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IExprQueryFeatures**

### Table of contents

#### Properties

- [beginpos](#beginpos)
- [expr](#expr)
- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [zoom](#zoom)

### Properties

#### beginpos

• `Optional` **beginpos**: *number*

记录开始位置.

___

#### expr

• **expr**: *string*

表达式.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesilinelayeroptionsmd"></a>

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

## Interface: ILineLayerOptions

### Table of contents

#### Properties

- [points](#points)

### Properties

#### points

• **points**: { `lat`: *number* ; `lng`: *number*  }[]


<a name="interfacesimapdiffmd"></a>

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

## Interface: IMapDiff

比较地图不同

### Table of contents

#### Properties

- [cellsize](#cellsize)
- [diffMinAlpha](#diffminalpha)
- [diffMinColor](#diffmincolor)
- [diffMinPixel](#diffminpixel)
- [layer1](#layer1)
- [layer2](#layer2)
- [mapid1](#mapid1)
- [mapid2](#mapid2)
- [noCompareDelete](#nocomparedelete)
- [noCompareNew](#nocomparenew)
- [size](#size)
- [version1](#version1)
- [version2](#version2)

### Properties

#### cellsize

• `Optional` **cellsize**: *number*

比较单元大小.

___

#### diffMinAlpha

• `Optional` **diffMinAlpha**: *number*

不同的透明最小值.

___

#### diffMinColor

• `Optional` **diffMinColor**: *number*

不同的颜色最小值.

___

#### diffMinPixel

• `Optional` **diffMinPixel**: *number*

不同的像素最小值.

___

#### layer1

• `Optional` **layer1**: *string*

地图一样式图层.

___

#### layer2

• `Optional` **layer2**: *string*

地图二样式图层.

___

#### mapid1

• **mapid1**: *string*

地图一ID.

___

#### mapid2

• **mapid2**: *string*

地图二ID.

___

#### noCompareDelete

• `Optional` **noCompareDelete**: *boolean*

不比较删除部分.

___

#### noCompareNew

• `Optional` **noCompareNew**: *boolean*

不比较新增部分.

___

#### size

• `Optional` **size**: *number*

比较大小.

___

#### version1

• `Optional` **version1**: *string*

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

___

#### version2

• `Optional` **version2**: *string*

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


<a name="interfacesimaplayermd"></a>

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

## 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

## 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

## Interface: IMatchObject

目标匹配

### Table of contents

#### Properties

- [canOverlap](#canoverlap)
- [layer](#layer)
- [layeron](#layeron)
- [mapBounds](#mapbounds)
- [mapid](#mapid)
- [maxCount](#maxcount)
- [maxOverlap](#maxoverlap)
- [method](#method)
- [minReduceArea](#minreducearea)
- [objectBounds](#objectbounds)
- [objectIds](#objectids)
- [score](#score)
- [size](#size)
- [tolerance1](#tolerance1)
- [tolerance2](#tolerance2)
- [tolerance3](#tolerance3)
- [tolerance4](#tolerance4)
- [toleranceAngle](#toleranceangle)
- [useToleranceRange](#usetolerancerange)
- [version](#version)

### Properties

#### canOverlap

• `Optional` **canOverlap**: *boolean*

允许重叠 (默认false).

___

#### layer

• `Optional` **layer**: *string*

图层样式名.为空时，将由选择的实体的图层来决定

___

#### layeron

• `Optional` **layeron**: *string*

目标匹配的地图打开的图层

___

#### mapBounds

• `Optional` **mapBounds**: *string*

目标匹配的地图范围，默认为全图的数据范围.

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### maxCount

• `Optional` **maxCount**: *number*

允许返回的最大条数. 默认 200

___

#### maxOverlap

• `Optional` **maxOverlap**: *number*

重叠比例 范围(0-0.8)，默认 0.3.

___

#### method

• `Optional` **method**: ``"matchTemplate"`` \| ``"matchPattern"``

方法. 默认 matchPattern

___

#### minReduceArea

• `Optional` **minReduceArea**: *number*

金字塔大小 范围(64-2048).默认256， 方法为matchPattern有效

___

#### objectBounds

• **objectBounds**: *string*

目标匹配的实体范围

___

#### objectIds

• `Optional` **objectIds**: *string*

目标匹配的实体objectid数组，用||隔开.

___

#### score

• `Optional` **score**: *number*

分数，小于此分类将不显示 (0 -1)，默认 0.6 .

___

#### size

• `Optional` **size**: *number*

匹配时的图像尺寸，默认10000

___

#### tolerance1

• `Optional` **tolerance1**: *number*

角度区间1开始角度. 方法为matchPattern有效

___

#### tolerance2

• `Optional` **tolerance2**: *number*

角度区间1结束角度. 方法为matchPattern有效

___

#### tolerance3

• `Optional` **tolerance3**: *number*

角度区间2开始角度. 方法为matchPattern有效

___

#### tolerance4

• `Optional` **tolerance4**: *number*

角度区间2结束角度. 方法为matchPattern有效

___

#### toleranceAngle

• `Optional` **toleranceAngle**: *number*

角度范围(-180, 180)有旋转的时候需要。方法为matchPattern有效. 默认180

___

#### useToleranceRange

• `Optional` **useToleranceRange**: *boolean*

是否使用角度区间范围,默认false. 方法为matchPattern有效

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesinertiaoptionsmd"></a>

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

## Interface: InertiaOptions

### Hierarchy

- [*DecayOptions*](#interfacesdefaultdecayoptionsmd)

  ↳ **InertiaOptions**

### Table of contents

#### Properties

- [bounceDamping](#bouncedamping)
- [bounceStiffness](#bouncestiffness)
- [driver](#driver)
- [from](#from)
- [max](#max)
- [min](#min)
- [modifyTarget](#modifytarget)
- [onComplete](#oncomplete)
- [onStop](#onstop)
- [onUpdate](#onupdate)
- [power](#power)
- [restDelta](#restdelta)
- [restSpeed](#restspeed)
- [timeConstant](#timeconstant)
- [to](#to)
- [velocity](#velocity)

### Properties

#### bounceDamping

• `Optional` **bounceDamping**: *number*

___

#### bounceStiffness

• `Optional` **bounceStiffness**: *number*

___

#### driver

• `Optional` **driver**: [*Driver*](#driver)

___

#### from

• `Optional` **from**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[from](#from)

___

#### max

• `Optional` **max**: *number*

___

#### min

• `Optional` **min**: *number*

___

#### modifyTarget

• `Optional` **modifyTarget**: (`target`: *number*) => *number*

##### Type declaration

▸ (`target`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *number* |

**Returns:** *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[modifyTarget](#modifytarget)

___

#### onComplete

• `Optional` **onComplete**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onStop

• `Optional` **onStop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onUpdate

• `Optional` **onUpdate**: (`v`: *number*) => *void*

##### Type declaration

▸ (`v`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *void*

___

#### power

• `Optional` **power**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[power](#power)

___

#### restDelta

• `Optional` **restDelta**: *number*

Overrides: [DecayOptions](#interfacesdefaultdecayoptionsmd).[restDelta](#restdelta)

___

#### restSpeed

• `Optional` **restSpeed**: *number*

___

#### timeConstant

• `Optional` **timeConstant**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[timeConstant](#timeconstant)

___

#### to

• `Optional` **to**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[to](#to)

___

#### velocity

• `Optional` **velocity**: *number*

Inherited from: [DecayOptions](#interfacesdefaultdecayoptionsmd).[velocity](#velocity)


<a name="interfacesiopenmapbaseparammd"></a>

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

## Interface: IOpenMapBaseParam

地图打开参数

### Table of contents

#### Properties

- [accessKey](#accesskey)
- [cadVersion](#cadversion)
- [cbInputPassword](#cbinputpassword)
- [filedoc](#filedoc)
- [fileid](#fileid)
- [filename](#filename)
- [fontReplaceRule](#fontreplacerule)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [notReplaceLineType](#notreplacelinetype)
- [notUseDefaultShxFont](#notusedefaultshxfont)
- [notUseDefaultTtfFont](#notusedefaultttffont)
- [openFinishMaxTryCount](#openfinishmaxtrycount)
- [openFinishTryInterval](#openfinishtryinterval)
- [renderAccuracy](#renderaccuracy)
- [secretKey](#secretkey)
- [style](#style)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [uploadname](#uploadname)

### Properties

#### accessKey

• `Optional` **accessKey**: *string*

访问权限的key，权限小于secretKey，不能对图进行删除等操作.

___

#### cadVersion

• `Optional` **cadVersion**: *string*

新建地图有fileDoc时有效

___

#### cbInputPassword

• `Optional` **cbInputPassword**: (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }) => *Promise*<string\>

要求输入密码回调.

##### Type declaration

▸ (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }): *Promise*<string\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | *object* |
| `param.isPasswordError` | *boolean* |
| `param.mapid` | *string* |
| `param.result` | *any* |
| `param.tryPasswordCount` | *number* |

**Returns:** *Promise*<string\>

___

#### filedoc

• `Optional` **filedoc**: *string*

文件文档.

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID. 地图ID第一次打开时，需传递fileid

___

#### filename

• `Optional` **filename**: *string*

文件名称.

___

#### fontReplaceRule

• `Optional` **fontReplaceRule**: *string* \| *Record*<string, string\>

字符替换规则. openMap返回的字段findFonts为系统查找的字体替换规则。如需修改默认的话，请传入替换的字体规则，如fontReplaceRule: {"tssdeng.shx_1": "_default_.ttc"}

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x 第一次打开图像类型时有效

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率 第一次打开图像类型时有效, 一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y 第一次打开图像类型时有效

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

___

#### mapid

• **mapid**: *string*

地图ID.

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

___

#### notReplaceLineType

• `Optional` **notReplaceLineType**: *boolean*

不自动替换线型.

___

#### notUseDefaultShxFont

• `Optional` **notUseDefaultShxFont**: *boolean*

不使用缺省的型文字文件，将使用缺省的字体来代替型文件.

___

#### notUseDefaultTtfFont

• `Optional` **notUseDefaultTtfFont**: *boolean*

不使用缺省的字体文件，将使用缺省的型文件来代替字体文件.

___

#### openFinishMaxTryCount

• `Optional` **openFinishMaxTryCount**: *number*

判断是否打开或更新成功重试最大次数。默认 120 次

___

#### openFinishTryInterval

• `Optional` **openFinishTryInterval**: *number*

判断是否打开或更新成功重试间隔（秒）。默认 5s 一次

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

___

#### secretKey

• `Optional` **secretKey**: *string*

秘钥(第一次上传打开图时有效，表示此图需要密码保护).

___

#### style

• `Optional` **style**: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

样式.

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

___

#### uploadname

• `Optional` **uploadname**: *string*

上传时的文件名.


<a name="interfacesiopenmapparammd"></a>

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

## Interface: IOpenMapParam

地图打开参数

### Hierarchy

- [*IOpenMapBaseParam*](#interfacesdefaultiopenmapbaseparammd)

  ↳ **IOpenMapParam**

### Table of contents

#### Properties

- [accessKey](#accesskey)
- [cadVersion](#cadversion)
- [cbInputPassword](#cbinputpassword)
- [filedoc](#filedoc)
- [fileid](#fileid)
- [filename](#filename)
- [fontReplaceRule](#fontreplacerule)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [layer](#layer)
- [layoutIndex](#layoutindex)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [notReplaceLineType](#notreplacelinetype)
- [notUseDefaultShxFont](#notusedefaultshxfont)
- [notUseDefaultTtfFont](#notusedefaultttffont)
- [openFinishMaxTryCount](#openfinishmaxtrycount)
- [openFinishTryInterval](#openfinishtryinterval)
- [renderAccuracy](#renderaccuracy)
- [secretKey](#secretkey)
- [style](#style)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [uploadname](#uploadname)
- [version](#version)

### Properties

#### accessKey

• `Optional` **accessKey**: *string*

访问权限的key，权限小于secretKey，不能对图进行删除等操作.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[accessKey](#accesskey)

___

#### cadVersion

• `Optional` **cadVersion**: *string*

新建地图有fileDoc时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cadVersion](#cadversion)

___

#### cbInputPassword

• `Optional` **cbInputPassword**: (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }) => *Promise*<string\>

要求输入密码回调.

##### Type declaration

▸ (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }): *Promise*<string\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | *object* |
| `param.isPasswordError` | *boolean* |
| `param.mapid` | *string* |
| `param.result` | *any* |
| `param.tryPasswordCount` | *number* |

**Returns:** *Promise*<string\>

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cbInputPassword](#cbinputpassword)

___

#### filedoc

• `Optional` **filedoc**: *string*

文件文档.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filedoc](#filedoc)

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID. 地图ID第一次打开时，需传递fileid

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fileid](#fileid)

___

#### filename

• `Optional` **filename**: *string*

文件名称.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filename](#filename)

___

#### fontReplaceRule

• `Optional` **fontReplaceRule**: *string* \| *Record*<string, string\>

字符替换规则. openMap返回的字段findFonts为系统查找的字体替换规则。如需修改默认的话，请传入替换的字体规则，如fontReplaceRule: {"tssdeng.shx_1": "_default_.ttc"}

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fontReplaceRule](#fontreplacerule)

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageLeft](#imageleft)

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率 第一次打开图像类型时有效, 一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageResolution](#imageresolution)

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageTop](#imagetop)

___

#### layer

• `Optional` **layer**: *string*

图层名称，组合图层用英文逗号分开

___

#### layoutIndex

• `Optional` **layoutIndex**: *number*

布局索引 (从1开始)，默认为0，表示是模型空间

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapdependencies](#mapdependencies)

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapfrom](#mapfrom)

___

#### mapid

• **mapid**: *string*

地图ID.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapid](#mapid)

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapopenway](#mapopenway)

___

#### notReplaceLineType

• `Optional` **notReplaceLineType**: *boolean*

不自动替换线型.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notReplaceLineType](#notreplacelinetype)

___

#### notUseDefaultShxFont

• `Optional` **notUseDefaultShxFont**: *boolean*

不使用缺省的型文字文件，将使用缺省的字体来代替型文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultShxFont](#notusedefaultshxfont)

___

#### notUseDefaultTtfFont

• `Optional` **notUseDefaultTtfFont**: *boolean*

不使用缺省的字体文件，将使用缺省的型文件来代替字体文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultTtfFont](#notusedefaultttffont)

___

#### openFinishMaxTryCount

• `Optional` **openFinishMaxTryCount**: *number*

判断是否打开或更新成功重试最大次数。默认 120 次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishMaxTryCount](#openfinishmaxtrycount)

___

#### openFinishTryInterval

• `Optional` **openFinishTryInterval**: *number*

判断是否打开或更新成功重试间隔（秒）。默认 5s 一次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishTryInterval](#openfinishtryinterval)

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[renderAccuracy](#renderaccuracy)

___

#### secretKey

• `Optional` **secretKey**: *string*

秘钥(第一次上传打开图时有效，表示此图需要密码保护).

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[secretKey](#secretkey)

___

#### style

• `Optional` **style**: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

样式.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[style](#style)

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subdependencies](#subdependencies)

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subfrom](#subfrom)

___

#### uploadname

• `Optional` **uploadname**: *string*

上传时的文件名.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[uploadname](#uploadname)

___

#### version

• `Optional` **version**: *string*

版本号(缺省: "" ).


<a name="interfacesiopenmapresponsemd"></a>

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

## Interface: IOpenMapResponse

地图打开返回成功参数

### Table of contents

#### Properties

- [bounds](#bounds)
- [darkMode](#darkmode)
- [dbBounds](#dbbounds)
- [dbid](#dbid)
- [description](#description)
- [drawBounds](#drawbounds)
- [fileid](#fileid)
- [filename](#filename)
- [imageHeight](#imageheight)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [imageWidth](#imagewidth)
- [initViewScale](#initviewscale)
- [layer](#layer)
- [layers](#layers)
- [layouts](#layouts)
- [lineWidthDisplay](#linewidthdisplay)
- [mapBounds](#mapbounds)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [maptype](#maptype)
- [maxzoom](#maxzoom)
- [renderAccuracy](#renderaccuracy)
- [status](#status)
- [styles](#styles)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [type](#type)
- [ucsorg](#ucsorg)
- [uploadname](#uploadname)
- [version](#version)
- [view](#view)

### Properties

#### bounds

• `Optional` **bounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图范围(如果通过clipBounds打开，则是clipBounds的范围).

___

#### darkMode

• `Optional` **darkMode**: *boolean*

暗黑模式(背景色为黑时).

___

#### dbBounds

• `Optional` **dbBounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

数据库地图范围

___

#### dbid

• `Optional` **dbid**: *string*

DbID.

___

#### description

• `Optional` **description**: *string*

描述.

___

#### drawBounds

• `Optional` **drawBounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

图形中有数据的范围（此范围是非精确值，精确的数据范围需调用cmdGetDrawBounds去获取）

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID.

___

#### filename

• `Optional` **filename**: *string*

文件名称.

___

#### imageHeight

• `Optional` **imageHeight**: *number*

图像类型时图像像素高

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率  一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y

___

#### imageWidth

• `Optional` **imageWidth**: *number*

图像类型时图像像素宽

___

#### initViewScale

• `Optional` **initViewScale**: *number*

初始视图缩放倍数，bounds * initViewScale = dbBounds

___

#### layer

• `Optional` **layer**: *string*

图层名称

___

#### layers

• `Optional` **layers**: *any*

图层列表.

___

#### layouts

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

所有布局.

___

#### lineWidthDisplay

• `Optional` **lineWidthDisplay**: *boolean*

默认是否显示线宽.

___

#### mapBounds

• `Optional` **mapBounds**: [*GeoBounds*](#classesdefaultgeoboundsmd)

地图范围(地图的范围，如果没有通过clipBounds打开,则为空).

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID.

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

___

#### maptype

• `Optional` **maptype**: *string*

地图类型. 为空时表示是cad类型，image表示是图像

___

#### maxzoom

• `Optional` **maxzoom**: *number*

图像类型时最大级别

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

___

#### status

• `Optional` **status**: *string*

状态.

___

#### styles

• `Optional` **styles**: *any*

图层样式.

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

___

#### type

• `Optional` **type**: *string*

类型.

___

#### ucsorg

• `Optional` **ucsorg**: *string*

ucs基点坐标.

___

#### uploadname

• `Optional` **uploadname**: *string*

上传的文件名.

___

#### version

• `Optional` **version**: *string*

版本号(缺省: "" ).

___

#### view

• `Optional` **view**: *object*

初始视图.

##### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `bearing?` | *number* | 初始视图方位角. |
| `center?` | [*number*, *number*] | 初始视图中心点. |
| `zoom?` | *number* | 初始视图级别. |


<a name="interfacesipointqueryfeaturesmd"></a>

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

## Interface: IPointQueryFeatures

点查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IPointQueryFeatures**

### Table of contents

#### Properties

- [condition](#condition)
- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [maxGeomBytesSize](#maxgeombytessize)
- [pixelToGeoLength](#pixeltogeolength)
- [pixelsize](#pixelsize)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [x](#x)
- [y](#y)
- [zoom](#zoom)

### Properties

#### condition

• `Optional` **condition**: *string*

条件.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### maxGeomBytesSize

• `Optional` **maxGeomBytesSize**: *number*

返回最大的几何字节数.

___

#### pixelToGeoLength

• `Optional` **pixelToGeoLength**: *number*

当前一个像素表示多少几何长度，如果输入了此值，则为此值为主，否则，根据输入的zoom值后台自动计算.

___

#### pixelsize

• `Optional` **pixelsize**: *number*

像素大小.

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### x

• **x**: *number*

查询的坐标X.

___

#### y

• **y**: *number*

查询的坐标Y.

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesiquerybasefeaturesmd"></a>

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

## Interface: IQueryBaseFeatures

查询实体参数

### Table of contents

#### Properties

- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [zoom](#zoom)

### Properties

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

___

#### layer

• `Optional` **layer**: *string*

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

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

___

#### version

• `Optional` **version**: *string*

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

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.


<a name="interfacesirectqueryfeaturesmd"></a>

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

## Interface: IRectQueryFeatures

矩形查询实体参数

### Hierarchy

- [*IQueryBaseFeatures*](#interfacesdefaultiquerybasefeaturesmd)

  ↳ **IRectQueryFeatures**

### Table of contents

#### Properties

- [condition](#condition)
- [fields](#fields)
- [geom](#geom)
- [layer](#layer)
- [limit](#limit)
- [mapid](#mapid)
- [maxGeomBytesSize](#maxgeombytessize)
- [simplifyTolerance](#simplifytolerance)
- [toMapCoordinate](#tomapcoordinate)
- [useCache](#usecache)
- [version](#version)
- [x1](#x1)
- [x2](#x2)
- [y1](#y1)
- [y2](#y2)
- [zoom](#zoom)

### Properties

#### condition

• `Optional` **condition**: *string*

条件.

___

#### fields

• `Optional` **fields**: *string*

是返回的字段列表，多个之是用逗号,分开,如. "name,objectid"

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[fields](#fields)

___

#### geom

• `Optional` **geom**: *boolean*

是否为几何图形查询.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[geom](#geom)

___

#### layer

• `Optional` **layer**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[layer](#layer)

___

#### limit

• `Optional` **limit**: *number*

返回最多的记录条数.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[limit](#limit)

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[mapid](#mapid)

___

#### maxGeomBytesSize

• `Optional` **maxGeomBytesSize**: *number*

返回最大的几何字节数.

___

#### simplifyTolerance

• `Optional` **simplifyTolerance**: *boolean*

GeoJSON几何数据简化墨托卡距离，默认为零，不简化。例如允许10级别以上一个像素级别的误差，可用 map.pixelToGeoLength(1, 10) * vjmap.Projection.EQUATORIAL_SEMIPERIMETER * 2 / map.getGeoBounds(1.0).width()

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[simplifyTolerance](#simplifytolerance)

___

#### toMapCoordinate

• `Optional` **toMapCoordinate**: *boolean*

查询返回的坐标默认为墨卡托坐标，返回会程序会自动转化为cad坐标，如果要直接返回cad地图坐标，需要把toMapCoordinate设置为true.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[toMapCoordinate](#tomapcoordinate)

___

#### useCache

• `Optional` **useCache**: *boolean*

启动cache(内存打开的图形有效).

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[useCache](#usecache)

___

#### version

• `Optional` **version**: *string*

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

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[version](#version)

___

#### x1

• `Optional` **x1**: *number*

查询的坐标X1. (如果x1,y1,x2,y2同时不输的话，表示是查询整个图的范围

___

#### x2

• `Optional` **x2**: *number*

查询的坐标X2.

___

#### y1

• `Optional` **y1**: *number*

查询的坐标Y1.

___

#### y2

• `Optional` **y2**: *number*

查询的坐标Y2.

___

#### zoom

• `Optional` **zoom**: *number*

当前级别.

Inherited from: [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd).[zoom](#zoom)


<a name="interfacesirequestmd"></a>

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

## Interface: IRequest

### Table of contents

#### Properties

- [del](#del)
- [get](#get)
- [options](#options)
- [patch](#patch)
- [post](#post)
- [put](#put)

### Properties

#### del

• **del**: (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### get

• **get**: (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `params?` | *Record*<string, any\> |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### options

• **options**: (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### patch

• **patch**: (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `data` | *any* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### post

• **post**: (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `data` | *any* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>

___

#### put

• **put**: (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\>

##### Type declaration

▸ (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>): *Promise*<any\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `url` | *string* |
| `data` | *any* |
| `args?` | *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\> |

**Returns:** *Promise*<any\>


<a name="interfacesislicecachezoommd"></a>

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

## Interface: ISliceCacheZoom

获取图片切片缓存级别

### Table of contents

#### Properties

- [ismvt](#ismvt)
- [layer](#layer)
- [mapid](#mapid)
- [version](#version)

### Properties

#### ismvt

• **ismvt**: *boolean*

是否是矢量切片，如果否则为栅格瓦片切片

___

#### layer

• `Optional` **layer**: *string*

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

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesislicelayermd"></a>

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

## Interface: ISliceLayer

对图层进行切片

### Table of contents

#### Properties

- [batchNum](#batchnum)
- [busyBatchSleepMs](#busybatchsleepms)
- [idleBatchSleepMs](#idlebatchsleepms)
- [isAllCancel](#isallcancel)
- [iscancel](#iscancel)
- [ismvt](#ismvt)
- [layer](#layer)
- [mapid](#mapid)
- [version](#version)
- [zoom](#zoom)

### Properties

#### batchNum

• `Optional` **batchNum**: *number*

批处理的条数（默认10000）.

___

#### busyBatchSleepMs

• `Optional` **busyBatchSleepMs**: *number*

繁忙时一次批处理等待时间（默认10000ms）.

___

#### idleBatchSleepMs

• `Optional` **idleBatchSleepMs**: *number*

空闲一次批处理等待时间（默认1ms）.

___

#### isAllCancel

• `Optional` **isAllCancel**: *boolean*

是否取消所有的切片（正在切时有效）.

___

#### iscancel

• `Optional` **iscancel**: *boolean*

是否取消对此图层的切片（正在切时有效）.

___

#### ismvt

• **ismvt**: *boolean* \| *boolean*[]

是否是矢量切片，如果否则为栅格瓦片切片. 如果为数组时，layer也必须是数组，一一对应

___

#### layer

• **layer**: *string* \| *string*[]

图层名称（为空时采用当前打开的地图图层名称).如果为数组时，表示对多个图层进行切片

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### version

• `Optional` **version**: *string*

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

___

#### zoom

• **zoom**: *number* \| *number*[]

级别（切的第几级）, 如果为数组时，layer也必须是数组，一一对应


<a name="interfacesitileurlparammd"></a>

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

## Interface: ITileUrlParam

地图瓦片参数

### Table of contents

#### Properties

- [fileid](#fileid)
- [layer](#layer)
- [mapid](#mapid)
- [version](#version)

### Properties

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID.

___

#### layer

• `Optional` **layer**: *string*

图层名称.

___

#### mapid

• `Optional` **mapid**: *string*

地图ID.

___

#### version

• `Optional` **version**: *string*

版本号.


<a name="interfacesiupdatemapparammd"></a>

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

## Interface: IUpdateMapParam

更新地图参数

### Hierarchy

- [*IOpenMapBaseParam*](#interfacesdefaultiopenmapbaseparammd)

  ↳ **IUpdateMapParam**

### Table of contents

#### Properties

- [accessKey](#accesskey)
- [cadVersion](#cadversion)
- [cbInputPassword](#cbinputpassword)
- [deleteOldVersion](#deleteoldversion)
- [filedoc](#filedoc)
- [fileid](#fileid)
- [filename](#filename)
- [fontReplaceRule](#fontreplacerule)
- [imageLeft](#imageleft)
- [imageResolution](#imageresolution)
- [imageTop](#imagetop)
- [mapdependencies](#mapdependencies)
- [mapfrom](#mapfrom)
- [mapid](#mapid)
- [mapopenway](#mapopenway)
- [notReplaceLineType](#notreplacelinetype)
- [notUseDefaultShxFont](#notusedefaultshxfont)
- [notUseDefaultTtfFont](#notusedefaultttffont)
- [openFinishMaxTryCount](#openfinishmaxtrycount)
- [openFinishTryInterval](#openfinishtryinterval)
- [renderAccuracy](#renderaccuracy)
- [secretKey](#secretkey)
- [style](#style)
- [subdependencies](#subdependencies)
- [subfrom](#subfrom)
- [uploadname](#uploadname)

### Properties

#### accessKey

• `Optional` **accessKey**: *string*

访问权限的key，权限小于secretKey，不能对图进行删除等操作.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[accessKey](#accesskey)

___

#### cadVersion

• `Optional` **cadVersion**: *string*

新建地图有fileDoc时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cadVersion](#cadversion)

___

#### cbInputPassword

• `Optional` **cbInputPassword**: (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }) => *Promise*<string\>

要求输入密码回调.

##### Type declaration

▸ (`param`: { `isPasswordError`: *boolean* ; `mapid`: *string* ; `result`: *any* ; `tryPasswordCount`: *number*  }): *Promise*<string\>

##### Parameters

| Name | Type |
| :------ | :------ |
| `param` | *object* |
| `param.isPasswordError` | *boolean* |
| `param.mapid` | *string* |
| `param.result` | *any* |
| `param.tryPasswordCount` | *number* |

**Returns:** *Promise*<string\>

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[cbInputPassword](#cbinputpassword)

___

#### deleteOldVersion

• `Optional` **deleteOldVersion**: *boolean*

是否删除老版本(缺省: false ).

___

#### filedoc

• `Optional` **filedoc**: *string*

文件文档.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filedoc](#filedoc)

___

#### fileid

• `Optional` **fileid**: *string*

文件唯一ID. 地图ID第一次打开时，需传递fileid

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fileid](#fileid)

___

#### filename

• `Optional` **filename**: *string*

文件名称.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[filename](#filename)

___

#### fontReplaceRule

• `Optional` **fontReplaceRule**: *string* \| *Record*<string, string\>

字符替换规则. openMap返回的字段findFonts为系统查找的字体替换规则。如需修改默认的话，请传入替换的字体规则，如fontReplaceRule: {"tssdeng.shx_1": "_default_.ttc"}

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[fontReplaceRule](#fontreplacerule)

___

#### imageLeft

• `Optional` **imageLeft**: *number*

图像左上角坐标x 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageLeft](#imageleft)

___

#### imageResolution

• `Optional` **imageResolution**: *number*

图像分辨率 第一次打开图像类型时有效, 一个像素单位代表多少地理长度，计算公式为 真实坐标长度 / 图像像素宽

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageResolution](#imageresolution)

___

#### imageTop

• `Optional` **imageTop**: *number*

图像左上角坐标y 第一次打开图像类型时有效

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[imageTop](#imagetop)

___

#### mapdependencies

• `Optional` **mapdependencies**: *string*

地图依赖项.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapdependencies](#mapdependencies)

___

#### mapfrom

• `Optional` **mapfrom**: *string*

地图来源参数.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapfrom](#mapfrom)

___

#### mapid

• **mapid**: *string*

地图ID.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapid](#mapid)

___

#### mapopenway

• `Optional` **mapopenway**: [*Memory*](#memory) \| [*GeomRender*](#geomrender)

地图打开方式(缺省: GeomRender) .

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[mapopenway](#mapopenway)

___

#### notReplaceLineType

• `Optional` **notReplaceLineType**: *boolean*

不自动替换线型.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notReplaceLineType](#notreplacelinetype)

___

#### notUseDefaultShxFont

• `Optional` **notUseDefaultShxFont**: *boolean*

不使用缺省的型文字文件，将使用缺省的字体来代替型文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultShxFont](#notusedefaultshxfont)

___

#### notUseDefaultTtfFont

• `Optional` **notUseDefaultTtfFont**: *boolean*

不使用缺省的字体文件，将使用缺省的型文件来代替字体文件.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[notUseDefaultTtfFont](#notusedefaultttffont)

___

#### openFinishMaxTryCount

• `Optional` **openFinishMaxTryCount**: *number*

判断是否打开或更新成功重试最大次数。默认 120 次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishMaxTryCount](#openfinishmaxtrycount)

___

#### openFinishTryInterval

• `Optional` **openFinishTryInterval**: *number*

判断是否打开或更新成功重试间隔（秒）。默认 5s 一次

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[openFinishTryInterval](#openfinishtryinterval)

___

#### renderAccuracy

• `Optional` **renderAccuracy**: *number*

渲染精度，默认1，有时候图形特别大导致圆或圆弧精度不够时,不够光滑，可以先清空之前的缓存数据，再重新上传时，改变渲染精度来使圆或圆弧光滑些。注：提高精度会导致空间数据文件增大，渲染性能下降

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[renderAccuracy](#renderaccuracy)

___

#### secretKey

• `Optional` **secretKey**: *string*

秘钥(第一次上传打开图时有效，表示此图需要密码保护).

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[secretKey](#secretkey)

___

#### style

• `Optional` **style**: [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

样式.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[style](#style)

___

#### subdependencies

• `Optional` **subdependencies**: *string*

地图依赖项(这是子项的设置，与mapdependencies不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapdependencies一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subdependencies](#subdependencies)

___

#### subfrom

• `Optional` **subfrom**: *string*

地图来源参数(这是子项的设置，与mapfrom不同的是，这个没有转化为基础图形，有可能还有依赖关系）.如与mapfrom一样的话，则为空

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[subfrom](#subfrom)

___

#### uploadname

• `Optional` **uploadname**: *string*

上传时的文件名.

Inherited from: [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd).[uploadname](#uploadname)


<a name="interfacesiupdatestylemd"></a>

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

## Interface: IUpdateStyle

更新样式接口

### Table of contents

#### Properties

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

### 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级的，以最后设置的级别状态为主，所以也是关。如为空，则和原图线宽显示状态相同

___

#### mapid

• `Optional` **mapid**: *string*

地图ID(为空时采用当前打开的mapid).

___

#### name

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

样式名称.

___

#### version

• `Optional` **version**: *string*

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


<a name="interfacesiwmstileurlmd"></a>

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

## 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

## Interface: IWorkspace

工作区（工作区主要用来对图纸进行分类管理。不同工作区的图纸存在的位置不同，查看不同工作区的图纸，需要切换到相应工作区才能查看）

### Table of contents

#### Properties

- [alias](#alias)
- [isPublic](#ispublic)
- [name](#name)
- [workDir](#workdir)

### Properties

#### alias

• `Optional` **alias**: *string*

工作区别名(可以是中文).

___

#### isPublic

• `Optional` **isPublic**: *boolean*

是否公开（不公开的话，无法通过获取工作区功能来获取到此工作区信息）.

___

#### name

• **name**: *string*

工作区名称(英文名称，不要有特殊字符，用于做为键值和路由).

___

#### workDir

• `Optional` **workDir**: *string*

工作区目录，如果是相对于工作区路径的一个路径或绝对路径，如为空的话，则用工作区名称做为工作目录.


<a name="interfaceskeyframeoptionsmd"></a>

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

## Interface: KeyframeOptions<V\>

### Type parameters

| Name | Default |
| :------ | :------ |
| `V` | *number* |

### Table of contents

#### Properties

- [duration](#duration)
- [ease](#ease)
- [from](#from)
- [offset](#offset)
- [to](#to)

### Properties

#### duration

• `Optional` **duration**: *number*

___

#### ease

• `Optional` **ease**: [*Easing*](#easing) \| [*Easing*](#easing)[]

___

#### from

• `Optional` **from**: V

___

#### offset

• `Optional` **offset**: *number*[]

___

#### to

• **to**: V \| V[]


<a name="interfaceslinegeojsoninputmd"></a>

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

## Interface: LineGeoJsonInput

### Table of contents

#### Properties

- [points](#points)
- [properties](#properties)

### Properties

#### points

• **points**: [*GeoPointLike*](#geopointlike)[]

___

#### properties

• `Optional` **properties**: *object*


<a name="interfaceslistenersmapmd"></a>

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

## Interface: ListenersMap

### Table of contents

#### Properties

- [close](#close)
- [error](#error)
- [message](#message)
- [open](#open)

### Properties

#### close

• **close**: (`event`: [*CloseEvent*](#classescloseeventmd)) => *void* \| { `handleEvent`: (`event`: [*CloseEvent*](#classescloseeventmd)) => *void*  }[]

___

#### error

• **error**: (`event`: [*ErrorEvent*](#classeserroreventmd)) => *void* \| { `handleEvent`: (`event`: [*ErrorEvent*](#classeserroreventmd)) => *void*  }[]

___

#### message

• **message**: (`event`: MessageEvent) => *void* \| { `handleEvent`: (`event`: MessageEvent) => *void*  }[]

___

#### open

• **open**: (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)) => *void* \| { `handleEvent`: (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)) => *void*  }[]


<a name="interfacesmarkerclusterdatamd"></a>

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

## Interface: MarkerClusterData

### Indexable

▪ [propName: *string*]: *any*

### Table of contents

#### Properties

- [point](#point)
- [properties](#properties)

### Properties

#### point

• **point**: [*GeoPointLike*](#geopointlike)

___

#### properties

• `Optional` **properties**: *Record*<string, any\>


<a name="interfacesmarkerclusteroptionsmd"></a>

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

## Interface: MarkerClusterOptions

### Table of contents

#### Properties

- [allowOverlap](#allowoverlap)
- [allowOverlapMaxZoom](#allowoverlapmaxzoom)
- [cameraNearFront](#cameranearfront)
- [createMarker](#createmarker)
- [data](#data)
- [markerHeight](#markerheight)
- [markerWidth](#markerwidth)
- [updateMarker](#updatemarker)

### Properties

#### allowOverlap

• `Optional` **allowOverlap**: *boolean*

是否允许重叠，默认false.

___

#### allowOverlapMaxZoom

• `Optional` **allowOverlapMaxZoom**: *number*

允许重叠的最大缩放级别，小于或等于此级别才会处理重叠，超过此级时会全部显示当前所有的(如果不允许重叠时有效).默认4级

___

#### cameraNearFront

• `Optional` **cameraNearFront**: *boolean*

离相机最近的在显示在前面，默认false.

___

#### createMarker

• **createMarker**: (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]) => *Marker* \| [*Text*](#classesdefaulttextmd)

##### Type declaration

▸ (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]): *Marker* \| [*Text*](#classesdefaulttextmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `curMarkerData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd) |
| `clusterMarkersData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[] |

**Returns:** *Marker* \| [*Text*](#classesdefaulttextmd)

___

#### data

• **data**: *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[]

数据内容.(传入坐标为CAD地理坐标)

___

#### markerHeight

• `Optional` **markerHeight**: *number*

marker div的像素高，用于计算重叠时需要，默认40. 如果在data的properties设置了属性markerHeight，则以data设置的为准

___

#### markerWidth

• `Optional` **markerWidth**: *number*

marker div的像素宽，用于计算重叠时需要，默认40. 如果在data的properties设置了属性markerWidth，则以data设置的为准

___

#### updateMarker

• `Optional` **updateMarker**: (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[], `marker`: *Marker*) => *undefined* \| *Marker* \| [*Text*](#classesdefaulttextmd)

##### Type declaration

▸ (`curMarkerData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd), `clusterMarkersData`: [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[], `marker`: *Marker*): *undefined* \| *Marker* \| [*Text*](#classesdefaulttextmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `curMarkerData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd) |
| `clusterMarkersData` | [*MarkerClusterData*](#interfacesdefaultmarkerclusterdatamd)[] |
| `marker` | *Marker* |

**Returns:** *undefined* \| *Marker* \| [*Text*](#classesdefaulttextmd)


<a name="interfacesmarkeroptionsmd"></a>

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

## Interface: markerOptions

### Hierarchy

- *MarkerOptions*

  ↳ **markerOptions**

### Table of contents

#### Properties

- [height](#height)
- [lngLat](#lnglat)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [removeWhenNoInMapView](#removewhennoinmapview)
- [removeWhenNoInMapViewPadding](#removewhennoinmapviewpadding)
- [scaleMaxZoom](#scalemaxzoom)

### Properties

#### height

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

高度值.

___

#### lngLat

• `Optional` **lngLat**: [*number*, *number*] \| *LngLat* \| {} \| {}

LngLat值.

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示的最大级别.

___

#### minZoom

• `Optional` **minZoom**: *number*

显示的最小级别.

___

#### removeWhenNoInMapView

• `Optional` **removeWhenNoInMapView**: *boolean*

设置当marker不在当前地图视图范围内时，将自动移除。进入视图范围内时，将自动增加上

___

#### removeWhenNoInMapViewPadding

• `Optional` **removeWhenNoInMapViewPadding**: *boolean*

设置当marker不在当前地图视图范围内时，将自动移除。范围向外扩的像素范围，默认500px，向视图范围往外扩些像素，在平移的时候，能看到marker，体验效果好些。

___

#### scaleMaxZoom

• `Optional` **scaleMaxZoom**: *number*

设置能缩放的最大级别。如果小于这个级别，div将根据缩小级别自动缩小比例。默认不会自动缩放


<a name="interfacesmath2duvboxmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [Math2D](#modulesmath2dmd) / UvBox

## Interface: UvBox

[Math2D](#modulesmath2dmd).UvBox

Box to store UV coordinates.

### Table of contents

#### Properties

- [s0](#s0)
- [s1](#s1)
- [t0](#t0)
- [t1](#t1)

### Properties

#### s0

• **s0**: *number*

___

#### s1

• **s1**: *number*

___

#### t0

• **t0**: *number*

___

#### t1

• **t1**: *number*


<a name="interfacesmethodsmd"></a>

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

## Interface: Methods

### Table of contents

#### Properties

- [DELETE](#delete)
- [GET](#get)
- [HEAD](#head)
- [OPTIONS](#options)
- [PATCH](#patch)
- [POST](#post)
- [PUT](#put)

### Properties

#### DELETE

• **DELETE**: ``"DELETE"``

___

#### GET

• **GET**: ``"GET"``

___

#### HEAD

• **HEAD**: ``"HEAD"``

___

#### OPTIONS

• **OPTIONS**: ``"OPTIONS"``

___

#### PATCH

• **PATCH**: ``"PATCH"``

___

#### POST

• **POST**: ``"POST"``

___

#### PUT

• **PUT**: ``"PUT"``


<a name="interfacesminimapcontroloptionmd"></a>

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

## Interface: MiniMapControlOption

### Table of contents

#### Properties

- [boxZoom](#boxzoom)
- [center](#center)
- [containerStyle](#containerstyle)
- [doubleClickZoom](#doubleclickzoom)
- [dragPan](#dragpan)
- [dragRotate](#dragrotate)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [height](#height)
- [id](#id)
- [keyboard](#keyboard)
- [lineColor](#linecolor)
- [lineOpacity](#lineopacity)
- [lineWidth](#linewidth)
- [maxBounds](#maxbounds)
- [scrollZoom](#scrollzoom)
- [style](#style)
- [touchZoomRotate](#touchzoomrotate)
- [width](#width)
- [zoom](#zoom)
- [zoomAdjust](#zoomadjust)

### Properties

#### boxZoom

• `Optional` **boxZoom**: *boolean*

___

#### center

• `Optional` **center**: [*number*, *number*]

___

#### containerStyle

• `Optional` **containerStyle**: *Partial*<CSSStyleDeclaration\>

___

#### doubleClickZoom

• `Optional` **doubleClickZoom**: *boolean*

___

#### dragPan

• `Optional` **dragPan**: *boolean*

___

#### dragRotate

• `Optional` **dragRotate**: *boolean*

___

#### fillColor

• `Optional` **fillColor**: *string*

___

#### fillOpacity

• `Optional` **fillOpacity**: *number*

___

#### height

• `Optional` **height**: *string*

___

#### id

• `Optional` **id**: *string*

___

#### keyboard

• `Optional` **keyboard**: *boolean*

___

#### lineColor

• `Optional` **lineColor**: *string*

___

#### lineOpacity

• `Optional` **lineOpacity**: *number*

___

#### lineWidth

• `Optional` **lineWidth**: *number*

___

#### maxBounds

• `Optional` **maxBounds**: *LngLatBounds*

___

#### scrollZoom

• `Optional` **scrollZoom**: *boolean*

___

#### style

• `Optional` **style**: *string* \| Style

___

#### touchZoomRotate

• `Optional` **touchZoomRotate**: *boolean*

___

#### width

• `Optional` **width**: *string*

___

#### zoom

• `Optional` **zoom**: *number*

___

#### zoomAdjust

• `Optional` **zoomAdjust**: ``null``


<a name="interfacesmousepositioncontroloptionmd"></a>

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

## Interface: MousePositionControlOption

### Table of contents

#### Properties

- [digits](#digits)
- [labelFormat](#labelformat)
- [projection](#projection)
- [showBearing](#showbearing)
- [showLatLng](#showlatlng)
- [showPitch](#showpitch)
- [showZoom](#showzoom)
- [style](#style)
- [trackCenter](#trackcenter)

### Properties

#### digits

• `Optional` **digits**: *number*

___

#### labelFormat

• `Optional` **labelFormat**: (`lng`: *number*, `lat`: *number*, `x`: *number*, `y`: *number*, `map?`: *Map*) => *string*

##### Type declaration

▸ (`lng`: *number*, `lat`: *number*, `x`: *number*, `y`: *number*, `map?`: *Map*): *string*

##### Parameters

| Name | Type |
| :------ | :------ |
| `lng` | *number* |
| `lat` | *number* |
| `x` | *number* |
| `y` | *number* |
| `map?` | *Map* |

**Returns:** *string*

___

#### projection

• `Optional` **projection**: [*Projection*](#classesdefaultprojectionmd)

___

#### showBearing

• `Optional` **showBearing**: *boolean*

___

#### showLatLng

• `Optional` **showLatLng**: *boolean*

___

#### showPitch

• `Optional` **showPitch**: *boolean*

___

#### showZoom

• `Optional` **showZoom**: *boolean*

___

#### style

• `Optional` **style**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `backgroundColor` | *string* |
| `border` | *string* |

___

#### trackCenter

• `Optional` **trackCenter**: *boolean*


<a name="interfacesoptionsmd"></a>

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

## Interface: Options

### Table of contents

#### Properties

- [WebSocket](#websocket)
- [connectionTimeout](#connectiontimeout)
- [debug](#debug)
- [maxEnqueuedMessages](#maxenqueuedmessages)
- [maxReconnectionDelay](#maxreconnectiondelay)
- [maxRetries](#maxretries)
- [minReconnectionDelay](#minreconnectiondelay)
- [minUptime](#minuptime)
- [reconnectionDelayGrowFactor](#reconnectiondelaygrowfactor)
- [startClosed](#startclosed)

### Properties

#### WebSocket

• `Optional` **WebSocket**: *any*

___

#### connectionTimeout

• `Optional` **connectionTimeout**: *number*

___

#### debug

• `Optional` **debug**: *boolean*

___

#### maxEnqueuedMessages

• `Optional` **maxEnqueuedMessages**: *number*

___

#### maxReconnectionDelay

• `Optional` **maxReconnectionDelay**: *number*

___

#### maxRetries

• `Optional` **maxRetries**: *number*

___

#### minReconnectionDelay

• `Optional` **minReconnectionDelay**: *number*

___

#### minUptime

• `Optional` **minUptime**: *number*

___

#### reconnectionDelayGrowFactor

• `Optional` **reconnectionDelayGrowFactor**: *number*

___

#### startClosed

• `Optional` **startClosed**: *boolean*


<a name="interfacesoverlaylayerbaseoptionsmd"></a>

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

## Interface: OverlayLayerBaseOptions

### Table of contents

#### Properties

- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### filter

• `Optional` **filter**: *any*

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

___

#### layerId

• `Optional` **layerId**: *string*

___

#### maxzoom

• `Optional` **maxzoom**: *number*

___

#### minzoom

• `Optional` **minzoom**: *number*

___

#### sourceId

• `Optional` **sourceId**: *string*

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``


<a name="interfacesphysicsspringoptionsmd"></a>

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

## Interface: PhysicsSpringOptions

### Table of contents

#### Properties

- [damping](#damping)
- [mass](#mass)
- [stiffness](#stiffness)
- [velocity](#velocity)

### Properties

#### damping

• `Optional` **damping**: *number*

___

#### mass

• `Optional` **mass**: *number*

___

#### stiffness

• `Optional` **stiffness**: *number*

___

#### velocity

• `Optional` **velocity**: *number*


<a name="interfacesplaybackcontrolsmd"></a>

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

## Interface: PlaybackControls

### Table of contents

#### Properties

- [stop](#stop)

### Properties

#### stop

• **stop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*


<a name="interfacesplaybackoptionsmd"></a>

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

## Interface: PlaybackOptions<V\>

Playback options common to all animations.

### Type parameters

| Name |
| :------ |
| `V` |

### Table of contents

#### Properties

- [autoplay](#autoplay)
- [driver](#driver)
- [elapsed](#elapsed)
- [from](#from)
- [onComplete](#oncomplete)
- [onPlay](#onplay)
- [onRepeat](#onrepeat)
- [onStop](#onstop)
- [onUpdate](#onupdate)
- [repeat](#repeat)
- [repeatDelay](#repeatdelay)
- [repeatType](#repeattype)
- [type](#type)

### Properties

#### autoplay

• `Optional` **autoplay**: *boolean*

Whether to autoplay the animation when animate is called. If
set to false, the animation must be started manually via the returned
play method.

___

#### driver

• `Optional` **driver**: [*Driver*](#driver)

___

#### elapsed

• `Optional` **elapsed**: *number*

___

#### from

• `Optional` **from**: V

___

#### onComplete

• `Optional` **onComplete**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onPlay

• `Optional` **onPlay**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onRepeat

• `Optional` **onRepeat**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onStop

• `Optional` **onStop**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### onUpdate

• `Optional` **onUpdate**: (`latest`: V) => *void*

##### Type declaration

▸ (`latest`: V): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `latest` | V |

**Returns:** *void*

___

#### repeat

• `Optional` **repeat**: *number*

___

#### repeatDelay

• `Optional` **repeatDelay**: *number*

___

#### repeatType

• `Optional` **repeatType**: ``"loop"`` \| ``"reverse"`` \| ``"mirror"``

___

#### type

• `Optional` **type**: ``"spring"`` \| ``"decay"`` \| ``"keyframes"``


<a name="interfacespointgeojsoninputmd"></a>

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

## Interface: PointGeoJsonInput

### Table of contents

#### Properties

- [point](#point)
- [properties](#properties)

### Properties

#### point

• **point**: [*GeoPointLike*](#geopointlike)

___

#### properties

• `Optional` **properties**: *object*


<a name="interfacespolygonoptionsmd"></a>

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

## Interface: PolygonOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **PolygonOptions**

### Table of contents

#### Properties

- [data](#data)
- [fillAntialias](#fillantialias)
- [fillColor](#fillcolor)
- [fillOpacity](#fillopacity)
- [fillOutlineColor](#filloutlinecolor)
- [fillPattern](#fillpattern)
- [fillSortKey](#fillsortkey)
- [fillTranslate](#filltranslate)
- [fillTranslateAnchor](#filltranslateanchor)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### fillAntialias

• `Optional` **fillAntialias**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### fillColor

• `Optional` **fillColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillOpacity

• `Optional` **fillOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillOutlineColor

• `Optional` **fillOutlineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillPattern

• `Optional` **fillPattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### fillSortKey

• `Optional` **fillSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### fillTranslate

• `Optional` **fillTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### fillTranslateAnchor

• `Optional` **fillTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacespolylinearrowoptionsmd"></a>

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

## Interface: PolylineArrowOptions

### Table of contents

#### Properties

- [animated](#animated)
- [beforeId](#beforeid)
- [borderBlur](#borderblur)
- [borderColor](#bordercolor)
- [borderGapWidth](#bordergapwidth)
- [borderGradient](#bordergradient)
- [borderMiterLimit](#bordermiterlimit)
- [borderOffset](#borderoffset)
- [borderOpacity](#borderopacity)
- [borderTranslateAnchor](#bordertranslateanchor)
- [borderWidth](#borderwidth)
- [cursor](#cursor)
- [dirIconColor](#diriconcolor)
- [dirImageColor](#dirimagecolor)
- [dirImageHeight](#dirimageheight)
- [dirImageSrc](#dirimagesrc)
- [dirImageWidth](#dirimagewidth)
- [dirLayout](#dirlayout)
- [dirSize](#dirsize)
- [dirSpacing](#dirspacing)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterLimit](#linemiterlimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [map](#map)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [path](#path)
- [showBorder](#showborder)
- [showDir](#showdir)
- [strokeDasharray](#strokedasharray)
- [strokeImage](#strokeimage)
- [strokeStyle](#strokestyle)
- [visible](#visible)
- [zIndex](#zindex)

### Properties

#### animated

• `Optional` **animated**: *boolean*

___

#### beforeId

• `Optional` **beforeId**: *string*

___

#### borderBlur

• `Optional` **borderBlur**: *number*

___

#### borderColor

• `Optional` **borderColor**: *string*

___

#### borderGapWidth

• `Optional` **borderGapWidth**: *number*

___

#### borderGradient

• `Optional` **borderGradient**: *string*

___

#### borderMiterLimit

• `Optional` **borderMiterLimit**: *number*

___

#### borderOffset

• `Optional` **borderOffset**: *number*

___

#### borderOpacity

• `Optional` **borderOpacity**: *number*

___

#### borderTranslateAnchor

• `Optional` **borderTranslateAnchor**: *string*

___

#### borderWidth

• `Optional` **borderWidth**: *number*

___

#### cursor

• `Optional` **cursor**: *string*

___

#### dirIconColor

• `Optional` **dirIconColor**: *string*

___

#### dirImageColor

• `Optional` **dirImageColor**: *string*

___

#### dirImageHeight

• `Optional` **dirImageHeight**: *number*

___

#### dirImageSrc

• `Optional` **dirImageSrc**: *string*

___

#### dirImageWidth

• `Optional` **dirImageWidth**: *number*

___

#### dirLayout

• `Optional` **dirLayout**: *object*

___

#### dirSize

• `Optional` **dirSize**: *number*

___

#### dirSpacing

• `Optional` **dirSpacing**: *number*

___

#### lineBlur

• `Optional` **lineBlur**: *number*

___

#### lineCap

• `Optional` **lineCap**: *string*

___

#### lineColor

• `Optional` **lineColor**: *string*

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number*

___

#### lineGradient

• `Optional` **lineGradient**: *string*

___

#### lineJoin

• `Optional` **lineJoin**: *string*

___

#### lineMiterLimit

• `Optional` **lineMiterLimit**: *number*

___

#### lineOffset

• `Optional` **lineOffset**: *number*

___

#### lineOpacity

• `Optional` **lineOpacity**: *number*

___

#### lineSortKey

• `Optional` **lineSortKey**: *number*

___

#### lineTranslate

• `Optional` **lineTranslate**: *number*[]

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: *string*

___

#### lineWidth

• `Optional` **lineWidth**: *number*

___

#### map

• `Optional` **map**: *Map*

___

#### maxZoom

• `Optional` **maxZoom**: *number*

___

#### minZoom

• `Optional` **minZoom**: *number*

___

#### path

• `Optional` **path**: *any*

___

#### showBorder

• `Optional` **showBorder**: *boolean*

___

#### showDir

• `Optional` **showDir**: *boolean*

___

#### strokeDasharray

• `Optional` **strokeDasharray**: *number*[]

___

#### strokeImage

• `Optional` **strokeImage**: *string*

___

#### strokeStyle

• `Optional` **strokeStyle**: *string*

___

#### visible

• `Optional` **visible**: *boolean*

___

#### zIndex

• `Optional` **zIndex**: *number*


<a name="interfacespolylineoptionsmd"></a>

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

## Interface: PolylineOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **PolylineOptions**

### Table of contents

#### Properties

- [data](#data)
- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [lineBlur](#lineblur)
- [lineCap](#linecap)
- [lineColor](#linecolor)
- [lineDasharray](#linedasharray)
- [lineGapWidth](#linegapwidth)
- [lineGradient](#linegradient)
- [lineJoin](#linejoin)
- [lineMiterMimit](#linemitermimit)
- [lineOffset](#lineoffset)
- [lineOpacity](#lineopacity)
- [linePattern](#linepattern)
- [lineRoundLimit](#lineroundlimit)
- [lineSortKey](#linesortkey)
- [lineTranslate](#linetranslate)
- [lineTranslateAnchor](#linetranslateanchor)
- [lineWidth](#linewidth)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### lineBlur

• `Optional` **lineBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineCap

• `Optional` **lineCap**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"butt"`` \| ``"round"`` \| ``"square"`` \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*number*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"butt"`` \| ``"round"`` \| ``"square"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"butt"`` \| ``"round"`` \| ``"square"``][] ; `type`: ``"categorical"``  }

___

#### lineColor

• `Optional` **lineColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### lineDasharray

• `Optional` **lineDasharray**: *number*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*number*, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *number*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"interval"``  } \| { `default?`: *number*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*[]][] ; `type`: ``"categorical"``  }

___

#### lineGapWidth

• `Optional` **lineGapWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineGradient

• `Optional` **lineGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### lineJoin

• `Optional` **lineJoin**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"round"`` \| ``"bevel"`` \| ``"miter"`` \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*number*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"round"`` \| ``"bevel"`` \| ``"miter"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"round"`` \| ``"bevel"`` \| ``"miter"``][] ; `type`: ``"categorical"``  }

___

#### lineMiterMimit

• `Optional` **lineMiterMimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### lineOffset

• `Optional` **lineOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineOpacity

• `Optional` **lineOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### linePattern

• `Optional` **linePattern**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### lineRoundLimit

• `Optional` **lineRoundLimit**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### lineSortKey

• `Optional` **lineSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### lineTranslate

• `Optional` **lineTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### lineTranslateAnchor

• `Optional` **lineTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### lineWidth

• `Optional` **lineWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesresponsemd"></a>

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

## Interface: Response

### Table of contents

#### Properties

- [data](#data)
- [response](#response)
- [status](#status)
- [xhr](#xhr)

### Properties

#### data

• `Optional` **data**: *string* \| *Record*<string, unknown\>

___

#### response

• **response**: *Record*<string, unknown\>

___

#### status

• **status**: *number*

___

#### xhr

• **xhr**: XMLHttpRequest


<a name="interfacesscriptdefaultoptionsmd"></a>

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

## Interface: ScriptDefaultOptions

### Table of contents

#### Properties

- [async](#async)
- [injectLocation](#injectlocation)
- [src](#src)
- [strategy](#strategy)

### Properties

#### async

• `Optional` **async**: *boolean*

___

#### injectLocation

• `Optional` **injectLocation**: *string*

___

#### src

• **src**: *string*

___

#### strategy

• `Optional` **strategy**: *string*


<a name="interfacesskylayeroptionsmd"></a>

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

## Interface: SkyLayerOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **SkyLayerOptions**

### Table of contents

#### Properties

- [filter](#filter)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [skyAtmosphereColor](#skyatmospherecolor)
- [skyAtmosphereHaloColor](#skyatmospherehalocolor)
- [skyAtmosphereSun](#skyatmospheresun)
- [skyAtmosphereSunIntensity](#skyatmospheresunintensity)
- [skyGradient](#skygradient)
- [skyGradientCenter](#skygradientcenter)
- [skyGradientRadius](#skygradientradius)
- [skyOpacity](#skyopacity)
- [skyType](#skytype)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [visibility](#visibility)

### Properties

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### skyAtmosphereColor

• `Optional` **skyAtmosphereColor**: *string*

___

#### skyAtmosphereHaloColor

• `Optional` **skyAtmosphereHaloColor**: *string*

___

#### skyAtmosphereSun

• `Optional` **skyAtmosphereSun**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### skyAtmosphereSunIntensity

• `Optional` **skyAtmosphereSunIntensity**: *number*

___

#### skyGradient

• `Optional` **skyGradient**: [*ExpressionSpecificationEx*](#expressionspecificationex)

___

#### skyGradientCenter

• `Optional` **skyGradientCenter**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### skyGradientRadius

• `Optional` **skyGradientRadius**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### skyOpacity

• `Optional` **skyOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### skyType

• `Optional` **skyType**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"gradient"`` \| ``"atmosphere"`` \| { `stops`: [*number*, ``"gradient"`` \| ``"atmosphere"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"gradient"`` \| ``"atmosphere"``][] ; `type`: ``"interval"``  }

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacesspringoptionsmd"></a>

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

## Interface: SpringOptions

### Hierarchy

- [*PhysicsSpringOptions*](#interfacesdefaultphysicsspringoptionsmd)

  ↳ **SpringOptions**

### Table of contents

#### Properties

- [bounce](#bounce)
- [damping](#damping)
- [duration](#duration)
- [from](#from)
- [mass](#mass)
- [restDelta](#restdelta)
- [restSpeed](#restspeed)
- [stiffness](#stiffness)
- [to](#to)
- [velocity](#velocity)

### Properties

#### bounce

• `Optional` **bounce**: *number*

___

#### damping

• `Optional` **damping**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[damping](#damping)

___

#### duration

• `Optional` **duration**: *number*

___

#### from

• `Optional` **from**: *number*

___

#### mass

• `Optional` **mass**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[mass](#mass)

___

#### restDelta

• `Optional` **restDelta**: *number*

___

#### restSpeed

• `Optional` **restSpeed**: *number*

___

#### stiffness

• `Optional` **stiffness**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[stiffness](#stiffness)

___

#### to

• `Optional` **to**: *number*

___

#### velocity

• `Optional` **velocity**: *number*

Inherited from: [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd).[velocity](#velocity)


<a name="interfacessvgelementoptionsmd"></a>

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

## Interface: SvgElementOptions

### Table of contents

#### Properties

- [bounds](#bounds)
- [event](#event)
- [hidden](#hidden)
- [html](#html)
- [id](#id)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)

### Properties

#### bounds

• `Optional` **bounds**: [*GeoBounds*](#classesdefaultgeoboundsmd) \| [*number*, *number*, *number*, *number*]

元素地理范围，如果不填，会根据传入的坐标自动计算，但对于一些复杂的图形，需传入，

___

#### event

• `Optional` **event**: (`svgParentElement`: SVGSVGElement) => {}

事件，在回调函数里，响应要处理的事件，每次更新图形会重新执行

##### Type declaration

▸ (`svgParentElement`: SVGSVGElement): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `svgParentElement` | SVGSVGElement |

**Returns:** *object*

___

#### hidden

• `Optional` **hidden**: *boolean*

是否不显示

___

#### html

• **html**: *string*

元素字符串内容，地理坐标用{{x,y}}来表示，长度用{{r}}来代表

___

#### id

• `Optional` **id**: *string* \| *number*

id

___

#### maxZoom

• `Optional` **maxZoom**: *boolean*

最大缩放级别

___

#### minZoom

• `Optional` **minZoom**: *number*

最小缩放级别


<a name="interfacessvgoverlayoptionsmd"></a>

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

## Interface: SvgOverlayOptions

### Table of contents

#### Properties

- [divClassName](#divclassname)
- [maxDivSize](#maxdivsize)
- [maxPitch](#maxpitch)
- [maxZoom](#maxzoom)
- [minZoom](#minzoom)
- [noUpdateBoundsWhenMoveend](#noupdateboundswhenmoveend)
- [svgMaxHeight](#svgmaxheight)
- [svgMaxWidth](#svgmaxwidth)
- [svgOffset](#svgoffset)
- [updateDivSize](#updatedivsize)

### Properties

#### divClassName

• `Optional` **divClassName**: *string*

类名

___

#### maxDivSize

• `Optional` **maxDivSize**: *number*

放大div时，最大的div大小，超过了就像素放大了

___

#### maxPitch

• `Optional` **maxPitch**: *number*

显示最大倾斜角

___

#### maxZoom

• `Optional` **maxZoom**: *number*

显示最小级别

___

#### minZoom

• `Optional` **minZoom**: *number*

显示最大级别

___

#### noUpdateBoundsWhenMoveend

• `Optional` **noUpdateBoundsWhenMoveend**: *boolean*

当移动结束时不自动更新范围

___

#### svgMaxHeight

• `Optional` **svgMaxHeight**: *number*

svg初始化时最大像素高,默认1000

___

#### svgMaxWidth

• `Optional` **svgMaxWidth**: *number*

svg初始化时最大像素宽,默认1000

___

#### svgOffset

• `Optional` **svgOffset**: *number*

svg初始化时Offset像素距离,默认100

___

#### updateDivSize

• `Optional` **updateDivSize**: *boolean*

自动更新div大小，（如果需要svg放大，需要设置为true)


<a name="interfacessymboloptionsmd"></a>

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

## Interface: SymbolOptions

### Hierarchy

- [*OverlayLayerBaseOptions*](#interfacesdefaultoverlaylayerbaseoptionsmd)

  ↳ **SymbolOptions**

### Table of contents

#### Properties

- [data](#data)
- [filter](#filter)
- [iconAllowOverlap](#iconallowoverlap)
- [iconAnchor](#iconanchor)
- [iconColor](#iconcolor)
- [iconHaloBlur](#iconhaloblur)
- [iconHaloColor](#iconhalocolor)
- [iconHaloWidth](#iconhalowidth)
- [iconIgnorePlacement](#iconignoreplacement)
- [iconImage](#iconimage)
- [iconKeepUpright](#iconkeepupright)
- [iconOffset](#iconoffset)
- [iconOpacity](#iconopacity)
- [iconOptional](#iconoptional)
- [iconPadding](#iconpadding)
- [iconPitchAlignment](#iconpitchalignment)
- [iconRotate](#iconrotate)
- [iconRotationAlignment](#iconrotationalignment)
- [iconSize](#iconsize)
- [iconTextFit](#icontextfit)
- [iconTextFitPadding](#icontextfitpadding)
- [iconTranslate](#icontranslate)
- [iconTranslateAnchor](#icontranslateanchor)
- [isHoverFeatureState](#ishoverfeaturestate)
- [isHoverPointer](#ishoverpointer)
- [layerId](#layerid)
- [maxzoom](#maxzoom)
- [minzoom](#minzoom)
- [sourceId](#sourceid)
- [sourceLayer](#sourcelayer)
- [symbolAvoidEdges](#symbolavoidedges)
- [symbolPlacement](#symbolplacement)
- [symbolSortKey](#symbolsortkey)
- [symbolSpacing](#symbolspacing)
- [symbolZOrder](#symbolzorder)
- [textAllowOverlap](#textallowoverlap)
- [textAnchor](#textanchor)
- [textColor](#textcolor)
- [textField](#textfield)
- [textFont](#textfont)
- [textHaloBlur](#texthaloblur)
- [textHaloColor](#texthalocolor)
- [textHaloWidth](#texthalowidth)
- [textIgnorePlacement](#textignoreplacement)
- [textJustify](#textjustify)
- [textKeepUpright](#textkeepupright)
- [textLetterSpacing](#textletterspacing)
- [textLineHeight](#textlineheight)
- [textMaxAngle](#textmaxangle)
- [textMaxWidth](#textmaxwidth)
- [textOffset](#textoffset)
- [textOpacity](#textopacity)
- [textOptional](#textoptional)
- [textPadding](#textpadding)
- [textPitchAlignment](#textpitchalignment)
- [textRadialOffset](#textradialoffset)
- [textRotate](#textrotate)
- [textRotationAlignment](#textrotationalignment)
- [textSize](#textsize)
- [textTransform](#texttransform)
- [textTranslate](#texttranslate)
- [textTranslateAnchor](#texttranslateanchor)
- [textVariableAnchor](#textvariableanchor)
- [textWritingMode](#textwritingmode)
- [visibility](#visibility)

### Properties

#### data

• **data**: *any*

___

#### filter

• `Optional` **filter**: *any*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[filter](#filter)

___

#### iconAllowOverlap

• `Optional` **iconAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconAnchor

• `Optional` **iconAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

___

#### iconColor

• `Optional` **iconColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### iconHaloBlur

• `Optional` **iconHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconHaloColor

• `Optional` **iconHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### iconHaloWidth

• `Optional` **iconHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconIgnorePlacement

• `Optional` **iconIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconImage

• `Optional` **iconImage**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### iconKeepUpright

• `Optional` **iconKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconOffset

• `Optional` **iconOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

___

#### iconOpacity

• `Optional` **iconOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconOptional

• `Optional` **iconOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### iconPadding

• `Optional` **iconPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### iconPitchAlignment

• `Optional` **iconPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### iconRotate

• `Optional` **iconRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconRotationAlignment

• `Optional` **iconRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### iconSize

• `Optional` **iconSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### iconTextFit

• `Optional` **iconTextFit**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"`` \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``][] ; `type`: ``"interval"``  }

___

#### iconTextFitPadding

• `Optional` **iconTextFitPadding**: [*number*, *number*, *number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*, *number*, *number*]][] ; `type`: ``"interval"``  }

___

#### iconTranslate

• `Optional` **iconTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### iconTranslateAnchor

• `Optional` **iconTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### isHoverFeatureState

• `Optional` **isHoverFeatureState**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverFeatureState](#ishoverfeaturestate)

___

#### isHoverPointer

• `Optional` **isHoverPointer**: *boolean*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[isHoverPointer](#ishoverpointer)

___

#### layerId

• `Optional` **layerId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[layerId](#layerid)

___

#### maxzoom

• `Optional` **maxzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[maxzoom](#maxzoom)

___

#### minzoom

• `Optional` **minzoom**: *number*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[minzoom](#minzoom)

___

#### sourceId

• `Optional` **sourceId**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceId](#sourceid)

___

#### sourceLayer

• `Optional` **sourceLayer**: *string*

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[sourceLayer](#sourcelayer)

___

#### symbolAvoidEdges

• `Optional` **symbolAvoidEdges**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### symbolPlacement

• `Optional` **symbolPlacement**: ``"line"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"point"`` \| ``"line-center"`` \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"line"`` \| ``"point"`` \| ``"line-center"``][] ; `type`: ``"interval"``  }

___

#### symbolSortKey

• `Optional` **symbolSortKey**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### symbolSpacing

• `Optional` **symbolSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### symbolZOrder

• `Optional` **symbolZOrder**: ``"source"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| ``"viewport-y"`` \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"source"`` \| ``"auto"`` \| ``"viewport-y"``][] ; `type`: ``"interval"``  }

___

#### textAllowOverlap

• `Optional` **textAllowOverlap**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textAnchor

• `Optional` **textAnchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*number*, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*Anchor*](#anchor)][] ; `type`: ``"categorical"``  }

___

#### textColor

• `Optional` **textColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### textField

• `Optional` **textField**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### textFont

• `Optional` **textFont**: *string*[] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*number*, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*[]][] ; `type`: ``"categorical"``  } \| { `default?`: *string*[] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"exponential"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"interval"``  } \| { `default?`: *string*[] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*[]][] ; `type`: ``"categorical"``  }

___

#### textHaloBlur

• `Optional` **textHaloBlur**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textHaloColor

• `Optional` **textHaloColor**: *string* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*number*, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *string*][] ; `type`: ``"categorical"``  } \| { `default?`: *string* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"exponential"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *string*][] ; `type`: ``"interval"``  } \| { `default?`: *string* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *string*][] ; `type`: ``"categorical"``  }

___

#### textHaloWidth

• `Optional` **textHaloWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textIgnorePlacement

• `Optional` **textIgnorePlacement**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textJustify

• `Optional` **textJustify**: ``"center"`` \| ``"left"`` \| ``"right"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"auto"`` \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*number*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"center"`` \| ``"left"`` \| ``"right"`` \| ``"auto"``][] ; `type`: ``"categorical"``  }

___

#### textKeepUpright

• `Optional` **textKeepUpright**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textLetterSpacing

• `Optional` **textLetterSpacing**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textLineHeight

• `Optional` **textLineHeight**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textMaxAngle

• `Optional` **textMaxAngle**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### textMaxWidth

• `Optional` **textMaxWidth**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textOffset

• `Optional` **textOffset**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, [*number*, *number*]][] ; `type`: ``"categorical"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"interval"``  } \| { `default?`: [*number*, *number*] ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, [*number*, *number*]][] ; `type`: ``"categorical"``  }

___

#### textOpacity

• `Optional` **textOpacity**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textOptional

• `Optional` **textOptional**: *boolean* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *boolean*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *boolean*][] ; `type`: ``"interval"``  }

___

#### textPadding

• `Optional` **textPadding**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  }

___

#### textPitchAlignment

• `Optional` **textPitchAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### textRadialOffset

• `Optional` **textRadialOffset**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textRotate

• `Optional` **textRotate**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textRotationAlignment

• `Optional` **textRotationAlignment**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| ``"auto"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"`` \| ``"auto"``][] ; `type`: ``"interval"``  }

___

#### textSize

• `Optional` **textSize**: *number* \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*number*, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, *number*][] ; `type`: ``"categorical"``  } \| { `default?`: *number* ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"exponential"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, *number*][] ; `type`: ``"interval"``  } \| { `default?`: *number* ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, *number*][] ; `type`: ``"categorical"``  }

___

#### textTransform

• `Optional` **textTransform**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*number*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `type`: ``"identity"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"exponential"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"interval"``  } \| { `default?`: ``"none"`` \| ``"uppercase"`` \| ``"lowercase"`` ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, ``"none"`` \| ``"uppercase"`` \| ``"lowercase"``][] ; `type`: ``"categorical"``  }

___

#### textTranslate

• `Optional` **textTranslate**: [*number*, *number*] \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*number*, *number*]][] ; `type`: ``"interval"``  }

___

#### textTranslateAnchor

• `Optional` **textTranslateAnchor**: ``"map"`` \| [*ExpressionSpecificationEx*](#expressionspecificationex) \| ``"viewport"`` \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, ``"map"`` \| ``"viewport"``][] ; `type`: ``"interval"``  }

___

#### textVariableAnchor

• `Optional` **textVariableAnchor**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| [*Anchor*](#anchor)[] \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, [*Anchor*](#anchor)[]][] ; `type`: ``"interval"``  }

___

#### textWritingMode

• `Optional` **textWritingMode**: [*ExpressionSpecificationEx*](#expressionspecificationex) \| (``"vertical"`` \| ``"horizontal"``)[] \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, (``"vertical"`` \| ``"horizontal"``)[]][] ; `type`: ``"interval"``  }

___

#### visibility

• `Optional` **visibility**: ``"visible"`` \| ``"none"``

Inherited from: [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd).[visibility](#visibility)


<a name="interfacestextoptionsmd"></a>

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

## Interface: TextOptions

### Hierarchy

- *MarkerOptions*

  ↳ **TextOptions**

### Table of contents

#### Properties

- [style](#style)
- [text](#text)

### Properties

#### style

• `Optional` **style**: *object*

文本样式.

___

#### text

• `Optional` **text**: *string*

文本内容.


<a name="interfacesthreejscontextmd"></a>

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

## Interface: ThreeJsContext

### Table of contents

#### Methods

- [Object3D](#object3d)
- [add](#add)
- [clear](#clear)
- [coneMesh](#conemesh)
- [createSkyLayer](#createskylayer)
- [createTerrainLayer](#createterrainlayer)
- [defaultLights](#defaultlights)
- [dispose](#dispose)
- [extrusion](#extrusion)
- [findParent3DObject](#findparent3dobject)
- [flyline](#flyline)
- [getFeatureCenter](#getfeaturecenter)
- [getObjectHeightOnFloor](#getobjectheightonfloor)
- [getSunPosition](#getsunposition)
- [getSunSky](#getsunsky)
- [getSunTimes](#getsuntimes)
- [getWorldSize](#getworldsize)
- [label](#label)
- [line](#line)
- [loadTexture](#loadtexture)
- [mapToWorld](#maptoworld)
- [mapToWorldLength](#maptoworldlength)
- [memory](#memory)
- [programs](#programs)
- [projectToWorld](#projecttoworld)
- [projectedUnitsPerMeter](#projectedunitspermeter)
- [queryRenderedFeatures](#queryrenderedfeatures)
- [radar](#radar)
- [radialGradient](#radialgradient)
- [realSunlight](#realsunlight)
- [remove](#remove)
- [removeByName](#removebyname)
- [removeLayer](#removelayer)
- [repaint](#repaint)
- [setBuildingShadows](#setbuildingshadows)
- [setDefaultView](#setdefaultview)
- [setLayerHeigthProperty](#setlayerheigthproperty)
- [setLayerZoomRange](#setlayerzoomrange)
- [setLayoutProperty](#setlayoutproperty)
- [setObjectsScale](#setobjectsscale)
- [setStyle](#setstyle)
- [setSunlight](#setsunlight)
- [sphere](#sphere)
- [toggle](#toggle)
- [toggleLayer](#togglelayer)
- [tooltip](#tooltip)
- [tube](#tube)
- [unprojectFromWorld](#unprojectfromworld)
- [update](#update)
- [updateLightHelper](#updatelighthelper)
- [updateSunGround](#updatesunground)
- [updateSunSky](#updatesunsky)
- [wall](#wall)
- [wave](#wave)
- [waveWall](#wavewall)
- [worldToMapLength](#worldtomaplength)

### Methods

#### Object3D

▸ **Object3D**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### add

▸ **add**(`obj`: *any*, `layerId?`: *string*, `sourceId?`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | *any* |
| `layerId?` | *string* |
| `sourceId?` | *string* |

**Returns:** *any*

___

#### clear

▸ **clear**(`layerId?`: *string*, `dispose?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId?` | *string* |
| `dispose?` | *boolean* |

**Returns:** *any*

___

#### coneMesh

▸ **coneMesh**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `animation?`: *boolean* ; `animationUpDown?`: *boolean* ; `color?`: *string* \| *number* ; `height?`: *number* ; `obj3dOpts?`: *object* ; `size?`: *number*  }): *any*

创建一个四棱锥

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.animation?` | *boolean* |
| `opts.animationUpDown?` | *boolean* |
| `opts.color?` | *string* \| *number* |
| `opts.height?` | *number* |
| `opts.obj3dOpts?` | *object* |
| `opts.size?` | *number* |

**Returns:** *any*

___

#### createSkyLayer

▸ **createSkyLayer**(): *void*

**Returns:** *void*

___

#### createTerrainLayer

▸ **createTerrainLayer**(): *void*

**Returns:** *void*

___

#### defaultLights

▸ **defaultLights**(): *any*

**Returns:** *any*

___

#### dispose

▸ **dispose**(): *any*

**Returns:** *any*

___

#### extrusion

▸ **extrusion**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### findParent3DObject

▸ **findParent3DObject**(`mesh`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `mesh` | *any* |

**Returns:** *any*

___

#### flyline

▸ **flyline**(`opts`: { `color`: *string* \| *number* ; `color2?`: *string* \| *number* ; `count?`: *number* ; `height?`: *number* ; `opacity?`: *number* ; `range?`: *number* ; `size?`: *number* ; `source`: [*GeoPoint*](#classesdefaultgeopointmd) ; `speed?`: *number* ; `target`: [*GeoPoint*](#classesdefaultgeopointmd)  }): *any*

 创建一条飞行线

##### Parameters

| Name | Type |
| :------ | :------ |
| `opts` | *object* |
| `opts.color` | *string* \| *number* |
| `opts.color2?` | *string* \| *number* |
| `opts.count?` | *number* |
| `opts.height?` | *number* |
| `opts.opacity?` | *number* |
| `opts.range?` | *number* |
| `opts.size?` | *number* |
| `opts.source` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts.speed?` | *number* |
| `opts.target` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *any*

___

#### getFeatureCenter

▸ **getFeatureCenter**(`feature`: *any*, `obj`: *any*, `level`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `feature` | *any* |
| `obj` | *any* |
| `level` | *number* |

**Returns:** *any*

___

#### getObjectHeightOnFloor

▸ **getObjectHeightOnFloor**(`coords`: *any*, `obj`: *any*, `level`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |
| `obj` | *any* |
| `level` | *number* |

**Returns:** *any*

___

#### getSunPosition

▸ **getSunPosition**(`date`: *any*, `coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `date` | *any* |
| `coords` | *any* |

**Returns:** *any*

___

#### getSunSky

▸ **getSunSky**(`date`: *any*, `sunPos`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `date` | *any* |
| `sunPos` | *any* |

**Returns:** *any*

___

#### getSunTimes

▸ **getSunTimes**(`date`: *any*, `coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `date` | *any* |
| `coords` | *any* |

**Returns:** *any*

___

#### getWorldSize

▸ **getWorldSize**(): *number*

threejs世界坐标总长度.

**Returns:** *number*

___

#### label

▸ **label**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### line

▸ **line**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### loadTexture

▸ **loadTexture**(`img`: *string*, `defaultImg?`: *string*): *any*

加载材质，要使用base64图片，返回 `THREE.Texture` 对象.

##### Parameters

| Name | Type |
| :------ | :------ |
| `img` | *string* |
| `defaultImg?` | *string* |

**Returns:** *any*

___

#### mapToWorld

▸ **mapToWorld**(`coords`: *any*): *any*

地图几何坐标转threejs世界坐标.

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |

**Returns:** *any*

___

#### mapToWorldLength

▸ **mapToWorldLength**(`coords`: *any*): *any*

threejs世界坐标地转图几何坐标.

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |

**Returns:** *any*

▸ **mapToWorldLength**(`len`: *number*): *number*

地图几何长度转threejs世界坐标长度.

##### Parameters

| Name | Type |
| :------ | :------ |
| `len` | *number* |

**Returns:** *number*

___

#### memory

▸ **memory**(): *any*

**Returns:** *any*

___

#### programs

▸ **programs**(): *any*

**Returns:** *any*

___

#### projectToWorld

▸ **projectToWorld**(`coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `coords` | *any* |

**Returns:** *any*

___

#### projectedUnitsPerMeter

▸ **projectedUnitsPerMeter**(`lat`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `lat` | *any* |

**Returns:** *any*

___

#### queryRenderedFeatures

▸ **queryRenderedFeatures**(`point`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | *any* |

**Returns:** *any*

___

#### radar

▸ **radar**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color1?`: *string* \| *number* ; `color2?`: *string* \| *number* ; `size?`: *number* ; `speed?`: *number* ; `texture1`: *string* ; `texture2`: *string*  }): *any*

创建一个扫描雷达

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color1?` | *string* \| *number* |
| `opts.color2?` | *string* \| *number* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |
| `opts.texture1` | *string* |
| `opts.texture2` | *string* |

**Returns:** *any*

___

#### radialGradient

▸ **radialGradient**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color?`: *any* ; `size?`: *number* ; `speed?`: *number*  }): *any*

创建一个径向渐变球

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color?` | *any* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |

**Returns:** *any*

___

#### realSunlight

▸ **realSunlight**(`helper?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `helper?` | *boolean* |

**Returns:** *any*

___

#### remove

▸ **remove**(`obj`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | *any* |

**Returns:** *any*

___

#### removeByName

▸ **removeByName**(`name`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `name` | *string* |

**Returns:** *any*

___

#### removeLayer

▸ **removeLayer**(`layerId`: *string*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |

**Returns:** *any*

___

#### repaint

▸ **repaint**(): *void*

**Returns:** *void*

___

#### setBuildingShadows

▸ **setBuildingShadows**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### setDefaultView

▸ **setDefaultView**(`options`: *any*, `defOptions`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |
| `defOptions` | *any* |

**Returns:** *any*

___

#### setLayerHeigthProperty

▸ **setLayerHeigthProperty**(`layerId`: *string*, `level`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `level` | *number* |

**Returns:** *any*

___

#### setLayerZoomRange

▸ **setLayerZoomRange**(`layerId`: *string*, `minZoomLayer`: *number*, `maxZoomLayer`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `minZoomLayer` | *number* |
| `maxZoomLayer` | *number* |

**Returns:** *any*

___

#### setLayoutProperty

▸ **setLayoutProperty**(`layerId`: *string*, `name`: *string*, `value`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `name` | *string* |
| `value` | *any* |

**Returns:** *any*

___

#### setObjectsScale

▸ **setObjectsScale**(): *any*

**Returns:** *any*

___

#### setStyle

▸ **setStyle**(`styleId`: *string*, `options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `styleId` | *string* |
| `options` | *any* |

**Returns:** *any*

___

#### setSunlight

▸ **setSunlight**(`newDate`: *any*, `coords`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `newDate` | *any* |
| `coords` | *any* |

**Returns:** *any*

___

#### sphere

▸ **sphere**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### toggle

▸ **toggle**(`layerId`: *string*, `visible?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `visible?` | *boolean* |

**Returns:** *any*

___

#### toggleLayer

▸ **toggleLayer**(`layerId`: *string*, `visible?`: *boolean*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `layerId` | *string* |
| `visible?` | *boolean* |

**Returns:** *any*

___

#### tooltip

▸ **tooltip**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### tube

▸ **tube**(`options`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | *any* |

**Returns:** *any*

___

#### unprojectFromWorld

▸ **unprojectFromWorld**(`v3`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v3` | *any* |

**Returns:** *any*

___

#### update

▸ **update**(): *any*

**Returns:** *any*

___

#### updateLightHelper

▸ **updateLightHelper**(): *any*

**Returns:** *any*

___

#### updateSunGround

▸ **updateSunGround**(`sunPos`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `sunPos` | *any* |

**Returns:** *any*

___

#### updateSunSky

▸ **updateSunSky**(`sunPos`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `sunPos` | *any* |

**Returns:** *any*

___

#### wall

▸ **wall**(`pts`: [*GeoPoint*](#classesdefaultgeopointmd)[], `opts?`: { `color1?`: *string* \| *number* ; `color2?`: *string* \| *number* ; `flyline?`: *boolean* ; `height?`: *number* ; `obj3dOpts?`: *object* ; `offsetX?`: *number* ; `offsetY?`: *number* ; `opacity?`: *number* ; `repeatX?`: *number* ; `repeatY?`: *number* ; `texture1?`: *string* ; `texture2?`: *string*  }): *any*

创建一个立体光墙

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `opts?` | *object* |
| `opts.color1?` | *string* \| *number* |
| `opts.color2?` | *string* \| *number* |
| `opts.flyline?` | *boolean* |
| `opts.height?` | *number* |
| `opts.obj3dOpts?` | *object* |
| `opts.offsetX?` | *number* |
| `opts.offsetY?` | *number* |
| `opts.opacity?` | *number* |
| `opts.repeatX?` | *number* |
| `opts.repeatY?` | *number* |
| `opts.texture1?` | *string* |
| `opts.texture2?` | *string* |

**Returns:** *any*

___

#### wave

▸ **wave**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color?`: *string* \| *number* ; `size?`: *number* ; `speed?`: *number* ; `texture?`: *string*  }): *any*

创建一个波动光圈

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color?` | *string* \| *number* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |
| `opts.texture?` | *string* |

**Returns:** *any*

___

#### waveWall

▸ **waveWall**(`co`: [*GeoPoint*](#classesdefaultgeopointmd), `opts?`: { `color?`: *string* \| *number* ; `height?`: *number* ; `opacity?`: *number* ; `size?`: *number* ; `speed?`: *number* ; `texture?`: *string*  }): *any*

创建一个波动光圈

##### Parameters

| Name | Type |
| :------ | :------ |
| `co` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `opts?` | *object* |
| `opts.color?` | *string* \| *number* |
| `opts.height?` | *number* |
| `opts.opacity?` | *number* |
| `opts.size?` | *number* |
| `opts.speed?` | *number* |
| `opts.texture?` | *string* |

**Returns:** *any*

___

#### worldToMapLength

▸ **worldToMapLength**(`len`: *number*): *number*

threejs世界坐标长度转地图几何长度.

##### Parameters

| Name | Type |
| :------ | :------ |
| `len` | *number* |

**Returns:** *number*


<a name="interfacesthreejscontextoptionsmd"></a>

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

## Interface: ThreeJsContextOptions

### Table of contents

#### Properties

- [defaultLights](#defaultlights)
- [enableDraggingObjects](#enabledraggingobjects)
- [enableRotatingObjects](#enablerotatingobjects)
- [enableSelectingFeatures](#enableselectingfeatures)
- [enableSelectingObjects](#enableselectingobjects)
- [enableTooltips](#enabletooltips)
- [fov](#fov)
- [multiLayer](#multilayer)
- [orthographic](#orthographic)
- [passiveRendering](#passiverendering)
- [preserveDrawingBuffer](#preservedrawingbuffer)
- [realSunlight](#realsunlight)
- [realSunlightHelper](#realsunlighthelper)
- [sky](#sky)
- [terrain](#terrain)

### Properties

#### defaultLights

• `Optional` **defaultLights**: *boolean*

___

#### enableDraggingObjects

• `Optional` **enableDraggingObjects**: *boolean*

___

#### enableRotatingObjects

• `Optional` **enableRotatingObjects**: *boolean*

___

#### enableSelectingFeatures

• `Optional` **enableSelectingFeatures**: *boolean*

___

#### enableSelectingObjects

• `Optional` **enableSelectingObjects**: *boolean*

___

#### enableTooltips

• `Optional` **enableTooltips**: *boolean*

___

#### fov

• `Optional` **fov**: *number*

___

#### multiLayer

• `Optional` **multiLayer**: *boolean*

___

#### orthographic

• `Optional` **orthographic**: *boolean*

___

#### passiveRendering

• `Optional` **passiveRendering**: *boolean*

___

#### preserveDrawingBuffer

• `Optional` **preserveDrawingBuffer**: *boolean*

___

#### realSunlight

• `Optional` **realSunlight**: *boolean*

___

#### realSunlightHelper

• `Optional` **realSunlightHelper**: *boolean*

___

#### sky

• `Optional` **sky**: *boolean*

___

#### terrain

• `Optional` **terrain**: *boolean*


<a name="interfacesthreelayeroptionsmd"></a>

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

## Interface: ThreeLayerOptions

### Table of contents

#### Properties

- [context](#context)
- [id](#id)
- [onAdd](#onadd)
- [onRemove](#onremove)
- [render](#render)

### Properties

#### context

• **context**: [*ThreeJsContext*](#interfacesdefaultthreejscontextmd)

___

#### id

• `Optional` **id**: *string*

___

#### onAdd

• `Optional` **onAdd**: (`map`: *any*, `gl`: *any*) => *void*

##### Type declaration

▸ (`map`: *any*, `gl`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `map` | *any* |
| `gl` | *any* |

**Returns:** *void*

___

#### onRemove

• `Optional` **onRemove**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### render

• `Optional` **render**: (`gl`: *any*, `matrix`: *any*) => *void*

##### Type declaration

▸ (`gl`: *any*, `matrix`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `gl` | *any* |
| `matrix` | *any* |

**Returns:** *void*


<a name="interfaceswebsocketeventlistenermapmd"></a>

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

## Interface: WebSocketEventListenerMap

### Table of contents

#### Properties

- [close](#close)
- [error](#error)
- [message](#message)
- [open](#open)

### Properties

#### close

• **close**: (`event`: [*CloseEvent*](#classescloseeventmd)) => *void* \| { `handleEvent`: (`event`: [*CloseEvent*](#classescloseeventmd)) => *void*  }

##### Type declaration

▸ (`event`: [*CloseEvent*](#classescloseeventmd)): *void* \| { `handleEvent`: (`event`: [*CloseEvent*](#classescloseeventmd)) => *void*  }

##### Parameters

| Name | Type |
| :------ | :------ |
| `event` | [*CloseEvent*](#classescloseeventmd) |

**Returns:** *void* \| { `handleEvent`: (`event`: [*CloseEvent*](#classescloseeventmd)) => *void*  }

___

#### error

• **error**: (`event`: [*ErrorEvent*](#classeserroreventmd)) => *void* \| { `handleEvent`: (`event`: [*ErrorEvent*](#classeserroreventmd)) => *void*  }

##### Type declaration

▸ (`event`: [*ErrorEvent*](#classeserroreventmd)): *void* \| { `handleEvent`: (`event`: [*ErrorEvent*](#classeserroreventmd)) => *void*  }

##### Parameters

| Name | Type |
| :------ | :------ |
| `event` | [*ErrorEvent*](#classeserroreventmd) |

**Returns:** *void* \| { `handleEvent`: (`event`: [*ErrorEvent*](#classeserroreventmd)) => *void*  }

___

#### message

• **message**: (`event`: MessageEvent) => *void* \| { `handleEvent`: (`event`: MessageEvent) => *void*  }

##### Type declaration

▸ (`event`: MessageEvent): *void* \| { `handleEvent`: (`event`: MessageEvent) => *void*  }

##### Parameters

| Name | Type |
| :------ | :------ |
| `event` | MessageEvent |

**Returns:** *void* \| { `handleEvent`: (`event`: MessageEvent) => *void*  }

___

#### open

• **open**: (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)) => *void* \| { `handleEvent`: (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)) => *void*  }

##### Type declaration

▸ (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)): *void* \| { `handleEvent`: (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)) => *void*  }

##### Parameters

| Name | Type |
| :------ | :------ |
| `event` | [*WebSocketEvent*](#classeswebsocketeventmd) |

**Returns:** *void* \| { `handleEvent`: (`event`: [*WebSocketEvent*](#classeswebsocketeventmd)) => *void*  }


<a name="interfaceswebsocketeventmapmd"></a>

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

## Interface: WebSocketEventMap

### Table of contents

#### Properties

- [close](#close)
- [error](#error)
- [message](#message)
- [open](#open)

### Properties

#### close

• **close**: [*CloseEvent*](#classescloseeventmd)

___

#### error

• **error**: [*ErrorEvent*](#classeserroreventmd)

___

#### message

• **message**: MessageEvent

___

#### open

• **open**: [*WebSocketEvent*](#classeswebsocketeventmd)


<a name="modulesmd"></a>

[vjmap](#readmemd) / Exports

# vjmap

## Table of contents

### References

- [Draw](#draw)
- [angle](#angle)
- [anticipate](#anticipate)
- [applyOffset](#applyoffset)
- [attract](#attract)
- [attractExpo](#attractexpo)
- [backIn](#backin)
- [backInOut](#backinout)
- [backOut](#backout)
- [bezierCurveToPolyline](#beziercurvetopolyline)
- [bounceIn](#bouncein)
- [bounceInOut](#bounceinout)
- [bounceOut](#bounceout)
- [circIn](#circin)
- [circInOut](#circinout)
- [circOut](#circout)
- [clamp](#clamp)
- [createAnimation](#createanimation)
- [createAnticipate](#createanticipate)
- [createAttractor](#createattractor)
- [createBackIn](#createbackin)
- [createExpoIn](#createexpoin)
- [cubicBezier](#cubicbezier)
- [decay](#decay)
- [degreesToRadians](#degreestoradians)
- [distance](#distance)
- [easeIn](#easein)
- [easeInOut](#easeinout)
- [easeOut](#easeout)
- [getBezierCurveLength](#getbeziercurvelength)
- [inertia](#inertia)
- [interpolate](#interpolate)
- [isPoint](#ispoint)
- [isPoint3D](#ispoint3d)
- [keyframes](#keyframes)
- [linear](#linear)
- [mirrorEasing](#mirroreasing)
- [mix](#mix)
- [mixColor](#mixcolor)
- [mixComplex](#mixcomplex)
- [pipe](#pipe)
- [pointFromVector](#pointfromvector)
- [polylineToBezierCurve](#polylinetobeziercurve)
- [progress](#progress)
- [radiansToDegrees](#radianstodegrees)
- [reverseEasing](#reverseeasing)
- [smooth](#smooth)
- [smoothFrame](#smoothframe)
- [snap](#snap)
- [spring](#spring)
- [steps](#steps)
- [toDecimal](#todecimal)
- [velocityPerFrame](#velocityperframe)
- [velocityPerSecond](#velocitypersecond)
- [wrap](#wrap)

### Namespaces

- [Dom](#modulesdommd)
- [Math2D](#modulesmath2dmd)
- [MathUtils](#modulesmathutilsmd)
- [default](#modulesdefaultmd)
- [mat2](#modulesmat2md)
- [mat2d](#modulesmat2dmd)
- [mat3](#modulesmat3md)
- [mat4](#modulesmat4md)
- [quat](#modulesquatmd)
- [vec2](#modulesvec2md)
- [vec3](#modulesvec3md)
- [vec4](#modulesvec4md)

### Enumerations

- [DbTextHorzMode](#enumsdbtexthorzmodemd)
- [DbTextVertMode](#enumsdbtextvertmodemd)
- [FrameAnimationStatus](#enumsframeanimationstatusmd)
- [IDbLinetypeStyleMethod](#enumsidblinetypestylemethodmd)
- [IDbMatrixOpName](#enumsidbmatrixopnamemd)
- [MTextAttachmentPoint](#enumsmtextattachmentpointmd)
- [MapOpenWay](#enumsmapopenwaymd)
- [Poly2dType](#enumspoly2dtypemd)
- [Poly3dType](#enumspoly3dtypemd)
- [RasterImageUnits](#enumsrasterimageunitsmd)
- [TableCellAlignment](#enumstablecellalignmentmd)

### Classes

- [AnimateMarkerLayer](#classesanimatemarkerlayermd)
- [BackgroundLayer](#classesbackgroundlayermd)
- [BreathingApertureMarker](#classesbreathingaperturemarkermd)
- [ButtonGroupControl](#classesbuttongroupcontrolmd)
- [Circle](#classescirclemd)
- [CircleEdge](#classescircleedgemd)
- [CircleFill](#classescirclefillmd)
- [Compare](#classescomparemd)
- [ContextMenu](#classescontextmenumd)
- [Db2LineAngularDimension](#classesdb2lineangulardimensionmd)
- [Db2dPolyline](#classesdb2dpolylinemd)
- [Db3PointAngularDimension](#classesdb3pointangulardimensionmd)
- [Db3dPolyline](#classesdb3dpolylinemd)
- [DbAlignedDimension](#classesdbaligneddimensionmd)
- [DbArc](#classesdbarcmd)
- [DbArcDimension](#classesdbarcdimensionmd)
- [DbAttributeDefinition](#classesdbattributedefinitionmd)
- [DbBlock](#classesdbblockmd)
- [DbBlockReference](#classesdbblockreferencemd)
- [DbCircle](#classesdbcirclemd)
- [DbCurve](#classesdbcurvemd)
- [DbDiametricDimension](#classesdbdiametricdimensionmd)
- [DbDimension](#classesdbdimensionmd)
- [DbDocument](#classesdbdocumentmd)
- [DbEllipse](#classesdbellipsemd)
- [DbEntity](#classesdbentitymd)
- [DbHatch](#classesdbhatchmd)
- [DbLayer](#classesdblayermd)
- [DbLine](#classesdblinemd)
- [DbLineType](#classesdblinetypemd)
- [DbMLeader](#classesdbmleadermd)
- [DbMText](#classesdbmtextmd)
- [DbOrdinateDimension](#classesdbordinatedimensionmd)
- [DbPolyline](#classesdbpolylinemd)
- [DbRadialDimension](#classesdbradialdimensionmd)
- [DbRadialDimensionLarge](#classesdbradialdimensionlargemd)
- [DbRasterImage](#classesdbrasterimagemd)
- [DbRotatedDimension](#classesdbrotateddimensionmd)
- [DbShape](#classesdbshapemd)
- [DbSpline](#classesdbsplinemd)
- [DbTable](#classesdbtablemd)
- [DbText](#classesdbtextmd)
- [DbTextStyle](#classesdbtextstylemd)
- [DbWipeout](#classesdbwipeoutmd)
- [DeckLayer](#classesdecklayermd)
- [DiffusedApertureMarker](#classesdiffusedaperturemarkermd)
- [DivOverlay](#classesdivoverlaymd)
- [EllipseEdge](#classesellipseedgemd)
- [EllipseFill](#classesellipsefillmd)
- [FillExtrusion](#classesfillextrusionmd)
- [FluorescenceMarker](#classesfluorescencemarkermd)
- [GeoBounds](#classesgeoboundsmd)
- [GeoPoint](#classesgeopointmd)
- [GeoProjection](#classesgeoprojectionmd)
- [HaloRingMarker](#classeshaloringmarkermd)
- [Heatmap](#classesheatmapmd)
- [LnglatProjection](#classeslnglatprojectionmd)
- [MapGlUtils](#classesmapglutilsmd)
- [MarkerCluster](#classesmarkerclustermd)
- [MiniMapControl](#classesminimapcontrolmd)
- [MousePositionControl](#classesmousepositioncontrolmd)
- [OverlayLayerBase](#classesoverlaylayerbasemd)
- [Polygon](#classespolygonmd)
- [Polyline](#classespolylinemd)
- [PolylineArrow](#classespolylinearrowmd)
- [Projection](#classesprojectionmd)
- [ReglBaseLayer](#classesreglbaselayermd)
- [RotatingApertureMarker](#classesrotatingaperturemarkermd)
- [RotatingTextBorderMarker](#classesrotatingtextbordermarkermd)
- [Service](#classesservicemd)
- [SkyLayer](#classesskylayermd)
- [SvgOverlay](#classessvgoverlaymd)
- [Symbol](#classessymbolmd)
- [Text](#classestextmd)
- [ThreeLayer](#classesthreelayermd)

### Interfaces

- [AnimateMarkerLayerOption](#interfacesanimatemarkerlayeroptionmd)
- [Animation](#interfacesanimationmd)
- [AnimationState](#interfacesanimationstatemd)
- [BackgroundLayerOptions](#interfacesbackgroundlayeroptionsmd)
- [CircleEdgeOptions](#interfacescircleedgeoptionsmd)
- [CircleFillOptions](#interfacescirclefilloptionsmd)
- [CircleOptions](#interfacescircleoptionsmd)
- [Config](#interfacesconfigmd)
- [ContextMenuOptions](#interfacescontextmenuoptionsmd)
- [ContextMenuSubItemOptions](#interfacescontextmenusubitemoptionsmd)
- [DecayOptions](#interfacesdecayoptionsmd)
- [DivOverlayOptions](#interfacesdivoverlayoptionsmd)
- [DriverControls](#interfacesdrivercontrolsmd)
- [EllipseEdgeOptions](#interfacesellipseedgeoptionsmd)
- [EllipseFillOptions](#interfacesellipsefilloptionsmd)
- [Events](#interfaceseventsmd)
- [FillExtrusionOptions](#interfacesfillextrusionoptionsmd)
- [FrameAnimation](#interfacesframeanimationmd)
- [HeatmapOptions](#interfacesheatmapoptionsmd)
- [IAnimateFillLayerOptions](#interfacesianimatefilllayeroptionsmd)
- [IAnimateLineLayerOptions](#interfacesianimatelinelayeroptionsmd)
- [IAnimateSymbolLayerOptions](#interfacesianimatesymbollayeroptionsmd)
- [IAnimateVectorLayerOptions](#interfacesianimatevectorlayeroptionsmd)
- [IAnimateVectorLayerResult](#interfacesianimatevectorlayerresultmd)
- [IComposeNewMap](#interfacesicomposenewmapmd)
- [IConditionQueryFeatures](#interfacesiconditionqueryfeaturesmd)
- [ICreateAnimateImagesOptions](#interfacesicreateanimateimagesoptionsmd)
- [ICreateAnimateLayerResult](#interfacesicreateanimatelayerresultmd)
- [ICreateAntPathAnimateLineLayerOptions](#interfacesicreateantpathanimatelinelayeroptionsmd)
- [ICreateArrowAnimateLineLayerOptions](#interfacesicreatearrowanimatelinelayeroptionsmd)
- [ICreateEntitiesGeomData](#interfacesicreateentitiesgeomdatamd)
- [ICreateFillAnimateLayerResult](#interfacesicreatefillanimatelayerresultmd)
- [ICreateLineAnimateLayerResult](#interfacesicreatelineanimatelayerresultmd)
- [ICreateSymbolAnimateLayerResult](#interfacesicreatesymbolanimatelayerresultmd)
- [IDb2LineAngularDimension](#interfacesidb2lineangulardimensionmd)
- [IDb2dPolyline](#interfacesidb2dpolylinemd)
- [IDb3PointAngularDimension](#interfacesidb3pointangulardimensionmd)
- [IDb3dPolyline](#interfacesidb3dpolylinemd)
- [IDbAlignedDimension](#interfacesidbaligneddimensionmd)
- [IDbArc](#interfacesidbarcmd)
- [IDbArcDimension](#interfacesidbarcdimensionmd)
- [IDbBlock](#interfacesidbblockmd)
- [IDbBlockReference](#interfacesidbblockreferencemd)
- [IDbCircle](#interfacesidbcirclemd)
- [IDbCurve](#interfacesidbcurvemd)
- [IDbDiametricDimension](#interfacesidbdiametricdimensionmd)
- [IDbDimStyle](#interfacesidbdimstylemd)
- [IDbDimension](#interfacesidbdimensionmd)
- [IDbDocument](#interfacesidbdocumentmd)
- [IDbEllipse](#interfacesidbellipsemd)
- [IDbEntity](#interfacesidbentitymd)
- [IDbHatch](#interfacesidbhatchmd)
- [IDbLayer](#interfacesidblayermd)
- [IDbLine](#interfacesidblinemd)
- [IDbLinetype](#interfacesidblinetypemd)
- [IDbLinetypeStyle](#interfacesidblinetypestylemd)
- [IDbMText](#interfacesidbmtextmd)
- [IDbMatrixOp](#interfacesidbmatrixopmd)
- [IDbOrdinateDimension](#interfacesidbordinatedimensionmd)
- [IDbPolyline](#interfacesidbpolylinemd)
- [IDbRadialDimension](#interfacesidbradialdimensionmd)
- [IDbRadialDimensionLarge](#interfacesidbradialdimensionlargemd)
- [IDbRasterImage](#interfacesidbrasterimagemd)
- [IDbRotatedDimension](#interfacesidbrotateddimensionmd)
- [IDbShape](#interfacesidbshapemd)
- [IDbSpline](#interfacesidbsplinemd)
- [IDbTable](#interfacesidbtablemd)
- [IDbText](#interfacesidbtextmd)
- [IDbTextStyle](#interfacesidbtextstylemd)
- [IDbWipeout](#interfacesidbwipeoutmd)
- [IDeleteCache](#interfacesideletecachemd)
- [IDeleteStyle](#interfacesideletestylemd)
- [IDraw](#interfacesidrawmd)
- [IDrawOptions](#interfacesidrawoptionsmd)
- [IDrawTool](#interfacesidrawtoolmd)
- [IExportLayout](#interfacesiexportlayoutmd)
- [IExprQueryFeatures](#interfacesiexprqueryfeaturesmd)
- [IMapDiff](#interfacesimapdiffmd)
- [IMapLayer](#interfacesimaplayermd)
- [IMapStyleParam](#interfacesimapstyleparammd)
- [IMatchObject](#interfacesimatchobjectmd)
- [IOpenMapBaseParam](#interfacesiopenmapbaseparammd)
- [IOpenMapParam](#interfacesiopenmapparammd)
- [IOpenMapResponse](#interfacesiopenmapresponsemd)
- [IPointQueryFeatures](#interfacesipointqueryfeaturesmd)
- [IQueryBaseFeatures](#interfacesiquerybasefeaturesmd)
- [IRectQueryFeatures](#interfacesirectqueryfeaturesmd)
- [IRequest](#interfacesirequestmd)
- [ISliceCacheZoom](#interfacesislicecachezoommd)
- [ISliceLayer](#interfacesislicelayermd)
- [ITileUrlParam](#interfacesitileurlparammd)
- [IUpdateMapParam](#interfacesiupdatemapparammd)
- [IUpdateStyle](#interfacesiupdatestylemd)
- [IWmsTileUrl](#interfacesiwmstileurlmd)
- [IWorkspace](#interfacesiworkspacemd)
- [InertiaOptions](#interfacesinertiaoptionsmd)
- [KeyframeOptions](#interfaceskeyframeoptionsmd)
- [LineGeoJsonInput](#interfaceslinegeojsoninputmd)
- [MarkerClusterData](#interfacesmarkerclusterdatamd)
- [MarkerClusterOptions](#interfacesmarkerclusteroptionsmd)
- [Methods](#interfacesmethodsmd)
- [MiniMapControlOption](#interfacesminimapcontroloptionmd)
- [MousePositionControlOption](#interfacesmousepositioncontroloptionmd)
- [OverlayLayerBaseOptions](#interfacesoverlaylayerbaseoptionsmd)
- [PhysicsSpringOptions](#interfacesphysicsspringoptionsmd)
- [PlaybackControls](#interfacesplaybackcontrolsmd)
- [PlaybackOptions](#interfacesplaybackoptionsmd)
- [PointGeoJsonInput](#interfacespointgeojsoninputmd)
- [PolygonOptions](#interfacespolygonoptionsmd)
- [PolylineArrowOptions](#interfacespolylinearrowoptionsmd)
- [PolylineOptions](#interfacespolylineoptionsmd)
- [Response](#interfacesresponsemd)
- [ScriptDefaultOptions](#interfacesscriptdefaultoptionsmd)
- [SkyLayerOptions](#interfacesskylayeroptionsmd)
- [SpringOptions](#interfacesspringoptionsmd)
- [SvgElementOptions](#interfacessvgelementoptionsmd)
- [SvgOverlayOptions](#interfacessvgoverlayoptionsmd)
- [SymbolOptions](#interfacessymboloptionsmd)
- [TextOptions](#interfacestextoptionsmd)
- [ThreeJsContext](#interfacesthreejscontextmd)
- [ThreeJsContextOptions](#interfacesthreejscontextoptionsmd)
- [ThreeLayerOptions](#interfacesthreelayeroptionsmd)
- [createMarkerOptions](#interfacescreatemarkeroptionsmd)

### Type aliases

- [AnimateMarkerType](#animatemarkertype)
- [AnimationOps](#animationops)
- [BackgroundLayerSpecification](#backgroundlayerspecification)
- [CameraFunctionSpecificationEx](#camerafunctionspecificationex)
- [CircleLayerSpecification](#circlelayerspecification)
- [CircleLayerStyleProp](#circlelayerstyleprop)
- [ColorSpecification](#colorspecification)
- [CompositeFunctionSpecification](#compositefunctionspecification)
- [DataDrivenPropertyValueSpecification](#datadrivenpropertyvaluespecification)
- [Driver](#driver)
- [Easing](#easing)
- [EasingModifier](#easingmodifier)
- [ExpressionSpecificationEx](#expressionspecificationex)
- [FillExtrusionLayerSpecification](#fillextrusionlayerspecification)
- [FillExtrusionLayerStyleProp](#fillextrusionlayerstyleprop)
- [FillLayerSpecification](#filllayerspecification)
- [FillLayerStyleProp](#filllayerstyleprop)
- [FilterSpecification](#filterspecification)
- [FogSpecification](#fogspecification)
- [FormattedSpecification](#formattedspecification)
- [GeoJSONSourceSpecification](#geojsonsourcespecification)
- [GeoPointLike](#geopointlike)
- [HeatmapLayerSpecification](#heatmaplayerspecification)
- [HeatmapLayerStyleProp](#heatmaplayerstyleprop)
- [HillshadeLayerSpecification](#hillshadelayerspecification)
- [HillshadeLayerStyleProp](#hillshadelayerstyleprop)
- [IDbPoint](#idbpoint)
- [ImageSourceSpecification](#imagesourcespecification)
- [LayerCallback](#layercallback)
- [LayerRef](#layerref)
- [LayerRefFunc](#layerreffunc)
- [LayerRefFunc0](#layerreffunc0)
- [LayerRefFunc1](#layerreffunc1)
- [LayerRefFunc2](#layerreffunc2)
- [LayerRefFunc3](#layerreffunc3)
- [LayerSpecification](#layerspecification)
- [LightSpecification](#lightspecification)
- [LineLayerSpecification](#linelayerspecification)
- [LineLayerStyleProp](#linelayerstyleprop)
- [OffHandler](#offhandler)
- [PromoteIdSpecificationEx](#promoteidspecificationex)
- [PropName](#propname)
- [PropValue](#propvalue)
- [PropertyValueSpecificationEx](#propertyvaluespecificationex)
- [RasterDEMSourceSpecification](#rasterdemsourcespecification)
- [RasterLayerSpecification](#rasterlayerspecification)
- [RasterLayerStyleProp](#rasterlayerstyleprop)
- [RasterSourceSpecification](#rastersourcespecification)
- [ResolvedImageSpecification](#resolvedimagespecification)
- [SkyLayerSpecification](#skylayerspecification)
- [SourceBoundUtils](#sourceboundutils)
- [SourceFunctionSpecification](#sourcefunctionspecification)
- [SourceOrData](#sourceordata)
- [SourceRef](#sourceref)
- [SourceRefFunc0](#sourcereffunc0)
- [SourceRefFunc1](#sourcereffunc1)
- [SourceRefFunc2](#sourcereffunc2)
- [SourceRefFunc3](#sourcereffunc3)
- [SourceSpecification](#sourcespecification)
- [StyleSpecification](#stylespecification)
- [SymbolLayerSpecification](#symbollayerspecification)
- [SymbolLayerStyleProp](#symbollayerstyleprop)
- [TerrainSpecificationEx](#terrainspecificationex)
- [TransitionSpecification](#transitionspecification)
- [VectorSourceSpecification](#vectorsourcespecification)
- [VideoSourceSpecification](#videosourcespecification)
- [mat2dtype](#mat2dtype)
- [mat2type](#mat2type)
- [mat3type](#mat3type)
- [mat4type](#mat4type)
- [quattype](#quattype)
- [vec2type](#vec2type)
- [vec3type](#vec3type)
- [vec4type](#vec4type)

### Variables

- [EPSILON](#epsilon)
- [EVENTS](#events)
- [METHODS](#methods)
- [httpHelper](#httphelper)
- [transform](#transform)

### Functions

- [Graph](#graph)
- [RandomID](#randomid)
- [Scene](#scene)
- [WorkerExpose](#workerexpose)
- [WorkerLink](#workerlink)
- [WorkerProxy](#workerproxy)
- [\_getEdgeIntersection](#_getedgeintersection)
- [addScript](#addscript)
- [animateVectorLayer](#animatevectorlayer)
- [applyMixins](#applymixins)
- [applyMixinsWithoutProperties](#applymixinswithoutproperties)
- [bufferConvexPolygon](#bufferconvexpolygon)
- [buildTopoGraph](#buildtopograph)
- [buildTransformer](#buildtransformer)
- [buildTransformerMatrix3d](#buildtransformermatrix3d)
- [calcPolygonArea](#calcpolygonarea)
- [calculateSignedArea](#calculatesignedarea)
- [clipPolygon](#clippolygon)
- [clipSegment](#clipsegment)
- [cloneDeep](#clonedeep)
- [closePolygon](#closepolygon)
- [closestPointOnPolyline](#closestpointonpolyline)
- [closestPointOnPolylines](#closestpointonpolylines)
- [closestPointOnSegment](#closestpointonsegment)
- [coordTransfromByFourParamter](#coordtransfrombyfourparamter)
- [coordTransfromByInvFourParamter](#coordtransfrombyinvfourparamter)
- [coordTransfromGetFourParamter](#coordtransfromgetfourparamter)
- [createAnimateFillLayer](#createanimatefilllayer)
- [createAnimateImages](#createanimateimages)
- [createAnimateLineLayer](#createanimatelinelayer)
- [createAnimateSymbolLayer](#createanimatesymbollayer)
- [createAntPathAnimateImages](#createantpathanimateimages)
- [createAntPathAnimateLineLayer](#createantpathanimatelinelayer)
- [createArrowAnimateImages](#createarrowanimateimages)
- [createArrowAnimateLineLayer](#createarrowanimatelinelayer)
- [createFrameAnimation](#createframeanimation)
- [createLineGeoJson](#createlinegeojson)
- [createMarker](#createmarker)
- [createObjectOffset](#createobjectoffset)
- [createObjectPolygonUtil](#createobjectpolygonutil)
- [createPointGeoJson](#createpointgeojson)
- [createPolygonGeoJson](#createpolygongeojson)
- [degToRad](#degtorad)
- [entColorToHtmlColor](#entcolortohtmlcolor)
- [equals](#equals)
- [findShortestPath](#findshortestpath)
- [geoBounds](#geobounds)
- [geoPoint](#geopoint)
- [getCircleFeature](#getcirclefeature)
- [getCirclePolygonCoordinates](#getcirclepolygoncoordinates)
- [getEllipseFeature](#getellipsefeature)
- [getEllipsePolygonCoordinates](#getellipsepolygoncoordinates)
- [getEnvelopBounds](#getenvelopbounds)
- [getGeoBounds](#getgeobounds)
- [getOptionValue](#getoptionvalue)
- [getTempMapId](#gettempmapid)
- [hexToBinStr](#hextobinstr)
- [htmlColorToEntColor](#htmlcolortoentcolor)
- [interpolateLineRange](#interpolatelinerange)
- [interpolatePointsByRatio](#interpolatepointsbyratio)
- [isClosedPolygon](#isclosedpolygon)
- [isCounterClockwise](#iscounterclockwise)
- [isGeoPointLike](#isgeopointlike)
- [isPointInPolygon](#ispointinpolygon)
- [isZero](#iszero)
- [kebabCase](#kebabcase)
- [lineSplit](#linesplit)
- [metersPerPixel](#metersperpixel)
- [multiLineSplit](#multilinesplit)
- [offsetPointLine](#offsetpointline)
- [offsetPoints](#offsetpoints)
- [openMapDarkStyle](#openmapdarkstyle)
- [openMapLightStyle](#openmaplightstyle)
- [pick](#pick)
- [pixelValue](#pixelvalue)
- [pointToSegmentDistance](#pointtosegmentdistance)
- [polygonCentroid](#polygoncentroid)
- [polygonIsClockwise](#polygonisclockwise)
- [polylineMarginToPolygon](#polylinemargintopolygon)
- [radToDeg](#radtodeg)
- [randInt](#randint)
- [randomColor](#randomcolor)
- [segmentIntersect](#segmentintersect)
- [simplify](#simplify)
- [syncMaps](#syncmaps)
- [toRadian](#toradian)
- [upperCamelCase](#uppercamelcase)
- [utf8ToUnicode](#utf8tounicode)
- [vectorContour](#vectorcontour)

## References

### Draw

Re-exports: [Draw](#draw)

___

### angle

Re-exports: [angle](#angle)

___

### anticipate

Re-exports: [anticipate](#anticipate)

___

### applyOffset

Re-exports: [applyOffset](#applyoffset)

___

### attract

Re-exports: [attract](#attract)

___

### attractExpo

Re-exports: [attractExpo](#attractexpo)

___

### backIn

Re-exports: [backIn](#backin)

___

### backInOut

Re-exports: [backInOut](#backinout)

___

### backOut

Re-exports: [backOut](#backout)

___

### bezierCurveToPolyline

Re-exports: [bezierCurveToPolyline](#beziercurvetopolyline)

___

### bounceIn

Re-exports: [bounceIn](#bouncein)

___

### bounceInOut

Re-exports: [bounceInOut](#bounceinout)

___

### bounceOut

Re-exports: [bounceOut](#bounceout)

___

### circIn

Re-exports: [circIn](#circin)

___

### circInOut

Re-exports: [circInOut](#circinout)

___

### circOut

Re-exports: [circOut](#circout)

___

### clamp

Re-exports: [clamp](#clamp)

___

### createAnimation

Re-exports: [createAnimation](#createanimation)

___

### createAnticipate

Re-exports: [createAnticipate](#createanticipate)

___

### createAttractor

Re-exports: [createAttractor](#createattractor)

___

### createBackIn

Re-exports: [createBackIn](#createbackin)

___

### createExpoIn

Re-exports: [createExpoIn](#createexpoin)

___

### cubicBezier

Re-exports: [cubicBezier](#cubicbezier)

___

### decay

Re-exports: [decay](#decay)

___

### degreesToRadians

Re-exports: [degreesToRadians](#degreestoradians)

___

### distance

Re-exports: [distance](#distance)

___

### easeIn

Re-exports: [easeIn](#easein)

___

### easeInOut

Re-exports: [easeInOut](#easeinout)

___

### easeOut

Re-exports: [easeOut](#easeout)

___

### getBezierCurveLength

Re-exports: [getBezierCurveLength](#getbeziercurvelength)

___

### inertia

Re-exports: [inertia](#inertia)

___

### interpolate

Re-exports: [interpolate](#interpolate)

___

### isPoint

Re-exports: [isPoint](#ispoint)

___

### isPoint3D

Re-exports: [isPoint3D](#ispoint3d)

___

### keyframes

Re-exports: [keyframes](#keyframes)

___

### linear

Re-exports: [linear](#linear)

___

### mirrorEasing

Re-exports: [mirrorEasing](#mirroreasing)

___

### mix

Re-exports: [mix](#mix)

___

### mixColor

Re-exports: [mixColor](#mixcolor)

___

### mixComplex

Re-exports: [mixComplex](#mixcomplex)

___

### pipe

Re-exports: [pipe](#pipe)

___

### pointFromVector

Re-exports: [pointFromVector](#pointfromvector)

___

### polylineToBezierCurve

Re-exports: [polylineToBezierCurve](#polylinetobeziercurve)

___

### progress

Re-exports: [progress](#progress)

___

### radiansToDegrees

Re-exports: [radiansToDegrees](#radianstodegrees)

___

### reverseEasing

Re-exports: [reverseEasing](#reverseeasing)

___

### smooth

Re-exports: [smooth](#smooth)

___

### smoothFrame

Re-exports: [smoothFrame](#smoothframe)

___

### snap

Re-exports: [snap](#snap)

___

### spring

Re-exports: [spring](#spring)

___

### steps

Re-exports: [steps](#steps)

___

### toDecimal

Re-exports: [toDecimal](#todecimal)

___

### velocityPerFrame

Re-exports: [velocityPerFrame](#velocityperframe)

___

### velocityPerSecond

Re-exports: [velocityPerSecond](#velocitypersecond)

___

### wrap

Re-exports: [wrap](#wrap)

## Type aliases

### AnimateMarkerType

Ƭ **AnimateMarkerType**: ``"breathingAperture"`` \| ``"rotatingAperture"`` \| ``"haloRing"`` \| ``"diffusedAperture"`` \| ``"rotatingTextBorder"`` \| ``"fluorescence"``

breathingAperture 呼吸的光圈.
rotatingAperture 旋转的光环
haloRing 发光的光环
diffusedAperture 扩散的点
rotatingTextBorder 旋转的文本框
fluorescence 荧光点

___

### AnimationOps

Ƭ **AnimationOps**<V\>: [*PlaybackOptions*](#interfacesdefaultplaybackoptionsmd)<V\> & [*DecayOptions*](#interfacesdefaultdecayoptionsmd) \| [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd)<V\> \| [*SpringOptions*](#interfacesdefaultspringoptionsmd)

#### Type parameters

| Name |
| :------ |
| `V` |

___

### BackgroundLayerSpecification

Ƭ **BackgroundLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.background-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.background-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.background-pattern?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `type` | ``"background"`` |

___

### CameraFunctionSpecificationEx

Ƭ **CameraFunctionSpecificationEx**<T\>: { `stops`: [*number*, T][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, T][] ; `type`: ``"interval"``  }

#### Type parameters

| Name |
| :------ |
| `T` |

___

### CircleLayerSpecification

Ƭ **CircleLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.circle-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.circle-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.circle-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.circle-pitch-scale?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.circle-radius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-stroke-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.circle-stroke-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-stroke-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.circle-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"circle"`` |

___

### CircleLayerStyleProp

Ƭ **CircleLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `circleBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `circleOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circlePitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `circlePitchScale?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `circleRadius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleStrokeColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `circleStrokeOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleStrokeWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `circleTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### ColorSpecification

Ƭ **ColorSpecification**: *string*

___

### CompositeFunctionSpecification

Ƭ **CompositeFunctionSpecification**<T\>: { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, T][] ; `type`: ``"exponential"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, T][] ; `type`: ``"interval"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, T][] ; `type`: ``"categorical"``  }

#### Type parameters

| Name |
| :------ |
| `T` |

___

### DataDrivenPropertyValueSpecification

Ƭ **DataDrivenPropertyValueSpecification**<T\>: T \| [*CameraFunctionSpecificationEx*](#camerafunctionspecificationex)<T\> \| [*SourceFunctionSpecification*](#sourcefunctionspecification)<T\> \| [*CompositeFunctionSpecification*](#compositefunctionspecification)<T\> \| [*ExpressionSpecificationEx*](#expressionspecificationex)

#### Type parameters

| Name |
| :------ |
| `T` |

___

### Driver

Ƭ **Driver**: (`update`: Update) => [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

#### Type declaration

▸ (`update`: Update): [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

#### Parameters

| Name | Type |
| :------ | :------ |
| `update` | Update |

**Returns:** [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

___

### Easing

Ƭ **Easing**: (`v`: *number*) => *number*

#### Type declaration

▸ (`v`: *number*): *number*

#### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

### EasingModifier

Ƭ **EasingModifier**: (`easing`: [*Easing*](#easing)) => [*Easing*](#easing)

#### Type declaration

▸ (`easing`: [*Easing*](#easing)): [*Easing*](#easing)

#### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

### ExpressionSpecificationEx

Ƭ **ExpressionSpecificationEx**: *unknown*[]

___

### FillExtrusionLayerSpecification

Ƭ **FillExtrusionLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.fill-extrusion-base?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-extrusion-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-extrusion-height?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-extrusion-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.fill-extrusion-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.fill-extrusion-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.fill-extrusion-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.fill-extrusion-vertical-gradient?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"fill-extrusion"`` |

___

### FillExtrusionLayerStyleProp

Ƭ **FillExtrusionLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `fillExtrusionBase?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillExtrusionColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillExtrusionHeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillExtrusionOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `fillExtrusionPattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `fillExtrusionTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `fillExtrusionTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `fillExtrusionVerticalGradient?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### FillLayerSpecification

Ƭ **FillLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.fill-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.fill-antialias?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `paint.fill-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-outline-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.fill-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.fill-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"fill"`` |

___

### FillLayerStyleProp

Ƭ **FillLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `fillAntialias?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `fillColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillOutlineColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillPattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `fillSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `fillTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### FilterSpecification

Ƭ **FilterSpecification**: [``"has"``, *string*] \| [``"!has"``, *string*] \| [``"=="``, *string*, *string* \| *number* \| *boolean*] \| [``"!="``, *string*, *string* \| *number* \| *boolean*] \| [``">"``, *string*, *string* \| *number* \| *boolean*] \| [``">="``, *string*, *string* \| *number* \| *boolean*] \| [``"<"``, *string*, *string* \| *number* \| *boolean*] \| [``"<="``, *string*, *string* \| *number* \| *boolean*] \| (*string* \| [*FilterSpecification*](#filterspecification))[]

___

### FogSpecification

Ƭ **FogSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `horizon-blend?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `range?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

___

### FormattedSpecification

Ƭ **FormattedSpecification**: *string*

___

### GeoJSONSourceSpecification

Ƭ **GeoJSONSourceSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `buffer?` | *number* |
| `cluster?` | *boolean* |
| `clusterMaxZoom?` | *number* |
| `clusterMinPoints?` | *number* |
| `clusterProperties?` | *unknown* |
| `clusterRadius?` | *number* |
| `data?` | *unknown* |
| `filter?` | *unknown* |
| `generateId?` | *boolean* |
| `lineMetrics?` | *boolean* |
| `maxzoom?` | *number* |
| `promoteId?` | [*PromoteIdSpecificationEx*](#promoteidspecificationex) |
| `tolerance?` | *number* |
| `type` | ``"geojson"`` |

___

### GeoPointLike

Ƭ **GeoPointLike**: [*number*, *number*] \| [*number*, *number*, *number*] \| [*GeoPoint*](#classesdefaultgeopointmd) \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  }

___

### HeatmapLayerSpecification

Ƭ **HeatmapLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.heatmap-color?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.heatmap-intensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.heatmap-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.heatmap-radius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.heatmap-weight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"heatmap"`` |

___

### HeatmapLayerStyleProp

Ƭ **HeatmapLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `heatmapColor?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `heatmapIntensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `heatmapOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `heatmapRadius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `heatmapWeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### HillshadeLayerSpecification

Ƭ **HillshadeLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.hillshade-accent-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.hillshade-exaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.hillshade-highlight-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.hillshade-illumination-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.hillshade-illumination-direction?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.hillshade-shadow-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"hillshade"`` |

___

### HillshadeLayerStyleProp

Ƭ **HillshadeLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `hillshadeAccentColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `hillshadeExaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `hillshadeHighlightColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `hillshadeIlluminationAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `hillshadeIlluminationDirection?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `hillshadeShadowColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### IDbPoint

Ƭ **IDbPoint**: [*number*, *number*, number?]

坐标类型接口

___

### ImageSourceSpecification

Ƭ **ImageSourceSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `coordinates` | [[*number*, *number*], [*number*, *number*], [*number*, *number*], [*number*, *number*]] |
| `type` | ``"image"`` |
| `url` | *string* |

___

### LayerCallback

Ƭ **LayerCallback**: (`arg0`: {}) => *void*

#### Type declaration

▸ (`arg0`: {}): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | *object* |

**Returns:** *void*

___

### LayerRef

Ƭ **LayerRef**: *string* \| *string*[] \| RegExp \| (`arg0`: [*LayerSpecification*](#layerspecification)) => *boolean*

___

### LayerRefFunc

Ƭ **LayerRefFunc**: (`arg0`: [*LayerRef*](#layerref), ...`args`: *any*[]) => *void*

#### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), ...`args`: *any*[]): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `...args` | *any*[] |

**Returns:** *void*

___

### LayerRefFunc0

Ƭ **LayerRefFunc0**: (`arg0`: [*LayerRef*](#layerref)) => *void*

#### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref)): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |

**Returns:** *void*

___

### LayerRefFunc1

Ƭ **LayerRefFunc1**<T1\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1) => *void*

#### Type parameters

| Name |
| :------ |
| `T1` |

#### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |

**Returns:** *void*

___

### LayerRefFunc2

Ƭ **LayerRefFunc2**<T1, T2\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2) => *void*

#### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |

#### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |
| `arg2` | T2 |

**Returns:** *void*

___

### LayerRefFunc3

Ƭ **LayerRefFunc3**<T1, T2, T3\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2, `arg3`: T3) => *void*

#### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |
| `T3` |

#### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2, `arg3`: T3): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |
| `arg2` | T2 |
| `arg3` | T3 |

**Returns:** *void*

___

### LayerSpecification

Ƭ **LayerSpecification**: [*FillLayerSpecification*](#filllayerspecification) \| [*LineLayerSpecification*](#linelayerspecification) \| [*SymbolLayerSpecification*](#symbollayerspecification) \| [*CircleLayerSpecification*](#circlelayerspecification) \| [*HeatmapLayerSpecification*](#heatmaplayerspecification) \| [*FillExtrusionLayerSpecification*](#fillextrusionlayerspecification) \| [*RasterLayerSpecification*](#rasterlayerspecification) \| [*HillshadeLayerSpecification*](#hillshadelayerspecification) \| [*BackgroundLayerSpecification*](#backgroundlayerspecification) \| [*SkyLayerSpecification*](#skylayerspecification)

___

### LightSpecification

Ƭ **LightSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `intensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `position?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*]\> |

___

### LineLayerSpecification

Ƭ **LineLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.line-cap?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |
| `layout.line-join?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"bevel"`` \| ``"round"`` \| ``"miter"``\> |
| `layout.line-miter-limit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.line-round-limit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.line-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.line-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.line-dasharray?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |
| `paint.line-gap-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-gradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.line-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.line-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.line-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.line-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"line"`` |

___

### LineLayerStyleProp

Ƭ **LineLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `lineBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineCap?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |
| `lineColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `lineDasharray?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |
| `lineGapWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineGradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `lineJoin?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"bevel"`` \| ``"round"`` \| ``"miter"``\> |
| `lineMiterMimit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `lineOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `linePattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `lineRoundLimit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `lineSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `lineTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `lineWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### OffHandler

Ƭ **OffHandler**: () => *void*

#### Type declaration

▸ (): *void*

**Returns:** *void*

___

### PromoteIdSpecificationEx

Ƭ **PromoteIdSpecificationEx**: *Record*<string, string\> \| *string*

___

### PropName

Ƭ **PropName**: *string*

___

### PropValue

Ƭ **PropValue**: *string* \| *any*[] \| ``null`` \| *number* \| {}

___

### PropertyValueSpecificationEx

Ƭ **PropertyValueSpecificationEx**<T\>: T \| [*CameraFunctionSpecificationEx*](#camerafunctionspecificationex)<T\> \| [*ExpressionSpecificationEx*](#expressionspecificationex)

#### Type parameters

| Name |
| :------ |
| `T` |

___

### RasterDEMSourceSpecification

Ƭ **RasterDEMSourceSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `encoding?` | ``"terrarium"`` \| ``"mapbox"`` |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `tileSize?` | *number* |
| `tiles?` | *string*[] |
| `type` | ``"raster-dem"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

### RasterLayerSpecification

Ƭ **RasterLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.raster-brightness-max?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-brightness-min?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-contrast?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-fade-duration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-hue-rotate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-resampling?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"linear"`` \| ``"nearest"``\> |
| `paint.raster-saturation?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"raster"`` |

___

### RasterLayerStyleProp

Ƭ **RasterLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `rasterBrightnessMax?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterBrightnessMin?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterContrast?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterFadeDuration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterHueRotate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterResampling?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"linear"`` \| ``"nearest"``\> |
| `rasterSaturation?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### RasterSourceSpecification

Ƭ **RasterSourceSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `scheme?` | ``"xyz"`` \| ``"tms"`` |
| `tileSize?` | *number* |
| `tiles?` | *string*[] |
| `type` | ``"raster"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

### ResolvedImageSpecification

Ƭ **ResolvedImageSpecification**: *string*

___

### SkyLayerSpecification

Ƭ **SkyLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.sky-atmosphere-color?` | [*ColorSpecification*](#colorspecification) |
| `paint.sky-atmosphere-halo-color?` | [*ColorSpecification*](#colorspecification) |
| `paint.sky-atmosphere-sun?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.sky-atmosphere-sun-intensity?` | *number* |
| `paint.sky-gradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.sky-gradient-center?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.sky-gradient-radius?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.sky-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.sky-type?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\> |
| `type` | ``"sky"`` |

___

### SourceBoundUtils

Ƭ **SourceBoundUtils**: [*MapGlUtils*](#classesdefaultmapglutilsmd)

___

### SourceFunctionSpecification

Ƭ **SourceFunctionSpecification**<T\>: { `default?`: T ; `property`: *string* ; `stops`: [*number*, T][] ; `type`: ``"exponential"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [*number*, T][] ; `type`: ``"interval"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, T][] ; `type`: ``"categorical"``  } \| { `default?`: T ; `property`: *string* ; `type`: ``"identity"``  }

#### Type parameters

| Name |
| :------ |
| `T` |

___

### SourceOrData

Ƭ **SourceOrData**: [*SourceSpecification*](#sourcespecification) \| *string* \| GeoJsonGeomertry

___

### SourceRef

Ƭ **SourceRef**: [*LayerRef*](#layerref)

___

### SourceRefFunc0

Ƭ **SourceRefFunc0**: (`arg0`: [*SourceRef*](#sourceref)) => *void*

#### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref)): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |

**Returns:** *void*

___

### SourceRefFunc1

Ƭ **SourceRefFunc1**<T1\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1) => *void*

#### Type parameters

| Name |
| :------ |
| `T1` |

#### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |

**Returns:** *void*

___

### SourceRefFunc2

Ƭ **SourceRefFunc2**<T1, T2\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2) => *void*

#### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |

#### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |
| `arg2` | T2 |

**Returns:** *void*

___

### SourceRefFunc3

Ƭ **SourceRefFunc3**<T1, T2, T3\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2, `arg3`: T3) => *void*

#### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |
| `T3` |

#### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2, `arg3`: T3): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |
| `arg2` | T2 |
| `arg3` | T3 |

**Returns:** *void*

___

### SourceSpecification

Ƭ **SourceSpecification**: [*VectorSourceSpecification*](#vectorsourcespecification) \| [*RasterSourceSpecification*](#rastersourcespecification) \| [*RasterDEMSourceSpecification*](#rasterdemsourcespecification) \| [*GeoJSONSourceSpecification*](#geojsonsourcespecification) \| [*VideoSourceSpecification*](#videosourcespecification) \| [*ImageSourceSpecification*](#imagesourcespecification)

___

### StyleSpecification

Ƭ **StyleSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `bearing?` | *number* |
| `center?` | *number*[] |
| `fog?` | [*FogSpecification*](#fogspecification) |
| `glyphs?` | *string* |
| `layers` | [*LayerSpecification*](#layerspecification)[] |
| `light?` | [*LightSpecification*](#lightspecification) |
| `metadata?` | *unknown* |
| `name?` | *string* |
| `pitch?` | *number* |
| `sources` | *Record*<string, [*SourceSpecification*](#sourcespecification)\> |
| `sprite?` | *string* |
| `terrain?` | [*TerrainSpecificationEx*](#terrainspecificationex) |
| `transition?` | [*TransitionSpecification*](#transitionspecification) |
| `version` | ``8`` |
| `zoom?` | *number* |

___

### SymbolLayerSpecification

Ƭ **SymbolLayerSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.icon-allow-overlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-anchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `layout.icon-ignore-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-image?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `layout.icon-keep-upright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `layout.icon-optional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.icon-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.icon-rotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.icon-rotation-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.icon-size?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.icon-text-fit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |
| `layout.icon-text-fit-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |
| `layout.symbol-avoid-edges?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.symbol-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"point"`` \| ``"line"`` \| ``"line-center"``\> |
| `layout.symbol-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.symbol-spacing?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.symbol-z-order?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"auto"`` \| ``"viewport-y"`` \| ``"source"``\> |
| `layout.text-allow-overlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-anchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `layout.text-field?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*FormattedSpecification*](#formattedspecification)\> |
| `layout.text-font?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |
| `layout.text-ignore-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-justify?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"auto"`` \| ``"left"`` \| ``"center"`` \| ``"right"``\> |
| `layout.text-keep-upright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-letter-spacing?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-line-height?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-max-angle?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.text-max-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `layout.text-optional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.text-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.text-radial-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-rotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-rotation-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.text-size?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-transform?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |
| `layout.text-variable-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``)[]\> |
| `layout.text-writing-mode?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"horizontal"`` \| ``"vertical"``)[]\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.icon-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.icon-halo-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-halo-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.icon-halo-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.icon-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.text-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.text-halo-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-halo-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.text-halo-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.text-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"symbol"`` |

___

### SymbolLayerStyleProp

Ƭ **SymbolLayerStyleProp**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `iconAllowOverlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconAnchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `iconColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `iconHaloBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconHaloColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `iconHaloWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconIgnorePlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconImage?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `iconKeepUpright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `iconOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconOptional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `iconPitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `iconRotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconRotationAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `iconSize?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconTextFit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |
| `iconTextFitPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |
| `iconTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `iconTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `symbolAvoidEdges?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `symbolPlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"point"`` \| ``"line"`` \| ``"line-center"``\> |
| `symbolSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `symbolSpacing?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `symbolZOrder?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"auto"`` \| ``"viewport-y"`` \| ``"source"``\> |
| `textAllowOverlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textAnchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `textColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `textField?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*FormattedSpecification*](#formattedspecification)\> |
| `textFont?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |
| `textHaloBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textHaloColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `textHaloWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textIgnorePlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textJustify?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"auto"`` \| ``"left"`` \| ``"center"`` \| ``"right"``\> |
| `textKeepUpright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textLetterSpacing?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textLineHeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textMaxAngle?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `textMaxWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `textOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textOptional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `textPitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `textRadialOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textRotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textRotationAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `textSize?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textTransform?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |
| `textTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `textTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `textVariableAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``)[]\> |
| `textWritingMode?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"horizontal"`` \| ``"vertical"``)[]\> |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

### TerrainSpecificationEx

Ƭ **TerrainSpecificationEx**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `exaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source` | *string* |

___

### TransitionSpecification

Ƭ **TransitionSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `delay?` | *number* |
| `duration?` | *number* |

___

### VectorSourceSpecification

Ƭ **VectorSourceSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `promoteId?` | [*PromoteIdSpecificationEx*](#promoteidspecificationex) |
| `scheme?` | ``"xyz"`` \| ``"tms"`` |
| `tiles?` | *string*[] |
| `type` | ``"vector"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

### VideoSourceSpecification

Ƭ **VideoSourceSpecification**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `coordinates` | [[*number*, *number*], [*number*, *number*], [*number*, *number*], [*number*, *number*]] |
| `type` | ``"video"`` |
| `urls` | *string*[] |

___

### mat2dtype

Ƭ **mat2dtype**: [*number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

### mat2type

Ƭ **mat2type**: [*number*, *number*, *number*, *number*] \| Float32Array

___

### mat3type

Ƭ **mat3type**: [*number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

### mat4type

Ƭ **mat4type**: [*number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

### quattype

Ƭ **quattype**: [*number*, *number*, *number*, *number*] \| Float32Array

___

### vec2type

Ƭ **vec2type**: [*number*, *number*] \| Float32Array

___

### vec3type

Ƭ **vec3type**: [*number*, *number*, *number*] \| Float32Array

___

### vec4type

Ƭ **vec4type**: [*number*, *number*, *number*, *number*] \| Float32Array

## Variables

### EPSILON

• `Const` **EPSILON**: ``1e-8``= 0.00000001

___

### EVENTS

• `Const` **EVENTS**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `ABORT` | *string* |
| `ERROR` | *string* |
| `LOAD` | *string* |
| `LOAD_END` | *string* |
| `LOAD_START` | *string* |
| `PROGRESS` | *string* |
| `READY_STATE_CHANGE` | *string* |
| `TIMEOUT` | *string* |

___

### METHODS

• `Const` **METHODS**: [*Methods*](#interfacesdefaultmethodsmd)

___

### httpHelper

• `Const` **httpHelper**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `configure` | (`opts`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *void* |
| `del` | (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `event` | *object* |
| `event.ABORT` | *string* |
| `event.ERROR` | *string* |
| `event.LOAD` | *string* |
| `event.LOAD_END` | *string* |
| `event.LOAD_START` | *string* |
| `event.PROGRESS` | *string* |
| `event.READY_STATE_CHANGE` | *string* |
| `event.TIMEOUT` | *string* |
| `get` | (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `methods` | [*Methods*](#interfacesdefaultmethodsmd) |
| `options` | (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `patch` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `post` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `put` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `rqeust` | (`args`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |

___

### transform

• `Const` **transform**: *object*

#### Type declaration

| Name | Type |
| :------ | :------ |
| `CRSTypes` | *typeof* CRSTypes |
| `EpsgCrsTypes` | *typeof* EpsgCrsTypes |
| `convert` | <T\>(`input`: T \| *string*, `crsFrom`: (`pt`: [*GeoPoint*](#classesdefaultgeopointmd)) => [*GeoPoint*](#classesdefaultgeopointmd) \| CRSTypes, `crsTo?`: CRSTypes) => T |
| `getEpsgCode` | (`coordinate`: *number* \| [*number*, *number*], `crs?`: EpsgCrsTypes, `is3DegreeBelt?`: *boolean*) => { `crs`: *string* ; `epsg`: *string* ; `is3DegreeBelt`: *boolean* ; `proj`: *undefined* \| *string*  }[] |
| `getEpsgParam` | (`crs`: EpsgCrsTypes, `lon?`: *number*) => ``null`` \| { `epsg`: *string* ; `proj`: *string*  } |

## Functions

### Graph

▸ **Graph**(`serialized?`: Serialized): *object*

具有深度优先搜索和拓扑排序的图数据结构。

**`example`**
var graph = Graph()
.addEdge("s", "t", 10)
.addEdge("s", "y", 5)
.addEdge("s", "y", 4)
.addEdge("t", "y", 2)
.addEdge("y", "t", 3)
.addEdge("t", "x", 1)
.addEdge("y", "x", 9)
.addEdge("y", "z", 2)
.addEdge("x", "z", 4)
.addEdge("z", "x", 6);
var res = graph.shortestPath("s", "z")

#### Parameters

| Name | Type |
| :------ | :------ |
| `serialized?` | Serialized |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `addEdge` | (`u`: NodeId, `v`: NodeId, `weight?`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `addNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `adjacent` | (`node`: NodeId) => NodeId[] |
| `depthFirstSearch` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*, `errorOnCycle`: *boolean*) => *string*[] |
| `deserialize` | (`serialized`: Serialized) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `getEdgeWeight` | (`u`: NodeId, `v`: NodeId) => EdgeWeight |
| `hasCycle` | () => *boolean* |
| `hasEdge` | (`u`: NodeId, `v`: NodeId) => *boolean* |
| `indegree` | (`node`: NodeId) => *number* |
| `lowestCommonAncestors` | (`node1`: NodeId, `node2`: NodeId) => *string*[] |
| `nodes` | () => NodeId[] |
| `outdegree` | (`node`: NodeId) => *number* |
| `removeEdge` | (`u`: NodeId, `v`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `removeNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `serialize` | () => Serialized |
| `setEdgeWeight` | (`u`: NodeId, `v`: NodeId, `weight`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `shortestPath` | (`source`: NodeId, `destination`: NodeId) => *string*[] & { `weight?`: *number*  } |
| `topologicalSort` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*) => *string*[] |

___

### RandomID

▸ **RandomID**(`length?`: *number*): *string*

生成随机ID

#### Parameters

| Name | Type |
| :------ | :------ |
| `length?` | *number* |

**Returns:** *string*

___

### Scene

▸ **Scene**(`L7`: *any*, `map`: Map, `option?`: *object*): *object*

L7图层，可参考https://l7.antv.vision/.
返回一个场景对象

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `L7` | *any* | L7命名空间 |
| `map` | Map |  |
| `option?` | *object* |  |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `addControl` | (`ctr`: *any*) => *void* |
| `addFontFace` | (`fontFamily`: *string*, `fontPath`: *string*) => *void* |
| `addIconFont` | (`name`: *string*, `fontUnicode`: *string*) => *void* |
| `addIconFontGlyphs` | (`fontFamily`: *string*, `glyphs`: *any*[]) => *void* |
| `addIconFonts` | (`options`: *string*[][]) => *void* |
| `addImage` | (`id`: *string*, `img`: *any*) => *void* |
| `addLayer` | (`layer`: *any*) => *void* |
| `addMarker` | (`marker`: *any*) => *void* |
| `addMarkerLayer` | (`layer`: *any*) => *void* |
| `addPopup` | (`popup`: *any*) => *void* |
| `containerToLngLat` | (`pixel`: *any*) => *any* |
| `destroy` | () => *void* |
| `diasbleShaderPick` | () => *void* |
| `enableShaderPick` | () => *void* |
| `exportMap` | (`type?`: ``"png"`` \| ``"jpg"``) => *string* |
| `exportPng` | (`type?`: ``"png"`` \| ``"jpg"``) => *string* |
| `fitBounds` | (`bound`: *any*, `options?`: *unknown*) => *void* |
| `getBounds` | () => *any* |
| `getCenter` | (`options?`: *any*) => *any* |
| `getContainer` | () => ``null`` \| HTMLElement |
| `getControlByName` | (`name`: *string*) => *any* |
| `getLayer` | (`id`: *string*) => *any* |
| `getLayerByName` | (`name`: *string*) => *any* |
| `getLayers` | () => *any*[] |
| `getMapCanvasContainer` | () => HTMLElement |
| `getMapContainer` | () => ``null`` \| HTMLElement |
| `getMapService` | () => *any* |
| `getMaxZoom` | () => *number* |
| `getMinZoom` | () => *number* |
| `getPitch` | () => *number* |
| `getPointSizeRange` | () => *Float32Array* |
| `getRotation` | () => *number* |
| `getServiceContainer` | () => *any* |
| `getSize` | () => [*number*, *number*] |
| `getType` | () => *string* |
| `getZoom` | () => *number* |
| `hasImage` | (`id`: *string*) => *boolean* |
| `lngLatToContainer` | (`lnglat`: *any*) => *any* |
| `lngLatToPixel` | (`lnglat`: *any*) => *any* |
| `off` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `on` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `once` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `panBy` | (`x`: *number*, `y`: *number*) => *void* |
| `panTo` | (`p`: *any*) => *void* |
| `pixelToLngLat` | (`pixel`: *any*) => *any* |
| `registerPostProcessingPass` | (`constructor`: (...`args`: *any*[]) => *any*, `name`: *string*) => *void* |
| `registerRenderService` | (`render`: *any*) => *void* |
| `removeAllLayer` | () => *void* |
| `removeAllMakers` | () => *void* |
| `removeControl` | (`ctr`: *any*) => *void* |
| `removeImage` | (`id`: *string*) => *void* |
| `removeLayer` | (`layer`: *any*, `parentLayer?`: *any*) => *void* |
| `removeMarkerLayer` | (`layer`: *any*) => *void* |
| `render` | () => *void* |
| `setBgColor` | (`color`: *string*) => *void* |
| `setCenter` | (`center`: [*number*, *number*], `options?`: *any*) => *void* |
| `setEnableRender` | (`flag`: *boolean*) => *void* |
| `setMapStatus` | (`options`: *Partial*<any\>) => *void* |
| `setMapStyle` | (`style`: *any*) => *void* |
| `setPitch` | (`pitch`: *number*) => *void* |
| `setRotation` | (`rotation`: *number*) => *void* |
| `setZoom` | (`zoom`: *number*) => *void* |
| `setZoomAndCenter` | (`zoom`: *number*, `center`: *any*) => *void* |
| `zoomIn` | () => *void* |
| `zoomOut` | () => *void* |

___

### WorkerExpose

▸ **WorkerExpose**(`target`: *any*): *void*

#### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *any* |

**Returns:** *void*

___

### WorkerLink

▸ **WorkerLink**(`worker`: Worker): *any*

和一个Worker相关联

#### Parameters

| Name | Type |
| :------ | :------ |
| `worker` | Worker |

**Returns:** *any*

___

### WorkerProxy

▸ **WorkerProxy**(`obj`: Function \| *string*, `funcContext?`: *Record*<string, Function \| string\>): Function

将独立函数/类移动到工作线程的一种非常简单的方法。 或者，将 worker 中的对象或函数暴露给主线程。 所有调用都是异步的。与 async/await 配合使用效果很好

Example:
```typescript
function busyAdd(a, b) {
 let st = Date.now();
 while (true) {
   if ((Date.now() - st) > 2000) break;
 }
 return a + b;
}

(async () => {
 let workerAdd = vjmap.WorkerProxy(busyAdd);
 console.log(await workerAdd(10, 20)); //30
 // the busyAdd is executed in a worker so
 // the UI does not get blocked
})();

class Adder {
constructor() {
  this.count = 0;
}
add(a, b) {
 this.count++;
  return a + b;
}
}

(async () => {
let WAdder = vjmap.WorkerProxy(Adder);
let a = await new WAdder(); // instance created/running in worker
console.log(await a.count); // 0
console.log(await a.add(10, 20)); // 30
console.log(await a.count); // 1
})();

// or:
// worker.js

importScripts('https://cdn.jsdelivr.net/npm/moment@2.20.1/moment.min.js', '../dist/workly.js');
function friendlyTime(value) {
return moment(value).calendar(null, {
  sameDay: function (now) {
   if (now - this < 1000 * 60) {
      return "[Just now]";
   } else if (now - this < 1000 * 60 * 60) {
      return "[" + Math.round((now - this) / (1000 * 60)) + " mins ago]";
   } else {
     return '[Today at] LT'
   }
 }
});
}
vjmap.WorkerExpose(friendlyTime);
main.js

(async () => {
let w = vjmap.WorkerProxy("./worker.js");
let now = Date.now();
console.log(now);
console.log(await w(now));
console.log(await w(now - (24 * 60 * 60 * 1000)));
console.log(await w(now - (4 * 24 * 60 * 60 * 1000)));
})();

 function randAdd(a, b) {
     return randInt(a, b)  + 1000; // randInt这个函数是上下文传递进来的
 }

let randAddFunc = vjmap.WorkerProxy(randAdd, {
   randInt: vjmap.randInt // 把主进程库的函数做为上下文传进去
});
console.log(await randAddFunc(100, 300));
```

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `obj` | Function \| *string* |  |
| `funcContext?` | *Record*<string, Function \| string\> | 函数上下文，如果传入的obj是函数的话，需要把obj中函数里调用的函数名称和函数方法传进来 |

**Returns:** Function

___

### \_getEdgeIntersection

▸ **_getEdgeIntersection**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `code`: *number*, `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `code` | *number* |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

### addScript

▸ **addScript**(`scripts`: [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd) \| [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd)[]): *Promise*<unknown[]\>

将脚本注入.
脚本选项信息:
  `strategy`: 用于运行 JavaScript 的策略。可以是`inject`、`eval` 或`href`。默认自动检测.
  `injectLocation`: 用于注入资源的位置的 `document.querySelector` 参数。默认为 `head`.
  `async`: 异步加载脚本
  `src`: 脚本的来源

**`method`**

**`async`**

**`example`**
// you can add multiple loads
awit addScript([{
 src: "https://code.jquery.com/jquery-3.5.0.js"
}, {
 src: "https://code.jquery.com/jquery-3.2.0.js",
 async: true
}, {
 src: "https://code.jquery.com/jquery-3.3.0.js",
 async: true,
 injectLocation: '#main div.test',
}, {
 src: "https://code.jquery.com/jquery-3.4.0.js",
 strategy: 'eval',
}, {
// link tag
// css autodetected
 src: "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap-grid.min.css",
}])

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `scripts` | [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd) \| [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd)[] | Options for a script |

**Returns:** *Promise*<unknown[]\>

___

### animateVectorLayer

▸ `Const` **animateVectorLayer**(`map`: *Map*, `layerId`: *string*, `options?`: [*IAnimateVectorLayerOptions*](#interfacesdefaultianimatevectorlayeroptionsmd), `layerType?`: *number*): [*IAnimateVectorLayerResult*](#interfacesdefaultianimatevectorlayerresultmd)

创建矢量图层动画图层

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | *Map* | - | 地图对象 |
| `layerId` | *string* | - | 矢量图层id |
| `options` | [*IAnimateVectorLayerOptions*](#interfacesdefaultianimatevectorlayeroptionsmd) | {} | 选项 |
| `layerType?` | *number* | - | 图层类型 0 线 1 填充 2 符号点 |

**Returns:** [*IAnimateVectorLayerResult*](#interfacesdefaultianimatevectorlayerresultmd)

___

### applyMixins

▸ **applyMixins**(`derivedCtor`: *any*, `baseCtors`: *any*[]): *void*

Copy methods and properties from one prototype into another.

**`see`** https://www.typescriptlang.org/docs/handbook/mixins.html

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `derivedCtor` | *any* | Class to mix methods and properties into. |
| `baseCtors` | *any*[] | Class to take all methods and properties from. |

**Returns:** *void*

___

### applyMixinsWithoutProperties

▸ **applyMixinsWithoutProperties**(`derivedCtor`: *any*, `baseCtors`: *any*[]): *void*

Copy methods from one prototype into another.

**`see`** https://www.typescriptlang.org/docs/handbook/mixins.html

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `derivedCtor` | *any* | Class to mix methods into. |
| `baseCtors` | *any*[] | Class to take all methods from. |

**Returns:** *void*

___

### bufferConvexPolygon

▸ **bufferConvexPolygon**(`ring`: [*GeoPoint*](#classesdefaultgeopointmd)[], `buffer`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

取一个凸环并通过在其周围应用缓冲区将其向外扩展。 此功能假定环是顺时针缠绕的。

#### Parameters

| Name | Type |
| :------ | :------ |
| `ring` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `buffer` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

### buildTopoGraph

▸ **buildTopoGraph**(`lines`: { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[], `precision?`: *number*, `hasDirection?`: *boolean*): *object*

根据多条多段线，建立topo

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `lines` | { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[] | 坐标，请转成几何坐标，再传入 |
| `precision?` | *number* | 误差，小数点后几位， 以为相同, 如果两个点的坐标距离小于此值，则认为是同一个节点 |
| `hasDirection?` | *boolean* | 是否考虑方向 |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `graph` | *object* |
| `graph.addEdge` | (`u`: NodeId, `v`: NodeId, `weight?`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.addNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.adjacent` | (`node`: NodeId) => NodeId[] |
| `graph.depthFirstSearch` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*, `errorOnCycle`: *boolean*) => *string*[] |
| `graph.deserialize` | (`serialized`: Serialized) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.getEdgeWeight` | (`u`: NodeId, `v`: NodeId) => EdgeWeight |
| `graph.hasCycle` | () => *boolean* |
| `graph.hasEdge` | (`u`: NodeId, `v`: NodeId) => *boolean* |
| `graph.indegree` | (`node`: NodeId) => *number* |
| `graph.lowestCommonAncestors` | (`node1`: NodeId, `node2`: NodeId) => *string*[] |
| `graph.nodes` | () => NodeId[] |
| `graph.outdegree` | (`node`: NodeId) => *number* |
| `graph.removeEdge` | (`u`: NodeId, `v`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.removeNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.serialize` | () => Serialized |
| `graph.setEdgeWeight` | (`u`: NodeId, `v`: NodeId, `weight`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.shortestPath` | (`source`: NodeId, `destination`: NodeId) => *string*[] & { `weight?`: *number*  } |
| `graph.topologicalSort` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*) => *string*[] |
| `topo` | *any* |

, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => NodeId[], shortestPath: (source: NodeId, destination: NodeId) => NodeId[] & {weight?: EdgeWeight}, setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => {topologicalSort: (sourceNodes?: NodeId[], includeSourceNodes?: boolean) => ...[], addNode: (node: NodeId) => any, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => ...[], shortestPath: (source: NodeId, destination: NodeId) => ... & ..., setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => any, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => ...[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => any, ...}, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => NodeId[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => {topologicalSort: (sourceNodes?: NodeId[], includeSourceNodes?: boolean) => ...[], addNode: (node: NodeId) => any, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => ...[], shortestPath: (source: NodeId, destination: NodeId) => ... & ..., setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => any, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => ...[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => any, ...}, ...}}}

___

### buildTransformer

▸ **buildTransformer**(`src`: *number*[], `dest`: *number*[]): *undefined* \| *number*[]

Usage:
```js
const transformer = buildTransformer(
    [10, 44, 100, 44, 100, 300, 10, 300],
    [50, 54, 130, 14, 140, 330, 14, 220]
);
```

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `src` | *number*[] | source four points, [x0, y0, x1, y1, x2, y2, x3, y3] |
| `dest` | *number*[] | destination four points, [x0, y0, x1, y1, x2, y2, x3, y3] |

**Returns:** *undefined* \| *number*[]

transformer If fail, return null/undefined.

___

### buildTransformerMatrix3d

▸ **buildTransformerMatrix3d**(`src`: *number*[], `dest`: *number*[]): *undefined* \| *string*

透视投影转3d css 矩阵
Usage:
```js
const transformer = buildTransformerMatrix3d(
    [10, 44, 100, 44, 100, 300, 10, 300],
    [50, 54, 130, 14, 140, 330, 14, 220]
);
```

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `src` | *number*[] | source four points, [x0, y0, x1, y1, x2, y2, x3, y3] |
| `dest` | *number*[] | destination four points, [x0, y0, x1, y1, x2, y2, x3, y3] |

**Returns:** *undefined* \| *string*

___

### calcPolygonArea

▸ **calcPolygonArea**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *number*

计算多边形面积

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *number*

___

### calculateSignedArea

▸ **calculateSignedArea**(`ring`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *number*

返回多边形的有符号的面积。正区域为外环，具有顺时针绕组。负区域为内环，按逆时针顺序排列。

#### Parameters

| Name | Type |
| :------ | :------ |
| `ring` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *number*

___

### clipPolygon

▸ **clipPolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)[]

根据范围裁剪多边形

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

### clipSegment

▸ **clipSegment**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)[] \| Boolean

根据范围裁剪线段

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[] \| Boolean

___

### cloneDeep

▸ **cloneDeep**<T\>(`obj`: T): T

Deep clone of object.

Like `JSON.parse(JSON.stringify(obj))`, but supports basic javascript types (string, number,
object), `Date` and `RegExp`s and cycles.

Throws error if enounters object with `prototype` assuming that in general class instances
cannot be reliably cloned by generic algorithm.

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | T |

**Returns:** T

___

### closePolygon

▸ **closePolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): [*GeoPoint*](#classesdefaultgeopointmd)[]

闭合多边形

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

points

___

### closestPointOnPolyline

▸ **closestPointOnPolyline**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *object*

点到多段线的最近点

#### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `closestIndex` | *number* |
| `closestLength` | *number* |
| `closestPoint` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `closestPrePointDist` | *number* |

___

### closestPointOnPolylines

▸ **closestPointOnPolylines**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `lines`: [*GeoPoint*](#classesdefaultgeopointmd)[][]): *object*

点到多条线的最近点

#### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `lines` | [*GeoPoint*](#classesdefaultgeopointmd)[][] |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `closestIndex` | *number* |
| `closestLength` | *number* |
| `closestPoint` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `closestPointIndex` | *number* |
| `closestPrePointDist` | *number* |

___

### closestPointOnSegment

▸ **closestPointOnSegment**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `p1`: [*GeoPoint*](#classesdefaultgeopointmd), `p2`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

点到线段的最近点

#### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p1` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p2` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

### coordTransfromByFourParamter

▸ **coordTransfromByFourParamter**(`pt`: [*GeoPoint*](#classesdefaultgeopointmd), `param`: { `dx`: *number* ; `dy`: *number* ; `rotate`: *number* ; `scale`: *number*  }): [*GeoPoint*](#classesdefaultgeopointmd)

通过四参数进行坐标转换

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pt` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `param` | *object* | 四参数 |
| `param.dx` | *number* | - |
| `param.dy` | *number* | - |
| `param.rotate` | *number* | - |
| `param.scale` | *number* | - |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

### coordTransfromByInvFourParamter

▸ **coordTransfromByInvFourParamter**(`pt`: [*GeoPoint*](#classesdefaultgeopointmd), `param`: { `dx`: *number* ; `dy`: *number* ; `rotate`: *number* ; `scale`: *number*  }): [*GeoPoint*](#classesdefaultgeopointmd)

通过四参数反算进行坐标转换

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pt` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `param` | *object* | 四参数 |
| `param.dx` | *number* | - |
| `param.dy` | *number* | - |
| `param.rotate` | *number* | - |
| `param.scale` | *number* | - |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

### coordTransfromGetFourParamter

▸ **coordTransfromGetFourParamter**(`srcArr`: [*GeoPoint*](#classesdefaultgeopointmd)[], `destArr`: [*GeoPoint*](#classesdefaultgeopointmd)[], `isSetRotateZero`: *boolean*, `isConsiderPointOrder?`: *boolean*): *object*

坐标转换得到四参数

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `srcArr` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 原始点数组 |
| `destArr` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 目标点数组 |
| `isSetRotateZero` | *boolean* | 是否设置旋转为零，默认false,如果为true,则只考虑平移和缩放 |
| `isConsiderPointOrder?` | *boolean* | 不考虑点的次序(这样旋转角度方向总是上面，在-180,180之间） |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `dx` | *number* |
| `dy` | *number* |
| `rotate` | *number* |
| `scale` | *number* |

___

### createAnimateFillLayer

▸ **createAnimateFillLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*IAnimateFillLayerOptions*](#interfacesdefaultianimatefilllayeroptionsmd)): [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

创建多边形动画图层

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | Map | - | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | - | 线坐标(lngLat) |
| `options` | [*IAnimateFillLayerOptions*](#interfacesdefaultianimatefilllayeroptionsmd) | {} | 选项 |

**Returns:** [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

___

### createAnimateImages

▸ **createAnimateImages**(`options?`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

创建动画图片集

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) | 选项 |

**Returns:** ImageData[]

___

### createAnimateLineLayer

▸ **createAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建多段线动画图层

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | 线坐标(lngLat) |
| `options?` | [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd) | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

### createAnimateSymbolLayer

▸ **createAnimateSymbolLayer**(`map`: Map, `path`: [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any*, `options?`: [*IAnimateSymbolLayerOptions*](#interfacesdefaultianimatesymbollayeroptionsmd)): [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

创建符号动画图层

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any* | 符号坐标(lngLat) |
| `options?` | [*IAnimateSymbolLayerOptions*](#interfacesdefaultianimatesymbollayeroptionsmd) | 选项 |

**Returns:** [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

___

### createAntPathAnimateImages

▸ **createAntPathAnimateImages**(`options?`: [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)): ImageData[]

创建蚂蚁线动画图像集

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd) | 选项 |

**Returns:** ImageData[]

___

### createAntPathAnimateLineLayer

▸ **createAntPathAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建蚂蚁线动画线图层

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | Map | - | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | - | 线坐标(lngLat) |
| `options` | [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd) | {} | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

### createArrowAnimateImages

▸ **createArrowAnimateImages**(`options?`: [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)): ImageData[]

创建箭头动画图像集

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd) | 选项 |

**Returns:** ImageData[]

___

### createArrowAnimateLineLayer

▸ **createArrowAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建箭头动画线图层

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | 线坐标(lngLat) |
| `options?` | [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd) | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

### createFrameAnimation

▸ **createFrameAnimation**(`callback`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *boolean*, `fps?`: *number*, `stopCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void*): [*FrameAnimation*](#interfacesdefaultframeanimationmd)

创建一个 FrameAnimation 对象来启动和停止你的动画功能.

**`example`**
const count = 0;

const animation = createFrameAnimation(() => {
  context.clearRect(0, 0, width, height);
  context.font = "4rem monospace";
  context.textAlign = 'center';
  context.fillText(count, width / 2, height / 2);

  count++;
});

animation.start();

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `callback` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *boolean* | 处理动画的回调,如果返回true，表示结束动画，返回false表示继续动画， . |
| `fps?` | *number* | 一秒运行多少帧，用来控制速度，如为0，则默认为系统帧率 |
| `stopCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void* | 结束动画的回调，参数表示是取消（true)，还是正常结束(false) |

**Returns:** [*FrameAnimation*](#interfacesdefaultframeanimationmd)

| boolean}

___

### createLineGeoJson

▸ **createLineGeoJson**(`input`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*): GeoJsonGeomertry

创建geoson格式的线

#### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* |

**Returns:** GeoJsonGeomertry

___

### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd)): *Marker*

创建一个Makrer对象，相当于new Marker()

#### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |

**Returns:** *Marker*

___

### createObjectOffset

▸ **createObjectOffset**(): *object*

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `data` | (`vertices`: *any*) => *any* |
| `margin` | (`dist`: *number*) => *any* |
| `offset` | (`dist`: *number*) => *any* |
| `offsetLines` | (`dist`: *number*) => *any* |
| `padding` | (`dist`: *number*) => *any* |

___

### createObjectPolygonUtil

▸ **createObjectPolygonUtil**(): *object*

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `diff` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |
| `intersection` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |
| `union` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |

___

### createPointGeoJson

▸ **createPointGeoJson**(`input`: [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any*): GeoJsonGeomertry

创建geoson格式的点

#### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any* |

**Returns:** GeoJsonGeomertry

___

### createPolygonGeoJson

▸ **createPolygonGeoJson**(`input`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*): GeoJsonGeomertry

创建geoson格式的多边形

#### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* |

**Returns:** GeoJsonGeomertry

___

### degToRad

▸ **degToRad**(`a`: *number*): *number*

角度转弧度

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *number* |

**Returns:** *number*

___

### entColorToHtmlColor

▸ **entColorToHtmlColor**(`color`: *number* \| *string*, `darkMode?`: *boolean*, `alpha?`: *number*): *string*

实体颜色转html颜色

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | *number* \| *string* | 实体颜色 |
| `darkMode?` | *boolean* | 样式是否为暗黑框 |
| `alpha?` | *number* | 透明度的值 |

**Returns:** *string*

___

### equals

▸ **equals**(`a`: *number*, `b`: *number*): *boolean*

Tests whether or not the arguments have approximately the same value, within an absolute
or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less
than or equal to 1.0, and a relative tolerance is used for larger values)

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | The first number to test. |
| `b` | *number* | The second number to test. |

**Returns:** *boolean*

True if the numbers are approximately equal, false otherwise.

___

### findShortestPath

▸ **findShortestPath**(`startPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `endPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `lines`: { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[], `precision?`: *number*, `hasDirection?`: *boolean*): { `endPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  } ; `error`: *undefined* ; `route`: *any*[] ; `routeDetail`: { `index`: *any* ; `points`: *any*[] ; `reverse`: *boolean* = false }[] ; `startPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  }  } \| { `endPoint`: *undefined* ; `error`: *any* ; `route`: *undefined* ; `routeDetail`: *undefined* ; `startPoint`: *undefined*  }

给定所有路线、起始点、终点生成最短路径

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `startPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | 起点 |
| `endPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | 终点 |
| `lines` | { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[] | 坐标，请转成几何坐标，再传入 |
| `precision?` | *number* | 误差，小数点后几位， 以为相同, 如果两个点的坐标距离小于此值，则认为是同一个节点 |
| `hasDirection?` | *boolean* | 是否考虑方向 |

**Returns:** { `endPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  } ; `error`: *undefined* ; `route`: *any*[] ; `routeDetail`: { `index`: *any* ; `points`: *any*[] ; `reverse`: *boolean* = false }[] ; `startPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  }  } \| { `endPoint`: *undefined* ; `error`: *any* ; `route`: *undefined* ; `routeDetail`: *undefined* ; `startPoint`: *undefined*  }

___

### geoBounds

▸ **geoBounds**(`min?`: [*GeoPoint*](#classesdefaultgeopointmd), `max?`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

new一个GeoBounds实例

#### Parameters

| Name | Type |
| :------ | :------ |
| `min?` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `max?` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

### geoPoint

▸ **geoPoint**(`input`: [*GeoPointLike*](#geopointlike)): [*GeoPoint*](#classesdefaultgeopointmd)

new一个GeoPoint实例

#### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

### getCircleFeature

▸ **getCircleFeature**(`center`: [*GeoPointLike*](#geopointlike), `radius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): GeoJsonGeomertry

 得到圆或圆弧的离散化的多边形的geojson的形式

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `radius` | *number* | - | 半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** GeoJsonGeomertry

, type: string, properties: {}}}

___

### getCirclePolygonCoordinates

▸ **getCirclePolygonCoordinates**(`center`: [*GeoPointLike*](#geopointlike), `radius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): *number*[][]

 得到圆或圆弧的离散化的多边形的点

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `radius` | *number* | - | 半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** *number*[][]

___

### getEllipseFeature

▸ **getEllipseFeature**(`center`: [*GeoPointLike*](#geopointlike), `majorAxisRadius`: *number*, `minorAxisRadius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): GeoJsonGeomertry

 得到圆或圆弧的离散化的多边形的geojson的形式

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `majorAxisRadius` | *number* | - | - |
| `minorAxisRadius` | *number* | - | - |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** GeoJsonGeomertry

, type: string, properties: {}}}

___

### getEllipsePolygonCoordinates

▸ **getEllipsePolygonCoordinates**(`center`: [*GeoPointLike*](#geopointlike), `majorAxisRadius`: *number*, `minorAxisRadius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): *number*[][]

 得到椭圆或椭圆弧的离散化的多边形的点

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `majorAxisRadius` | *number* | - | 长轴半径 |
| `minorAxisRadius` | *number* | - | 短轴半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是椭/圆弧时，最后一个点加上中心点 |

**Returns:** *number*[][]

___

### getEnvelopBounds

▸ **getEnvelopBounds**(`envelop`: *string*, `prj`: *any*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据外包矩形创建 `GeoBounds`.

Example:
```typescript
const b = vjmap.getEnvelopBounds('POLYGON((3466315.697899 6704304.297588, 3466315.697899 7784496.211226, 4546475.901198 7784496.211226, 4546475.901198 6704304.297588, 3466315.697899 6704304.297588))', prj);
```

#### Parameters

| Name | Type |
| :------ | :------ |
| `envelop` | *string* |
| `prj` | *any* |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

### getGeoBounds

▸ **getGeoBounds**<T\>(`data`: T \| *string*): [*GeoBounds*](#classesdefaultgeoboundsmd)

获取一个geojson的范围值

#### Type parameters

| Name | Type |
| :------ | :------ |
| `T` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] |

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | T \| *string* | 输入值 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

获取的范围值

___

### getOptionValue

▸ **getOptionValue**<T\>(`a`: T): T

Get first defined value.

Specialized "replacement" for `a || b || c` used frequently to get value from various sources
(defaults, configs  constants).
In contrast to `||`, this function provides proper typing for usual use cases (constant as last
argument) and correct treatment of `null` and `undefined`.

If last parameter is "defined" then return type is `T`, otherwise return type is `T | undefined`.

Usage example:

    interface Config {
        x?: number;
    }
    const someConfig: Config = {};
    const val: number | undefined = undefined;
    const DEFAULT = 5;
    const x = getOptionValue(val, someConfig.x, DEFAULT);
        // typeof x === 'number' because DEFAULT is defined
    const y = getOptionValue(val, someConfig.x);
        // typeof y === 'number | undefined' because someConfig.x is possibly undefined

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T): T

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T \| *undefined*, `c`: T): T

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T \| *undefined* |
| `c` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T \| *undefined*, `c`: T \| *undefined*, `d`: T): T

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T \| *undefined* |
| `c` | T \| *undefined* |
| `d` | T |

**Returns:** T

▸ **getOptionValue**<T\>(...`values`: (T \| *undefined*)[]): T \| *undefined*

#### Type parameters

| Name |
| :------ |
| `T` |

#### Parameters

| Name | Type |
| :------ | :------ |
| `...values` | (T \| *undefined*)[] |

**Returns:** T \| *undefined*

___

### getTempMapId

▸ **getTempMapId**(`expireTime?`: *number*, `isVisible?`: *boolean*): *string*

获取一个临时的图id(临时图形只会用临时查看，过期会自动删除)

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `expireTime?` | *number* | 临时图形不浏览情况下过期自动删除时间，单位分钟。默认30 |
| `isVisible?` | *boolean* | 是否可见，（可见的话，将可通过ListMaps获取，否则为隐藏图）。默认不可见 |

**Returns:** *string*

___

### hexToBinStr

▸ **hexToBinStr**(`strHex`: *string*, `isPadding?`: *boolean*, `reverse?`: *boolean*): *string*

十六进制字符串转二进制字符串(可用于协同图形，图层开头显示设置的转换)

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `strHex` | *string* | - | 十进制的内容 |
| `isPadding` | *boolean* | true | 前面是否自动0，默认true |
| `reverse` | *boolean* | true | 结果倒序，默认true |

**Returns:** *string*

___

### htmlColorToEntColor

▸ **htmlColorToEntColor**(`color`: *string*): *number*

html颜色转实体颜色

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | *string* | html |

**Returns:** *number*

___

### interpolateLineRange

▸ **interpolateLineRange**(`points`: [*GeoPointLike*](#geopointlike)[] \| *any*, `number`: *number*, `isLngLat?`: *boolean*, `offsetDist?`: *number*, `minGap?`: *number*, `includeSrcPoint?`: *boolean*): *any*[]

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `points` | [*GeoPointLike*](#geopointlike)[] \| *any* | - | 要插值的（多段）线的顶点(输入必须为经纬度). |
| `number` | *number* | - | 沿线插入的点数；这包括端点，并且有效最小值为 2（如果给出较小的数字，则仍将返回端点）. |
| `isLngLat` | *boolean* | false | 点坐标序列是否是经纬度坐标 |
| `offsetDist` | *number* | 0 | 一个可选的垂直距离，用于从线段偏移每个点，否则它会位于. |
| `minGap` | *number* | 0 | 在后续插值点之间保持可选的最小间隙；如果一组“number”点的后续点之间的投影间隙低于此值，则“number”将减小到合适的值. |
| `includeSrcPoint` | *boolean* | true | 包括原有点 |

**Returns:** *any*[]

___

### interpolatePointsByRatio

▸ **interpolatePointsByRatio**(`points`: [*GeoPointLike*](#geopointlike)[] \| *any*, `ratio`: *number*, `isLngLat?`: *boolean*): *any*[]

通过比例(0-1)的值，得到坐标序列的点坐标的值

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `points` | [*GeoPointLike*](#geopointlike)[] \| *any* | - |
| `ratio` | *number* | - |
| `isLngLat` | *boolean* | false |

**Returns:** *any*[]

___

### isClosedPolygon

▸ **isClosedPolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

多边形是否闭合

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *boolean*

___

### isCounterClockwise

▸ **isCounterClockwise**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `c`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

指示提供的点是按逆时针（真）还是顺时针（假）顺序排列

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `c` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

### isGeoPointLike

▸ **isGeoPointLike**(`geoPoint`: *any*): geoPoint is GeoPointLike

A [GeoPointLike](#geopointlike) object, an array of two numbers representing longitude and latitude,
or an object with `lng` and `lat` or `lon` and `lat` properties.

Example:
```typescript
const center = { lat: 53.3, lng: 13.4 };
mapView.geoCenter = GeoCoordinates.fromLatLng(center);
```

#### Parameters

| Name | Type |
| :------ | :------ |
| `geoPoint` | *any* |

**Returns:** geoPoint is GeoPointLike

___

### isPointInPolygon

▸ `Const` **isPointInPolygon**(`pos`: [*GeoPoint*](#classesdefaultgeopointmd), `polygon`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

判断点是否在多边形内。

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pos` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `polygon` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 多边形坐标 |

**Returns:** *boolean*

___

### isZero

▸ **isZero**(`value`: *number*, `precision?`: *number*): *boolean*

判断是否为零

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | 值 |
| `precision?` | *number* | 精度，缺省1e-6 |

**Returns:** *boolean*

___

### kebabCase

▸ `Const` **kebabCase**(`s`: *any*): *any*

#### Parameters

| Name | Type |
| :------ | :------ |
| `s` | *any* |

**Returns:** *any*

___

### lineSplit

▸ **lineSplit**(`line`: [*GeoPoint*](#classesdefaultgeopointmd)[], `splitLine`: [*GeoPoint*](#classesdefaultgeopointmd)[], `dotErr?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[][]

线被另外一条线分开多条线段，返回新的线段

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `line` | [*GeoPoint*](#classesdefaultgeopointmd)[] |  |
| `splitLine` | [*GeoPoint*](#classesdefaultgeopointmd)[] |  |
| `dotErr?` | *number* | 允许误差的小数点后几位，默认6位 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[][]

___

### metersPerPixel

▸ **metersPerPixel**(`zoomLevel`: *number*, `latitude?`: *number*): *number*

求不同级级别下，每米表示多少像素

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `zoomLevel` | *number* | 级别从0表示 |
| `latitude?` | *number* | 纬度 |

**Returns:** *number*

___

### multiLineSplit

▸ **multiLineSplit**(`lines`: [*GeoPoint*](#classesdefaultgeopointmd)[][], `dotErr?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[][]

多条线之间根据交点相互分开,返回相交后的所有线段，请确保每条线段不要自相交

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `lines` | [*GeoPoint*](#classesdefaultgeopointmd)[][] |  |
| `dotErr?` | *number* | 允许误差的小数点后几位，默认6位 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[][]

___

### offsetPointLine

▸ **offsetPointLine**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `distance`: *number*): *any*[]

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `distance` | *number* |

**Returns:** *any*[]

___

### offsetPoints

▸ **offsetPoints**(`pts`: [*GeoPointLike*](#geopointlike)[], `options`: { `offset`: *number* ; `smoothFactor?`: *number*  }): *any*[]

#### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |
| `options` | *object* |
| `options.offset` | *number* |
| `options.smoothFactor?` | *number* |

**Returns:** *any*[]

___

### openMapDarkStyle

▸ **openMapDarkStyle**(): [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

打开地图的深色背景样式，值为 {backcolor: 0}

**Returns:** [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

___

### openMapLightStyle

▸ **openMapLightStyle**(): [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

打开地图的浅色色背景样式，值为 {backcolor: 0xFFFFFF}

**Returns:** [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

___

### pick

▸ **pick**<T, K\>(`object`: T, `props`: K[]): *Pick*<T, K\>

Pick `props` from `object.

Runtime version of `Pick<T,K>`.

#### Type parameters

| Name | Type |
| :------ | :------ |
| `T` | *object* |
| `K` | *string* \| *number* \| *symbol* |

#### Parameters

| Name | Type |
| :------ | :------ |
| `object` | T |
| `props` | K[] |

**Returns:** *Pick*<T, K\>

___

### pixelValue

▸ **pixelValue**(`meters`: *number*, `zoomLevel`: *number*, `latitude?`: *number*): *number*

不同级别下根据米数来求像素值

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `meters` | *number* | 米 |
| `zoomLevel` | *number* | 级别从0表示 |
| `latitude?` | *number* | 纬度 |

**Returns:** *number*

___

### pointToSegmentDistance

▸ **pointToSegmentDistance**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `p1`: [*GeoPoint*](#classesdefaultgeopointmd), `p2`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

点到线段的距离

#### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p1` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p2` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

### polygonCentroid

▸ **polygonCentroid**(`vertices`: [*GeoPoint*](#classesdefaultgeopointmd)[]): [*GeoPoint*](#classesdefaultgeopointmd)

根据 [x,y] 坐标列表计算多边形的质心。

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `vertices` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 顶点坐标 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

### polygonIsClockwise

▸ **polygonIsClockwise**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

根据格林公式判断多边形是否为顺时针

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *boolean*

false:逆时针

___

### polylineMarginToPolygon

▸ **polylineMarginToPolygon**(`pts`: [*GeoPointLike*](#geopointlike)[], `options`: { `arcSegments?`: *number* ; `offset`: *number* ; `smoothFactor?`: *number*  }): *any*

把多段线往外扩展成多边形

#### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |
| `options` | *object* |
| `options.arcSegments?` | *number* |
| `options.offset` | *number* |
| `options.smoothFactor?` | *number* |

**Returns:** *any*

___

### radToDeg

▸ **radToDeg**(`a`: *number*): *number*

弧度转角度

#### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *number* |

**Returns:** *number*

___

### randInt

▸ **randInt**(`n`: *number*, `m`: *number*): *number*

生成一个区间的随机总数

#### Parameters

| Name | Type |
| :------ | :------ |
| `n` | *number* |
| `m` | *number* |

**Returns:** *number*

___

### randomColor

▸ **randomColor**(): *string*

生成随机颜色

**Returns:** *string*

___

### segmentIntersect

▸ **segmentIntersect**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*, `x3`: *number*, `y3`: *number*, `x4`: *number*, `y4`: *number*): { `ratio`: *undefined* ; `result`: *string* = "COLINEAR"; `status`: *boolean* = false; `x`: *undefined* ; `y`: *undefined*  } \| { `ratio`: *number* ; `result`: *undefined* = "COLINEAR"; `status`: *boolean* = true; `x`: *number* ; `y`: *number*  }

线段相交

#### Parameters

| Name | Type |
| :------ | :------ |
| `x1` | *number* |
| `y1` | *number* |
| `x2` | *number* |
| `y2` | *number* |
| `x3` | *number* |
| `y3` | *number* |
| `x4` | *number* |
| `y4` | *number* |

**Returns:** { `ratio`: *undefined* ; `result`: *string* = "COLINEAR"; `status`: *boolean* = false; `x`: *undefined* ; `y`: *undefined*  } \| { `ratio`: *number* ; `result`: *undefined* = "COLINEAR"; `status`: *boolean* = true; `x`: *number* ; `y`: *number*  }

| {result: string, status: boolean} | {x: number, y: number, status: boolean, ratio: number} | {result: string, status: boolean}}

___

### simplify

▸ **simplify**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `tolerance?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

简化点坐标

#### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `tolerance?` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

### syncMaps

▸ **syncMaps**(...`args`: Map[]): *function*

同步两张地图的移动。

#### Parameters

| Name | Type |
| :------ | :------ |
| `...args` | Map[] |

**Returns:** () => *void*

___

### toRadian

▸ **toRadian**(`a`: *number*): *number*

Convert Degree To Radian

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | Angle in Degrees |

**Returns:** *number*

___

### upperCamelCase

▸ `Const` **upperCamelCase**(`s`: *any*): *any*

#### Parameters

| Name | Type |
| :------ | :------ |
| `s` | *any* |

**Returns:** *any*

___

### utf8ToUnicode

▸ **utf8ToUnicode**(`strUtf8`: *string*): *string*

utf8转unicode

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `strUtf8` | *string* | utf8的内容 |

**Returns:** *string*

___

### vectorContour

▸ **vectorContour**(`featureCollection`: FeatureCollection, `weight`: *string*, `breaks`: *number*[], `params?`: { `alpha?`: *number* ; `canvas?`: HTMLCanvasElement ; `colors?`: *string*[] ; `extent?`: [*number*, *number*, *number*, *number*] ; `model?`: ``"exponential"`` \| ``"gaussian"`` \| ``"spherical"`` ; `sigma2?`: *number* ; `width?`: *number* ; `xlim?`: *number* ; `ylim?`: *number*  }): *object*

生成矢量等值面

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `featureCollection` | FeatureCollection | - |
| `weight` | *string* | - |
| `breaks` | *number*[] | - |
| `params?` | *object* | params:{ model:'exponential','gaussian','spherical'，三选一，默认exponential sigma2: 0, // sigma2是σ²，对应高斯过程的方差参数，也就是这组数据z的距离，方差参数σ²的似然性反映了高斯过程中的误差，并应手动设置。一般设置为 0 ，其他数值设了可能会出空白图 alpha: 100, // Alpha α对应方差函数的先验值，此参数可能控制钻孔扩散范围,越小范围越大,少量点效果明显，但点多了且分布均匀以后改变该数字即基本无效果了，默认设置为100 canvas: HTMLCanvasElement, // 如果要渲染到画布上填这个 xlim: number, // canvas有效 ylim: number, // canvas有效 colors:string[] // canvas有效 等值面分级区间 width: number // 生成等值线宽度参数。像素长度。默认200。宽度值越大，绘制越精确，但也会导致速度变慢，内存占用越多 } |
| `params.alpha?` | *number* | - |
| `params.canvas?` | HTMLCanvasElement | - |
| `params.colors?` | *string*[] | - |
| `params.extent?` | [*number*, *number*, *number*, *number*] | - |
| `params.model?` | ``"exponential"`` \| ``"gaussian"`` \| ``"spherical"`` | - |
| `params.sigma2?` | *number* | - |
| `params.width?` | *number* | - |
| `params.xlim?` | *number* | - |
| `params.ylim?` | *number* | - |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `alg?` | *any* |
| `contour?` | FeatureCollection |
| `grid?` | *object* |
| `grid.grid` | *number*[] |
| `grid.m` | *number* |
| `grid.n` | *number* |
| `grid.x_resolution` | *number* |
| `grid.xlim` | *number* |
| `grid.y_resolution` | *number* |
| `grid.ylim` | *number* |
| `grid.zlim` | *number* |
| `variogram?` | *any* |

# Modules


<a name="modulescommonmd"></a>

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

## Namespace: common

### Table of contents

#### Type aliases

- [mat2dtype](#mat2dtype)
- [mat3type](#mat3type)
- [mat4type](#mat4type)
- [quattype](#quattype)
- [vec2type](#vec2type)
- [vec3type](#vec3type)
- [vec4type](#vec4type)

#### Variables

- [EPSILON](#epsilon)

#### Functions

- [equals](#equals)
- [toRadian](#toradian)

### Type aliases

#### mat2dtype

Ƭ **mat2dtype**: *number*[] \| Float32Array

___

#### mat3type

Ƭ **mat3type**: *number*[] \| Float32Array

___

#### mat4type

Ƭ **mat4type**: *number*[] \| Float32Array

___

#### quattype

Ƭ **quattype**: *number*[] \| Float32Array

___

#### vec2type

Ƭ **vec2type**: *number*[] \| Float32Array

___

#### vec3type

Ƭ **vec3type**: *number*[] \| Float32Array

___

#### vec4type

Ƭ **vec4type**: *number*[] \| Float32Array

### Variables

#### EPSILON

• `Const` **EPSILON**: ``1e-8``= 0.00000001

### Functions

#### equals

▸ **equals**(`a`: *number*, `b`: *number*): *boolean*

Tests whether or not the arguments have approximately the same value, within an absolute
or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less
than or equal to 1.0, and a relative tolerance is used for larger values)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | The first number to test. |
| `b` | *number* | The second number to test. |

**Returns:** *boolean*

True if the numbers are approximately equal, false otherwise.

___

#### toRadian

▸ **toRadian**(`a`: *number*): *number*

Convert Degree To Radian

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | Angle in Degrees |

**Returns:** *number*


<a name="modulesdefaultdommd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Dom

## Namespace: Dom

[default](#modulesdefaultmd).Dom

### Table of contents

#### Type aliases

- [Anchor](#anchor)

#### Variables

- [anchorTranslate](#anchortranslate)

#### Functions

- [addClass](#addclass)
- [addEventListener](#addeventlistener)
- [create](#create)
- [createNS](#createns)
- [disableDrag](#disabledrag)
- [enableDrag](#enabledrag)
- [getClass](#getclass)
- [hasClass](#hasclass)
- [mouseButton](#mousebutton)
- [mousePos](#mousepos)
- [remove](#remove)
- [removeClass](#removeclass)
- [removeEventListener](#removeeventlistener)
- [setClass](#setclass)
- [setTransform](#settransform)
- [suppressClick](#suppressclick)
- [touchPos](#touchpos)

### Type aliases

#### Anchor

Ƭ **Anchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``

### Variables

#### anchorTranslate

• `Const` **anchorTranslate**: *Record*<[*Anchor*](#anchor), string\>

### Functions

#### addClass

▸ **addClass**(`el`: HTMLElement, `name`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *void*

___

#### addEventListener

▸ **addEventListener**(`target`: *any*, `type`: *any*, `callback`: *any*, `options?`: { `capture?`: *boolean* ; `passive?`: *boolean*  }): *void*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `target` | *any* | - |
| `type` | *any* | - |
| `callback` | *any* | - |
| `options` | *object* | {} |
| `options.capture?` | *boolean* | - |
| `options.passive?` | *boolean* | - |

**Returns:** *void*

___

#### create

▸ **create**(`tagName`: *string*, `className?`: *string*, `container?`: HTMLElement): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `tagName` | *string* |
| `className?` | *string* |
| `container?` | HTMLElement |

**Returns:** HTMLElement

___

#### createNS

▸ **createNS**(`namespaceURI`: *string*, `tagName`: *string*): Element

##### Parameters

| Name | Type |
| :------ | :------ |
| `namespaceURI` | *string* |
| `tagName` | *string* |

**Returns:** Element

___

#### disableDrag

▸ **disableDrag**(): *void*

**Returns:** *void*

___

#### enableDrag

▸ **enableDrag**(): *void*

**Returns:** *void*

___

#### getClass

▸ **getClass**(`el`: HTMLElement): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |

**Returns:** *any*

___

#### hasClass

▸ **hasClass**(`el`: HTMLElement, `name`: *string*): *boolean*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *boolean*

___

#### mouseButton

▸ **mouseButton**(`e`: MouseEvent): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | MouseEvent |

**Returns:** *number*

___

#### mousePos

▸ **mousePos**(`el`: HTMLElement, `e`: MouseEvent \| WheelEvent): [*GeoPoint*](#classesdefaultgeopointmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `e` | MouseEvent \| WheelEvent |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### remove

▸ **remove**(`node`: HTMLElement): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `node` | HTMLElement |

**Returns:** *void*

___

#### removeClass

▸ **removeClass**(`el`: HTMLElement, `name`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *void*

___

#### removeEventListener

▸ **removeEventListener**(`target`: *any*, `type`: *any*, `callback`: *any*, `options?`: { `capture?`: *boolean* ; `passive?`: *boolean*  }): *void*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `target` | *any* | - |
| `type` | *any* | - |
| `callback` | *any* | - |
| `options` | *object* | {} |
| `options.capture?` | *boolean* | - |
| `options.passive?` | *boolean* | - |

**Returns:** *void*

___

#### setClass

▸ **setClass**(`el`: HTMLElement, `name`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *void*

___

#### setTransform

▸ **setTransform**(`el`: HTMLElement, `value`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `value` | *string* |

**Returns:** *void*

___

#### suppressClick

▸ **suppressClick**(): *void*

**Returns:** *void*

___

#### touchPos

▸ **touchPos**(`el`: HTMLElement, `touches`: TouchList): [*GeoPoint*](#classesdefaultgeopointmd)[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `touches` | TouchList |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]


<a name="modulesdefaultmat2md"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / mat2

## Namespace: mat2

[default](#modulesdefaultmd).mat2

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [LDU](#ldu)
- [add](#add)
- [adjoint](#adjoint)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromRotation](#fromrotation)
- [fromScaling](#fromscaling)
- [fromValues](#fromvalues)
- [identity](#identity)
- [invert](#invert)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [rotate](#rotate)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [transpose](#transpose)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat2type*](#mat2type)

### Functions

#### LDU

▸ **LDU**(`L`: [*mat2type*](#mat2type), `D`: [*mat2type*](#mat2type), `U`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)[]

Returns L, D and U matrices (Lower triangular, Diagonal and Upper triangular) by factorizing the input matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `L` | [*mat2type*](#mat2type) | the lower triangular matrix |
| `D` | [*mat2type*](#mat2type) | the diagonal matrix |
| `U` | [*mat2type*](#mat2type) | the upper triangular matrix |
| `a` | [*mat2type*](#mat2type) | the input matrix to factorize |

**Returns:** [*mat2type*](#mat2type)[]

___

#### add

▸ **add**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Adds two mat2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |

**Returns:** [*mat2type*](#mat2type)

out

___

#### adjoint

▸ **adjoint**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Calculates the adjugate of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type)

out

___

#### clone

▸ **clone**(`a`: [*mat2type*](#mat2type)): *Float32Array*

Creates a new mat2 initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | matrix to clone |

**Returns:** *Float32Array*

a new 2x2 matrix

___

#### copy

▸ **copy**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Copy the values from one mat2 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type)

out

___

#### create

▸ **create**(): *Float32Array*

Creates a new identity mat2

**Returns:** *Float32Array*

a new 2x2 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat2type*](#mat2type)): *number*

Calculates the determinant of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | The first matrix. |
| `b` | [*mat2type*](#mat2type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | The first matrix. |
| `b` | [*mat2type*](#mat2type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat2type*](#mat2type)): *number*

Returns Frobenius norm of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat2type*](#mat2type), `rad`: *number*): [*mat2type*](#mat2type)

Creates a matrix from a given angle
This is equivalent to (but much faster than):

    mat2.identity(dest);
    mat2.rotate(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | mat2 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat2type*](#mat2type), `v`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat2.identity(dest);
    mat2.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | mat2 receiving operation result |
| `v` | [*mat2type*](#mat2type) | Scaling vector |

**Returns:** [*mat2type*](#mat2type)

out

___

#### fromValues

▸ **fromValues**(`m00`: *number*, `m01`: *number*, `m10`: *number*, `m11`: *number*): [*mat2type*](#mat2type)

Create a new mat2 with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m10` | *number* | Component in column 1, row 0 position (index 2) |
| `m11` | *number* | Component in column 1, row 1 position (index 3) |

**Returns:** [*mat2type*](#mat2type)

out A new 2x2 matrix

___

#### identity

▸ **identity**(`out`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Set a mat2 to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |

**Returns:** [*mat2type*](#mat2type)

out

___

#### invert

▸ **invert**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type) \| ``null``

Inverts a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type) \| ``null``

out

___

#### multiply

▸ **multiply**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Multiplies two mat2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |

**Returns:** [*mat2type*](#mat2type)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: *number*): [*mat2type*](#mat2type)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type), `scale`: *number*): [*mat2type*](#mat2type)

Adds two mat2's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving vector |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |
| `scale` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat2type*](#mat2type)

out

___

#### rotate

▸ **rotate**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `rad`: *number*): [*mat2type*](#mat2type)

Rotates a mat2 by the given angle

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### scale

▸ **scale**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `v`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Scales the mat2 by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the matrix to rotate |
| `v` | [*mat2type*](#mat2type) | the vec2 to scale the matrix by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### set

▸ **set**(`out`: [*mat2type*](#mat2type), `m00`: *number*, `m01`: *number*, `m10`: *number*, `m11`: *number*): [*mat2type*](#mat2type)

Set the components of a mat2 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m10` | *number* | Component in column 1, row 0 position (index 2) |
| `m11` | *number* | Component in column 1, row 1 position (index 3) |

**Returns:** [*mat2type*](#mat2type)

out

___

#### str

▸ **str**(`a`: [*mat2type*](#mat2type)): *string*

Returns a string representation of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |

**Returns:** [*mat2type*](#mat2type)

out

___

#### transpose

▸ **transpose**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Transpose the values of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type)

out


<a name="modulesdefaultmat2dmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / mat2d

## Namespace: mat2d

[default](#modulesdefaultmd).mat2d

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromRotation](#fromrotation)
- [fromScaling](#fromscaling)
- [fromTranslation](#fromtranslation)
- [fromValues](#fromvalues)
- [identity](#identity)
- [invert](#invert)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [rotate](#rotate)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [translate](#translate)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat2dtype*](#mat2dtype)

### Functions

#### add

▸ **add**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Adds two mat2d's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### clone

▸ **clone**(`a`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Creates a new mat2d initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | matrix to clone |

**Returns:** [*mat2dtype*](#mat2dtype)

a new 2x3 matrix

___

#### copy

▸ **copy**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Copy the values from one mat2d to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the source matrix |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### create

▸ **create**(): [*mat2dtype*](#mat2dtype)

Creates a new identity mat2d

**Returns:** [*mat2dtype*](#mat2dtype)

a new 2x3 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat2dtype*](#mat2dtype)): *number*

Calculates the determinant of a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | The first matrix. |
| `b` | [*mat2dtype*](#mat2dtype) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | The first matrix. |
| `b` | [*mat2dtype*](#mat2dtype) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat2dtype*](#mat2dtype)): *number*

Returns Frobenius norm of a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat2dtype*](#mat2dtype), `rad`: *number*): [*mat2dtype*](#mat2dtype)

Creates a matrix from a given angle
This is equivalent to (but much faster than):

    mat2d.identity(dest);
    mat2d.rotate(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | mat2d receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat2d.identity(dest);
    mat2d.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | mat2d receiving operation result |
| `v` | [*mat2dtype*](#mat2dtype) | Scaling vector |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### fromTranslation

▸ **fromTranslation**(`out`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Creates a matrix from a vector translation
This is equivalent to (but much faster than):

    mat2d.identity(dest);
    mat2d.translate(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | mat2d receiving operation result |
| `v` | [*mat2dtype*](#mat2dtype) | Translation vector |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### fromValues

▸ **fromValues**(`a`: *number*, `b`: *number*, `c`: *number*, `d`: *number*, `tx`: *number*, `ty`: *number*): [*mat2dtype*](#mat2dtype)

Create a new mat2d with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | Component A (index 0) |
| `b` | *number* | Component B (index 1) |
| `c` | *number* | Component C (index 2) |
| `d` | *number* | Component D (index 3) |
| `tx` | *number* | Component TX (index 4) |
| `ty` | *number* | Component TY (index 5) |

**Returns:** [*mat2dtype*](#mat2dtype)

A new mat2d

___

#### identity

▸ **identity**(`out`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Set a mat2d to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### invert

▸ **invert**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype) \| ``null``

Inverts a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the source matrix |

**Returns:** [*mat2dtype*](#mat2dtype) \| ``null``

out

___

#### multiply

▸ **multiply**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Multiplies two mat2d's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: *number*): [*mat2dtype*](#mat2dtype)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype), `scale`: *number*): [*mat2dtype*](#mat2dtype)

Adds two mat2d's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving vector |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |
| `scale` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### rotate

▸ **rotate**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `rad`: *number*): [*mat2dtype*](#mat2dtype)

Rotates a mat2d by the given angle

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### scale

▸ **scale**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Scales the mat2d by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to translate |
| `v` | [*mat2dtype*](#mat2dtype) | the vec2 to scale the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### set

▸ **set**(`out`: [*mat2dtype*](#mat2dtype), `a`: *number*, `b`: *number*, `c`: *number*, `d`: *number*, `tx`: *number*, `ty`: *number*): [*mat2dtype*](#mat2dtype)

Set the components of a mat2d to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | *number* | Component A (index 0) |
| `b` | *number* | Component B (index 1) |
| `c` | *number* | Component C (index 2) |
| `d` | *number* | Component D (index 3) |
| `tx` | *number* | Component TX (index 4) |
| `ty` | *number* | Component TY (index 5) |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### str

▸ **str**(`a`: [*mat2dtype*](#mat2dtype)): *string*

Returns a string representation of a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### translate

▸ **translate**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Translates the mat2d by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to translate |
| `v` | [*mat2dtype*](#mat2dtype) | the vec2 to translate the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out


<a name="modulesdefaultmat3md"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / mat3

## Namespace: mat3

[default](#modulesdefaultmd).mat3

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [adjoint](#adjoint)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromMat2d](#frommat2d)
- [fromMat4](#frommat4)
- [fromQuat](#fromquat)
- [fromRotation](#fromrotation)
- [fromScaling](#fromscaling)
- [fromTranslation](#fromtranslation)
- [fromValues](#fromvalues)
- [identity](#identity)
- [invert](#invert)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [normalFromMat4](#normalfrommat4)
- [rotate](#rotate)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [translate](#translate)
- [transpose](#transpose)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat3type*](#mat3type)

### Functions

#### add

▸ **add**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Adds two mat3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |

**Returns:** [*mat3type*](#mat3type)

out

___

#### adjoint

▸ **adjoint**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Calculates the adjugate of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### clone

▸ **clone**(`a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Creates a new mat3 initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | matrix to clone |

**Returns:** [*mat3type*](#mat3type)

a new 3x3 matrix

___

#### copy

▸ **copy**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Copy the values from one mat3 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### create

▸ **create**(): [*mat3type*](#mat3type)

Creates a new identity mat3

**Returns:** [*mat3type*](#mat3type)

a new 3x3 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat3type*](#mat3type)): *number*

Calculates the determinant of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | The first matrix. |
| `b` | [*mat3type*](#mat3type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | The first matrix. |
| `b` | [*mat3type*](#mat3type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat3type*](#mat3type)): *number*

Returns Frobenius norm of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromMat2d

▸ **fromMat2d**(`out`: [*mat3type*](#mat3type), `a`: [*mat2dtype*](#mat2dtype)): [*mat3type*](#mat3type)

Copies the values from a mat2d into a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to copy |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromMat4

▸ **fromMat4**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Copies the upper-left 3x3 values into the given mat3.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving 3x3 matrix |
| `a` | [*mat3type*](#mat3type) | the source 4x4 matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromQuat

▸ **fromQuat**(`out`: [*mat3type*](#mat3type), `q`: [*quattype*](#quattype)): [*mat3type*](#mat3type)

Calculates a 3x3 matrix from the given quaternion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `q` | [*quattype*](#quattype) | Quaternion to create matrix from |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat3type*](#mat3type), `rad`: *number*): [*mat3type*](#mat3type)

Creates a matrix from a given angle
This is equivalent to (but much faster than):

    mat3.identity(dest);
    mat3.rotate(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat3.identity(dest);
    mat3.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `v` | [*vec2type*](#vec2type) | Scaling vector |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromTranslation

▸ **fromTranslation**(`out`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Creates a matrix from a vector translation
This is equivalent to (but much faster than):

    mat3.identity(dest);
    mat3.translate(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `v` | [*vec2type*](#vec2type) | Translation vector |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromValues

▸ **fromValues**(`m00`: *number*, `m01`: *number*, `m02`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*): [*mat3type*](#mat3type)

Create a new mat3 with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m10` | *number* | Component in column 1, row 0 position (index 3) |
| `m11` | *number* | Component in column 1, row 1 position (index 4) |
| `m12` | *number* | Component in column 1, row 2 position (index 5) |
| `m20` | *number* | Component in column 2, row 0 position (index 6) |
| `m21` | *number* | Component in column 2, row 1 position (index 7) |
| `m22` | *number* | Component in column 2, row 2 position (index 8) |

**Returns:** [*mat3type*](#mat3type)

A new mat3

___

#### identity

▸ **identity**(`out`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Set a mat3 to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### invert

▸ **invert**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type) \| ``null``

Inverts a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type) \| ``null``

out

___

#### multiply

▸ **multiply**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Multiplies two mat3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |

**Returns:** [*mat3type*](#mat3type)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: *number*): [*mat3type*](#mat3type)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type), `s`: *number*): [*mat3type*](#mat3type)

Adds two mat3's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving vector |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |
| `s` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat3type*](#mat3type)

out

___

#### normalFromMat4

▸ **normalFromMat4**(`out`: [*mat3type*](#mat3type), `a`: [*mat4type*](#mat4type)): [*mat3type*](#mat3type) \| ``null``

Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `a` | [*mat4type*](#mat4type) | Mat4 to derive the normal matrix from |

**Returns:** [*mat3type*](#mat3type) \| ``null``

out

___

#### rotate

▸ **rotate**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `rad`: *number*): [*mat3type*](#mat3type)

Rotates a mat3 by the given angle

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### scale

▸ **scale**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Scales the mat3 by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to rotate |
| `v` | [*vec2type*](#vec2type) | the vec2 to scale the matrix by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### set

▸ **set**(`out`: [*mat3type*](#mat3type), `m00`: *number*, `m01`: *number*, `m02`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*): [*mat3type*](#mat3type)

Set the components of a mat3 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m10` | *number* | Component in column 1, row 0 position (index 3) |
| `m11` | *number* | Component in column 1, row 1 position (index 4) |
| `m12` | *number* | Component in column 1, row 2 position (index 5) |
| `m20` | *number* | Component in column 2, row 0 position (index 6) |
| `m21` | *number* | Component in column 2, row 1 position (index 7) |
| `m22` | *number* | Component in column 2, row 2 position (index 8) |

**Returns:** [*mat3type*](#mat3type)

out

___

#### str

▸ **str**(`a`: [*mat3type*](#mat3type)): *string*

Returns a string representation of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |

**Returns:** [*mat3type*](#mat3type)

out

___

#### translate

▸ **translate**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Translate a mat3 by the given vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to translate |
| `v` | [*vec2type*](#vec2type) | vector to translate by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### transpose

▸ **transpose**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Transpose the values of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type)

out


<a name="modulesdefaultmat4md"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / mat4

## Namespace: mat4

[default](#modulesdefaultmd).mat4

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [adjoint](#adjoint)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromQuat](#fromquat)
- [fromRotation](#fromrotation)
- [fromRotationTranslation](#fromrotationtranslation)
- [fromRotationTranslationScale](#fromrotationtranslationscale)
- [fromRotationTranslationScaleOrigin](#fromrotationtranslationscaleorigin)
- [fromScaling](#fromscaling)
- [fromTranslation](#fromtranslation)
- [fromValues](#fromvalues)
- [fromXRotation](#fromxrotation)
- [fromYRotation](#fromyrotation)
- [fromZRotation](#fromzrotation)
- [frustum](#frustum)
- [getRotation](#getrotation)
- [getScaling](#getscaling)
- [getTranslation](#gettranslation)
- [identity](#identity)
- [invert](#invert)
- [lookAt](#lookat)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [ortho](#ortho)
- [perspective](#perspective)
- [perspectiveFromFieldOfView](#perspectivefromfieldofview)
- [rotate](#rotate)
- [rotateX](#rotatex)
- [rotateY](#rotatey)
- [rotateZ](#rotatez)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [translate](#translate)
- [transpose](#transpose)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat4type*](#mat4type)

### Functions

#### add

▸ **add**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Adds two mat4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |

**Returns:** [*mat4type*](#mat4type)

out

___

#### adjoint

▸ **adjoint**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Calculates the adjugate of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type)

out

___

#### clone

▸ **clone**(`a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Creates a new mat4 initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | matrix to clone |

**Returns:** [*mat4type*](#mat4type)

a new 4x4 matrix

___

#### copy

▸ **copy**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Copy the values from one mat4 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type)

out

___

#### create

▸ **create**(): [*mat4type*](#mat4type)

Creates a new identity mat4

**Returns:** [*mat4type*](#mat4type)

a new 4x4 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat4type*](#mat4type)): *number*

Calculates the determinant of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | The first matrix. |
| `b` | [*mat4type*](#mat4type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | The first matrix. |
| `b` | [*mat4type*](#mat4type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat4type*](#mat4type)): *number*

Returns Frobenius norm of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromQuat

▸ **fromQuat**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype)): [*mat4type*](#mat4type)

Calculates a 4x4 matrix from the given quaternion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Quaternion to create matrix from |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*, `axis`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type) \| ``null``

Creates a matrix from a given angle around a given axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotate(dest, dest, rad, axis);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |
| `axis` | [*vec3type*](#vec3type) | the axis to rotate around |

**Returns:** [*mat4type*](#mat4type) \| ``null``

out

___

#### fromRotationTranslation

▸ **fromRotationTranslation**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a quaternion rotation and vector translation
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, vec);
    var quatMat = mat4.create();
    quat.toMat4(quat, quatMat);
    mat4.multiply(dest, quatMat);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Rotation quaternion |
| `v` | [*vec3type*](#vec3type) | Translation vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromRotationTranslationScale

▸ **fromRotationTranslationScale**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype), `v`: [*vec3type*](#vec3type), `s`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a quaternion rotation, vector translation and vector scale
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, vec);
    var quatMat = mat4.create();
    quat4.toMat4(quat, quatMat);
    mat4.multiply(dest, quatMat);
    mat4.scale(dest, scale)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Rotation quaternion |
| `v` | [*vec3type*](#vec3type) | Translation vector |
| `s` | [*vec3type*](#vec3type) | Scaling vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromRotationTranslationScaleOrigin

▸ **fromRotationTranslationScaleOrigin**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype), `v`: [*vec3type*](#vec3type), `s`: [*vec3type*](#vec3type), `o`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a quaternion rotation, vector translation and vector scale, rotating and scaling around the given origin
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, vec);
    mat4.translate(dest, origin);
    var quatMat = mat4.create();
    quat4.toMat4(quat, quatMat);
    mat4.multiply(dest, quatMat);
    mat4.scale(dest, scale)
    mat4.translate(dest, negativeOrigin);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Rotation quaternion |
| `v` | [*vec3type*](#vec3type) | Translation vector |
| `s` | [*vec3type*](#vec3type) | Scaling vector |
| `o` | [*vec3type*](#vec3type) | The origin vector around which to scale and rotate |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `v` | [*vec3type*](#vec3type) | Scaling vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromTranslation

▸ **fromTranslation**(`out`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a vector translation
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `v` | [*vec3type*](#vec3type) | Translation vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromValues

▸ **fromValues**(`m00`: *number*, `m01`: *number*, `m02`: *number*, `m03`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m13`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*, `m23`: *number*, `m30`: *number*, `m31`: *number*, `m32`: *number*, `m33`: *number*): [*mat4type*](#mat4type)

Create a new mat4 with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m03` | *number* | Component in column 0, row 3 position (index 3) |
| `m10` | *number* | Component in column 1, row 0 position (index 4) |
| `m11` | *number* | Component in column 1, row 1 position (index 5) |
| `m12` | *number* | Component in column 1, row 2 position (index 6) |
| `m13` | *number* | Component in column 1, row 3 position (index 7) |
| `m20` | *number* | Component in column 2, row 0 position (index 8) |
| `m21` | *number* | Component in column 2, row 1 position (index 9) |
| `m22` | *number* | Component in column 2, row 2 position (index 10) |
| `m23` | *number* | Component in column 2, row 3 position (index 11) |
| `m30` | *number* | Component in column 3, row 0 position (index 12) |
| `m31` | *number* | Component in column 3, row 1 position (index 13) |
| `m32` | *number* | Component in column 3, row 2 position (index 14) |
| `m33` | *number* | Component in column 3, row 3 position (index 15) |

**Returns:** [*mat4type*](#mat4type)

A new mat4

___

#### fromXRotation

▸ **fromXRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Creates a matrix from the given angle around the X axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotateX(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromYRotation

▸ **fromYRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Creates a matrix from the given angle around the Y axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotateY(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromZRotation

▸ **fromZRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Creates a matrix from the given angle around the Z axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotateZ(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### frustum

▸ **frustum**(`out`: [*mat4type*](#mat4type), `left`: *number*, `right`: *number*, `bottom`: *number*, `top`: *number*, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a frustum matrix with the given bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `left` | *number* | Left bound of the frustum |
| `right` | *number* | Right bound of the frustum |
| `bottom` | *number* | Bottom bound of the frustum |
| `top` | *number* | Top bound of the frustum |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### getRotation

▸ **getRotation**(`out`: [*vec4type*](#vec4type), `mat`: [*mat4type*](#mat4type)): [*quattype*](#quattype)

Returns a quaternion representing the rotational component
 of a transformation matrix. If a matrix is built with
 fromRotationTranslation, the returned quaternion will be the
 same as the quaternion originally supplied.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | Quaternion to receive the rotation component |
| `mat` | [*mat4type*](#mat4type) | Matrix to be decomposed (input) |

**Returns:** [*quattype*](#quattype)

out

___

#### getScaling

▸ **getScaling**(`out`: [*vec3type*](#vec3type), `mat`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Returns the scaling factor component of a transformation
 matrix. If a matrix is built with fromRotationTranslationScale
 with a normalized Quaternion paramter, the returned vector will be
 the same as the scaling vector
 originally supplied.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | Vector to receive scaling factor component |
| `mat` | [*mat4type*](#mat4type) | Matrix to be decomposed (input) |

**Returns:** [*vec3type*](#vec3type)

out

___

#### getTranslation

▸ **getTranslation**(`out`: [*vec3type*](#vec3type), `mat`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Returns the translation vector component of a transformation
 matrix. If a matrix is built with fromRotationTranslation,
 the returned vector will be the same as the translation vector
 originally supplied.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | Vector to receive translation component |
| `mat` | [*mat4type*](#mat4type) | Matrix to be decomposed (input) |

**Returns:** [*vec3type*](#vec3type)

out

___

#### identity

▸ **identity**(`out`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Set a mat4 to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |

**Returns:** [*mat4type*](#mat4type)

out

___

#### invert

▸ **invert**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type) \| ``null``

Inverts a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type) \| ``null``

out

___

#### lookAt

▸ **lookAt**(`out`: [*mat4type*](#mat4type), `eye`: [*vec3type*](#vec3type), `center`: [*vec3type*](#vec3type), `up`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Generates a look-at matrix with the given eye position, focal point, and up axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `eye` | [*vec3type*](#vec3type) | Position of the viewer |
| `center` | [*vec3type*](#vec3type) | Point the viewer is looking at |
| `up` | [*vec3type*](#vec3type) | vec3 pointing up |

**Returns:** [*mat4type*](#mat4type)

out

___

#### multiply

▸ **multiply**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Multiplies two mat4s

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |

**Returns:** [*mat4type*](#mat4type)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: *number*): [*mat4type*](#mat4type)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type), `s`: *number*): [*mat4type*](#mat4type)

Adds two mat4's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving vector |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |
| `s` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat4type*](#mat4type)

out

___

#### ortho

▸ **ortho**(`out`: [*mat4type*](#mat4type), `left`: *number*, `right`: *number*, `bottom`: *number*, `top`: *number*, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a orthogonal projection matrix with the given bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `left` | *number* | Left bound of the frustum |
| `right` | *number* | Right bound of the frustum |
| `bottom` | *number* | Bottom bound of the frustum |
| `top` | *number* | Top bound of the frustum |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### perspective

▸ **perspective**(`out`: [*mat4type*](#mat4type), `fovy`: *number*, `aspect`: *number*, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a perspective projection matrix with the given bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `fovy` | *number* | Vertical field of view in radians |
| `aspect` | *number* | Aspect ratio. typically viewport width/height |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### perspectiveFromFieldOfView

▸ **perspectiveFromFieldOfView**(`out`: [*mat4type*](#mat4type), `fov`: { `downDegrees`: *number* ; `leftDegrees`: *number* ; `rightDegrees`: *number* ; `upDegrees`: *number*  }, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a perspective projection matrix with the given field of view.
This is primarily useful for generating projection matrices to be used
with the still experiemental WebVR API.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `fov` | *object* | Object containing the following values: upDegrees, downDegrees, leftDegrees, rightDegrees |
| `fov.downDegrees` | *number* | - |
| `fov.leftDegrees` | *number* | - |
| `fov.rightDegrees` | *number* | - |
| `fov.upDegrees` | *number* | - |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### rotate

▸ **rotate**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*, `axis`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type) \| ``null``

Rotates a mat4 by the given angle around the given axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |
| `axis` | [*vec3type*](#vec3type) | the axis to rotate around |

**Returns:** [*mat4type*](#mat4type) \| ``null``

out

___

#### rotateX

▸ **rotateX**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Rotates a matrix by the given angle around the X axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### rotateY

▸ **rotateY**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Rotates a matrix by the given angle around the Y axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### rotateZ

▸ **rotateZ**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Rotates a matrix by the given angle around the Z axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### scale

▸ **scale**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Scales the mat4 by the dimensions in the given vec3 not using vectorization

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to scale |
| `v` | [*vec3type*](#vec3type) | the vec3 to scale the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### set

▸ **set**(`out`: [*mat4type*](#mat4type), `m00`: *number*, `m01`: *number*, `m02`: *number*, `m03`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m13`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*, `m23`: *number*, `m30`: *number*, `m31`: *number*, `m32`: *number*, `m33`: *number*): [*mat4type*](#mat4type)

Set the components of a mat4 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m03` | *number* | Component in column 0, row 3 position (index 3) |
| `m10` | *number* | Component in column 1, row 0 position (index 4) |
| `m11` | *number* | Component in column 1, row 1 position (index 5) |
| `m12` | *number* | Component in column 1, row 2 position (index 6) |
| `m13` | *number* | Component in column 1, row 3 position (index 7) |
| `m20` | *number* | Component in column 2, row 0 position (index 8) |
| `m21` | *number* | Component in column 2, row 1 position (index 9) |
| `m22` | *number* | Component in column 2, row 2 position (index 10) |
| `m23` | *number* | Component in column 2, row 3 position (index 11) |
| `m30` | *number* | Component in column 3, row 0 position (index 12) |
| `m31` | *number* | Component in column 3, row 1 position (index 13) |
| `m32` | *number* | Component in column 3, row 2 position (index 14) |
| `m33` | *number* | Component in column 3, row 3 position (index 15) |

**Returns:** [*mat4type*](#mat4type)

out

___

#### str

▸ **str**(`a`: [*mat4type*](#mat4type)): *string*

Returns a string representation of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |

**Returns:** [*mat4type*](#mat4type)

out

___

#### translate

▸ **translate**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Translate a mat4 by the given vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to translate |
| `v` | [*vec3type*](#vec3type) | vector to translate by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### transpose

▸ **transpose**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Transpose the values of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type)

out


<a name="modulesdefaultmath2dmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / Math2D

## Namespace: Math2D

[default](#modulesdefaultmd).Math2D

### Table of contents

#### Classes

- [Box](#classesdefaultmath2dboxmd)

#### Interfaces

- [UvBox](#interfacesdefaultmath2duvboxmd)

#### Functions

- [computeSquaredLineLength](#computesquaredlinelength)
- [dist](#dist)
- [distSquared](#distsquared)
- [distToSegmentSquared](#disttosegmentsquared)
- [intersectLineAndCircle](#intersectlineandcircle)
- [intersectLines](#intersectlines)
- [lineDist](#linedist)

### Functions

#### computeSquaredLineLength

▸ **computeSquaredLineLength**(`line`: *number*[]): *number*

Computes the squared length of a line.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `line` | *number*[] | An array of that forms a line via [x,y,z,x,y,z,...] tuples. |

**Returns:** *number*

___

#### dist

▸ **dist**(`ax`: *number*, `ay`: *number*, `bx`: *number*, `by`: *number*, `az?`: *number*, `bz?`: *number*): *number*

Compute distance between two 2D points `a` and `b`.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ax` | *number* | Point a.x |
| `ay` | *number* | Point a.y |
| `bx` | *number* | Point b.x |
| `by` | *number* | Point b.y |
| `az?` | *number* |  |
| `bz?` | *number* |  |

**Returns:** *number*

between the two points

___

#### distSquared

▸ **distSquared**(`ax`: *number*, `ay`: *number*, `bx`: *number*, `by`: *number*): *number*

Compute squared distance between two 2D points `a` and `b`.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ax` | *number* | Point a.x |
| `ay` | *number* | Point a.y |
| `bx` | *number* | Point b.x |
| `by` | *number* | Point b.y |

**Returns:** *number*

Squared distance between the two points

___

#### distToSegmentSquared

▸ **distToSegmentSquared**(`px`: *number*, `py`: *number*, `l0x`: *number*, `l0y`: *number*, `l1x`: *number*, `l1y`: *number*): *number*

Compute squared distance between a 2D point and a 2D line segment.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `px` | *number* | Test point X |
| `py` | *number* | Test point y |
| `l0x` | *number* | Line segment start X |
| `l0y` | *number* | Line segment start Y |
| `l1x` | *number* | Line segment end X |
| `l1y` | *number* | Line segment end Y |

**Returns:** *number*

Squared distance between point and line segment

___

#### intersectLineAndCircle

▸ **intersectLineAndCircle**(`xLine1`: *number*, `yLine1`: *number*, `xLine2`: *number*, `yLine2`: *number*, `radius`: *number*, `xCenter?`: *number*, `yCenter?`: *number*): { `x1`: *number* ; `x2?`: *number* ; `y1`: *number* ; `y2?`: *number*  } \| *undefined*

Finds the intersections of a line and a circle.

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `xLine1` | *number* | - | abscissa of first line point. |
| `yLine1` | *number* | - | ordinate of second line point. |
| `xLine2` | *number* | - | abscissa of second line point. |
| `yLine2` | *number* | - | ordinate of second line point. |
| `radius` | *number* | - | circle radius. |
| `xCenter` | *number* | 0 | abscissa of circle center. |
| `yCenter` | *number* | 0 | ordinate of circle center. |

**Returns:** { `x1`: *number* ; `x2?`: *number* ; `y1`: *number* ; `y2?`: *number*  } \| *undefined*

coordinates of the intersections (1 if the line is tangent to the circle, 2
if it's secant) or undefined if there's no intersection.

___

#### intersectLines

▸ **intersectLines**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*, `x3`: *number*, `y3`: *number*, `x4`: *number*, `y4`: *number*, `result?`: Vec2Like): Vec2Like \| *undefined*

Computes the intersection point between two lines.

**`remarks`**
This functions computes the
[line-line intersection](https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection) of two lines given two points on each line.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x1` | *number* | x coordinate of the first point of the first line. |
| `y1` | *number* | y coordinate of the first point of the first line. |
| `x2` | *number* | x coordinate of the second point of the first line. |
| `y2` | *number* | y coordinate of the second point of the first line. |
| `x3` | *number* | x coordinate of the first point of the second line. |
| `y3` | *number* | y coordinate of the first point of the second line. |
| `x4` | *number* | x coordinate of the second point of the second line. |
| `y4` | *number* | y coordinate of the second point of the second line. |
| `result` | Vec2Like | The resulting point. |

**Returns:** Vec2Like \| *undefined*

___

#### lineDist

▸ **lineDist**(`pts`: [*GeoPointLike*](#geopointlike)[]): *number*

求线的距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |

**Returns:** *number*


<a name="modulesdefaultmathutilsmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / MathUtils

## Namespace: MathUtils

[default](#modulesdefaultmd).MathUtils

### Table of contents

#### Functions

- [clamp](#clamp)
- [easeInOutCubic](#easeinoutcubic)
- [equals](#equals)
- [isClamped](#isclamped)
- [lerp](#lerp)
- [map](#map)
- [max2](#max2)
- [min2](#min2)
- [smoothStep](#smoothstep)
- [smootherStep](#smootherstep)
- [wrap](#wrap)

### Functions

#### clamp

▸ **clamp**(`value`: *number*, `min`: *number*, `max`: *number*): *number*

Ensures that input value fits in a given range.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | The value to be clamped. |
| `min` | *number* | Minimum value. |
| `max` | *number* | Maximum value. |

**Returns:** *number*

Clamped value.

___

#### easeInOutCubic

▸ **easeInOutCubic**(`startValue`: *number*, `endValue`: *number*, `time`: *number*): *number*

Smoothly interpolates between two values using cubic formula

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `startValue` | *number* | - |
| `endValue` | *number* | - |
| `time` | *number* | - |

**Returns:** *number*

Result of the interpolation within the range of `[startValue, endValue]`

___

#### equals

▸ **equals**(`num1`: *number*, `num2`: *number*, `dotErr?`: *number*): *boolean*

判断两个数是否相等

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `num1` | *number* | - |  |
| `num2` | *number* | - |  |
| `dotErr` | *number* | 8 | 允许误差的小数点后几位，默认8位 |

**Returns:** *boolean*

___

#### isClamped

▸ **isClamped**(`value`: *number*, `lowerBound`: *number* \| *undefined*, `upperBound`: *number* \| *undefined*): *boolean*

Checks if the value of a given number is inside an upper or lower bound. The bounds may be
undefined, in which case their value is ignored.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | Value to check. |
| `lowerBound` | *number* \| *undefined* | The lower bound to check the value against. |
| `upperBound` | *number* \| *undefined* | The upper bound to check the value against. |

**Returns:** *boolean*

`true` if value is inside the bounds or if the bounds are `undefined`, `false`
         otherwise.

___

#### lerp

▸ **lerp**(`v1`: *number*, `v2`: *number*, `value`: *number*): *number*

线性插值

##### Parameters

| Name | Type |
| :------ | :------ |
| `v1` | *number* |
| `v2` | *number* |
| `value` | *number* |

**Returns:** *number*

___

#### map

▸ **map**(`val`: *number*, `inMin`: *number*, `inMax`: *number*, `outMin`: *number*, `outMax`: *number*): *number*

Maps a number from one range to another.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `val` | *number* | The incoming value to be converted. |
| `inMin` | *number* | Lower bound of the value's current range. |
| `inMax` | *number* | Upper bound of the value's current range. |
| `outMin` | *number* | Lower bound of the value's target range. |
| `outMax` | *number* | Upper bound of the value's target range. |

**Returns:** *number*

___

#### max2

▸ **max2**(`a`: *number* \| *undefined*, `b`: *number* \| *undefined*): *number* \| *undefined*

Returns the larger of the two given numbers. Both numbers may be undefined, in which case
the result is undefined. If only one of the numbers is undefined, the other number is
returned.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* \| *undefined* | First number. |
| `b` | *number* \| *undefined* | Second number. |

**Returns:** *number* \| *undefined*

___

#### min2

▸ **min2**(`a`: *number* \| *undefined*, `b`: *number* \| *undefined*): *number* \| *undefined*

Returns the smaller of the two given numbers. Both numbers may be undefined, in which case
the result is undefined. If only one of the numbers is undefined, the other number is
returned.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* \| *undefined* | First number. |
| `b` | *number* \| *undefined* | Second number. |

**Returns:** *number* \| *undefined*

___

#### smoothStep

▸ **smoothStep**(`edge0`: *number*, `edge1`: *number*, `x`: *number*): *number*

Returns a smooth interpolation between the values edge0 and edge1 based on the interpolation
factor x. `0 <= x <= 1`.

**`see`** https://en.wikipedia.org/wiki/Smoothstep

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `edge0` | *number* | - |
| `edge1` | *number* | - |
| `x` | *number* | - |

**Returns:** *number*

___

#### smootherStep

▸ **smootherStep**(`edge0`: *number*, `edge1`: *number*, `x`: *number*): *number*

Returns a smooth interpolation between the values edge0 and edge1 based on the interpolation
factor x. `0 <= x <= 1`.

Improved version by Ken Perlin, which has zero 1st- and 2nd-order derivatives at `x = 0` and
`x = 1`:

**`see`** https://en.wikipedia.org/wiki/Smoothstep

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `edge0` | *number* | - |
| `edge1` | *number* | - |
| `x` | *number* | - |

**Returns:** *number*

___

#### wrap

▸ **wrap**(`n`: *number*, `min`: *number*, `max`: *number*, `isMin?`: *boolean*): *number*

constrain n to the given range, excluding the minimum, via modular arithmetic

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `n` | *number* | - | value |
| `min` | *number* | - | the minimum value to be returned, (isMin is false, exclusive, is true inclusive) |
| `max` | *number* | - | the maximum value to be returned, (isMin is false, inclusive, is true exclusive) |
| `isMin` | *boolean* | false |  |

**Returns:** *number*

number


<a name="modulesdefaultmd"></a>

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

## Namespace: default

### Table of contents

#### Namespaces

- [Dom](#modulesdefaultdommd)
- [Math2D](#modulesdefaultmath2dmd)
- [MathUtils](#modulesdefaultmathutilsmd)
- [mat2](#modulesdefaultmat2md)
- [mat2d](#modulesdefaultmat2dmd)
- [mat3](#modulesdefaultmat3md)
- [mat4](#modulesdefaultmat4md)
- [quat](#modulesdefaultquatmd)
- [spring](#modulesdefaultspringmd)
- [vec2](#modulesdefaultvec2md)
- [vec3](#modulesdefaultvec3md)
- [vec4](#modulesdefaultvec4md)

#### Enumerations

- [DbTextHorzMode](#enumsdefaultdbtexthorzmodemd)
- [DbTextVertMode](#enumsdefaultdbtextvertmodemd)
- [FrameAnimationStatus](#enumsdefaultframeanimationstatusmd)
- [IDbLinetypeStyleMethod](#enumsdefaultidblinetypestylemethodmd)
- [IDbMatrixOpName](#enumsdefaultidbmatrixopnamemd)
- [MTextAttachmentPoint](#enumsdefaultmtextattachmentpointmd)
- [MapOpenWay](#enumsdefaultmapopenwaymd)
- [Poly2dType](#enumsdefaultpoly2dtypemd)
- [Poly3dType](#enumsdefaultpoly3dtypemd)
- [RasterImageUnits](#enumsdefaultrasterimageunitsmd)
- [TableCellAlignment](#enumsdefaulttablecellalignmentmd)

#### Classes

- [AnimateMarkerLayer](#classesdefaultanimatemarkerlayermd)
- [BackgroundLayer](#classesdefaultbackgroundlayermd)
- [BreathingApertureMarker](#classesdefaultbreathingaperturemarkermd)
- [ButtonGroupControl](#classesdefaultbuttongroupcontrolmd)
- [Circle](#classesdefaultcirclemd)
- [CircleEdge](#classesdefaultcircleedgemd)
- [CircleFill](#classesdefaultcirclefillmd)
- [Compare](#classesdefaultcomparemd)
- [ContextMenu](#classesdefaultcontextmenumd)
- [Db2LineAngularDimension](#classesdefaultdb2lineangulardimensionmd)
- [Db2dPolyline](#classesdefaultdb2dpolylinemd)
- [Db3PointAngularDimension](#classesdefaultdb3pointangulardimensionmd)
- [Db3dPolyline](#classesdefaultdb3dpolylinemd)
- [DbAlignedDimension](#classesdefaultdbaligneddimensionmd)
- [DbArc](#classesdefaultdbarcmd)
- [DbArcDimension](#classesdefaultdbarcdimensionmd)
- [DbAttributeDefinition](#classesdefaultdbattributedefinitionmd)
- [DbBlock](#classesdefaultdbblockmd)
- [DbBlockReference](#classesdefaultdbblockreferencemd)
- [DbCircle](#classesdefaultdbcirclemd)
- [DbCurve](#classesdefaultdbcurvemd)
- [DbDiametricDimension](#classesdefaultdbdiametricdimensionmd)
- [DbDimension](#classesdefaultdbdimensionmd)
- [DbDocument](#classesdefaultdbdocumentmd)
- [DbEllipse](#classesdefaultdbellipsemd)
- [DbEntity](#classesdefaultdbentitymd)
- [DbHatch](#classesdefaultdbhatchmd)
- [DbLayer](#classesdefaultdblayermd)
- [DbLine](#classesdefaultdblinemd)
- [DbLineType](#classesdefaultdblinetypemd)
- [DbMLeader](#classesdefaultdbmleadermd)
- [DbMText](#classesdefaultdbmtextmd)
- [DbOrdinateDimension](#classesdefaultdbordinatedimensionmd)
- [DbPolyline](#classesdefaultdbpolylinemd)
- [DbRadialDimension](#classesdefaultdbradialdimensionmd)
- [DbRadialDimensionLarge](#classesdefaultdbradialdimensionlargemd)
- [DbRasterImage](#classesdefaultdbrasterimagemd)
- [DbRotatedDimension](#classesdefaultdbrotateddimensionmd)
- [DbShape](#classesdefaultdbshapemd)
- [DbSpline](#classesdefaultdbsplinemd)
- [DbTable](#classesdefaultdbtablemd)
- [DbText](#classesdefaultdbtextmd)
- [DbTextStyle](#classesdefaultdbtextstylemd)
- [DbWipeout](#classesdefaultdbwipeoutmd)
- [DeckLayer](#classesdefaultdecklayermd)
- [DiffusedApertureMarker](#classesdefaultdiffusedaperturemarkermd)
- [DivOverlay](#classesdefaultdivoverlaymd)
- [EllipseEdge](#classesdefaultellipseedgemd)
- [EllipseFill](#classesdefaultellipsefillmd)
- [FillExtrusion](#classesdefaultfillextrusionmd)
- [FluorescenceMarker](#classesdefaultfluorescencemarkermd)
- [GeoBounds](#classesdefaultgeoboundsmd)
- [GeoPoint](#classesdefaultgeopointmd)
- [GeoProjection](#classesdefaultgeoprojectionmd)
- [HaloRingMarker](#classesdefaulthaloringmarkermd)
- [Heatmap](#classesdefaultheatmapmd)
- [LnglatProjection](#classesdefaultlnglatprojectionmd)
- [MapGlUtils](#classesdefaultmapglutilsmd)
- [MarkerCluster](#classesdefaultmarkerclustermd)
- [MiniMapControl](#classesdefaultminimapcontrolmd)
- [MousePositionControl](#classesdefaultmousepositioncontrolmd)
- [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)
- [Polygon](#classesdefaultpolygonmd)
- [Polyline](#classesdefaultpolylinemd)
- [PolylineArrow](#classesdefaultpolylinearrowmd)
- [Projection](#classesdefaultprojectionmd)
- [ReglBaseLayer](#classesdefaultreglbaselayermd)
- [RotatingApertureMarker](#classesdefaultrotatingaperturemarkermd)
- [RotatingTextBorderMarker](#classesdefaultrotatingtextbordermarkermd)
- [Service](#classesdefaultservicemd)
- [SkyLayer](#classesdefaultskylayermd)
- [SvgOverlay](#classesdefaultsvgoverlaymd)
- [Symbol](#classesdefaultsymbolmd)
- [Text](#classesdefaulttextmd)
- [ThreeLayer](#classesdefaultthreelayermd)

#### Interfaces

- [AnimateMarkerLayerOption](#interfacesdefaultanimatemarkerlayeroptionmd)
- [Animation](#interfacesdefaultanimationmd)
- [AnimationState](#interfacesdefaultanimationstatemd)
- [BackgroundLayerOptions](#interfacesdefaultbackgroundlayeroptionsmd)
- [CircleEdgeOptions](#interfacesdefaultcircleedgeoptionsmd)
- [CircleFillOptions](#interfacesdefaultcirclefilloptionsmd)
- [CircleOptions](#interfacesdefaultcircleoptionsmd)
- [Config](#interfacesdefaultconfigmd)
- [ContextMenuOptions](#interfacesdefaultcontextmenuoptionsmd)
- [ContextMenuSubItemOptions](#interfacesdefaultcontextmenusubitemoptionsmd)
- [DecayOptions](#interfacesdefaultdecayoptionsmd)
- [DivOverlayOptions](#interfacesdefaultdivoverlayoptionsmd)
- [DriverControls](#interfacesdefaultdrivercontrolsmd)
- [EllipseEdgeOptions](#interfacesdefaultellipseedgeoptionsmd)
- [EllipseFillOptions](#interfacesdefaultellipsefilloptionsmd)
- [Events](#interfacesdefaulteventsmd)
- [FillExtrusionOptions](#interfacesdefaultfillextrusionoptionsmd)
- [FrameAnimation](#interfacesdefaultframeanimationmd)
- [HeatmapOptions](#interfacesdefaultheatmapoptionsmd)
- [IAnimateFillLayerOptions](#interfacesdefaultianimatefilllayeroptionsmd)
- [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd)
- [IAnimateSymbolLayerOptions](#interfacesdefaultianimatesymbollayeroptionsmd)
- [IAnimateVectorLayerOptions](#interfacesdefaultianimatevectorlayeroptionsmd)
- [IAnimateVectorLayerResult](#interfacesdefaultianimatevectorlayerresultmd)
- [IComposeNewMap](#interfacesdefaulticomposenewmapmd)
- [IConditionQueryFeatures](#interfacesdefaulticonditionqueryfeaturesmd)
- [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd)
- [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd)
- [ICreateAntPathAnimateLineLayerOptions](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)
- [ICreateArrowAnimateLineLayerOptions](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)
- [ICreateEntitiesGeomData](#interfacesdefaulticreateentitiesgeomdatamd)
- [ICreateFillAnimateLayerResult](#interfacesdefaulticreatefillanimatelayerresultmd)
- [ICreateLineAnimateLayerResult](#interfacesdefaulticreatelineanimatelayerresultmd)
- [ICreateSymbolAnimateLayerResult](#interfacesdefaulticreatesymbolanimatelayerresultmd)
- [IDb2LineAngularDimension](#interfacesdefaultidb2lineangulardimensionmd)
- [IDb2dPolyline](#interfacesdefaultidb2dpolylinemd)
- [IDb3PointAngularDimension](#interfacesdefaultidb3pointangulardimensionmd)
- [IDb3dPolyline](#interfacesdefaultidb3dpolylinemd)
- [IDbAlignedDimension](#interfacesdefaultidbaligneddimensionmd)
- [IDbArc](#interfacesdefaultidbarcmd)
- [IDbArcDimension](#interfacesdefaultidbarcdimensionmd)
- [IDbBlock](#interfacesdefaultidbblockmd)
- [IDbBlockReference](#interfacesdefaultidbblockreferencemd)
- [IDbCircle](#interfacesdefaultidbcirclemd)
- [IDbCurve](#interfacesdefaultidbcurvemd)
- [IDbDiametricDimension](#interfacesdefaultidbdiametricdimensionmd)
- [IDbDimStyle](#interfacesdefaultidbdimstylemd)
- [IDbDimension](#interfacesdefaultidbdimensionmd)
- [IDbDocument](#interfacesdefaultidbdocumentmd)
- [IDbEllipse](#interfacesdefaultidbellipsemd)
- [IDbEntity](#interfacesdefaultidbentitymd)
- [IDbHatch](#interfacesdefaultidbhatchmd)
- [IDbLayer](#interfacesdefaultidblayermd)
- [IDbLine](#interfacesdefaultidblinemd)
- [IDbLinetype](#interfacesdefaultidblinetypemd)
- [IDbLinetypeStyle](#interfacesdefaultidblinetypestylemd)
- [IDbMText](#interfacesdefaultidbmtextmd)
- [IDbMatrixOp](#interfacesdefaultidbmatrixopmd)
- [IDbOrdinateDimension](#interfacesdefaultidbordinatedimensionmd)
- [IDbPolyline](#interfacesdefaultidbpolylinemd)
- [IDbRadialDimension](#interfacesdefaultidbradialdimensionmd)
- [IDbRadialDimensionLarge](#interfacesdefaultidbradialdimensionlargemd)
- [IDbRasterImage](#interfacesdefaultidbrasterimagemd)
- [IDbRotatedDimension](#interfacesdefaultidbrotateddimensionmd)
- [IDbShape](#interfacesdefaultidbshapemd)
- [IDbSpline](#interfacesdefaultidbsplinemd)
- [IDbTable](#interfacesdefaultidbtablemd)
- [IDbText](#interfacesdefaultidbtextmd)
- [IDbTextStyle](#interfacesdefaultidbtextstylemd)
- [IDbWipeout](#interfacesdefaultidbwipeoutmd)
- [IDeleteCache](#interfacesdefaultideletecachemd)
- [IDeleteStyle](#interfacesdefaultideletestylemd)
- [IDraw](#interfacesdefaultidrawmd)
- [IDrawOptions](#interfacesdefaultidrawoptionsmd)
- [IDrawTool](#interfacesdefaultidrawtoolmd)
- [IExportLayout](#interfacesdefaultiexportlayoutmd)
- [IExprQueryFeatures](#interfacesdefaultiexprqueryfeaturesmd)
- [IMapDiff](#interfacesdefaultimapdiffmd)
- [IMapLayer](#interfacesdefaultimaplayermd)
- [IMapStyleParam](#interfacesdefaultimapstyleparammd)
- [IMatchObject](#interfacesdefaultimatchobjectmd)
- [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd)
- [IOpenMapParam](#interfacesdefaultiopenmapparammd)
- [IOpenMapResponse](#interfacesdefaultiopenmapresponsemd)
- [IPointQueryFeatures](#interfacesdefaultipointqueryfeaturesmd)
- [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd)
- [IRectQueryFeatures](#interfacesdefaultirectqueryfeaturesmd)
- [IRequest](#interfacesdefaultirequestmd)
- [ISliceCacheZoom](#interfacesdefaultislicecachezoommd)
- [ISliceLayer](#interfacesdefaultislicelayermd)
- [ITileUrlParam](#interfacesdefaultitileurlparammd)
- [IUpdateMapParam](#interfacesdefaultiupdatemapparammd)
- [IUpdateStyle](#interfacesdefaultiupdatestylemd)
- [IWmsTileUrl](#interfacesdefaultiwmstileurlmd)
- [IWorkspace](#interfacesdefaultiworkspacemd)
- [InertiaOptions](#interfacesdefaultinertiaoptionsmd)
- [KeyframeOptions](#interfacesdefaultkeyframeoptionsmd)
- [LineGeoJsonInput](#interfacesdefaultlinegeojsoninputmd)
- [MarkerClusterData](#interfacesdefaultmarkerclusterdatamd)
- [MarkerClusterOptions](#interfacesdefaultmarkerclusteroptionsmd)
- [Methods](#interfacesdefaultmethodsmd)
- [MiniMapControlOption](#interfacesdefaultminimapcontroloptionmd)
- [MousePositionControlOption](#interfacesdefaultmousepositioncontroloptionmd)
- [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd)
- [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd)
- [PlaybackControls](#interfacesdefaultplaybackcontrolsmd)
- [PlaybackOptions](#interfacesdefaultplaybackoptionsmd)
- [PointGeoJsonInput](#interfacesdefaultpointgeojsoninputmd)
- [PolygonOptions](#interfacesdefaultpolygonoptionsmd)
- [PolylineArrowOptions](#interfacesdefaultpolylinearrowoptionsmd)
- [PolylineOptions](#interfacesdefaultpolylineoptionsmd)
- [Response](#interfacesdefaultresponsemd)
- [ScriptDefaultOptions](#interfacesdefaultscriptdefaultoptionsmd)
- [SkyLayerOptions](#interfacesdefaultskylayeroptionsmd)
- [SpringOptions](#interfacesdefaultspringoptionsmd)
- [SvgElementOptions](#interfacesdefaultsvgelementoptionsmd)
- [SvgOverlayOptions](#interfacesdefaultsvgoverlayoptionsmd)
- [SymbolOptions](#interfacesdefaultsymboloptionsmd)
- [TextOptions](#interfacesdefaulttextoptionsmd)
- [ThreeJsContext](#interfacesdefaultthreejscontextmd)
- [ThreeJsContextOptions](#interfacesdefaultthreejscontextoptionsmd)
- [ThreeLayerOptions](#interfacesdefaultthreelayeroptionsmd)
- [createMarkerOptions](#interfacesdefaultcreatemarkeroptionsmd)

#### Type aliases

- [AnimateMarkerType](#animatemarkertype)
- [AnimationOps](#animationops)
- [BackgroundLayerSpecification](#backgroundlayerspecification)
- [CameraFunctionSpecificationEx](#camerafunctionspecificationex)
- [CircleLayerSpecification](#circlelayerspecification)
- [CircleLayerStyleProp](#circlelayerstyleprop)
- [ColorSpecification](#colorspecification)
- [CompositeFunctionSpecification](#compositefunctionspecification)
- [DataDrivenPropertyValueSpecification](#datadrivenpropertyvaluespecification)
- [Driver](#driver)
- [Easing](#easing)
- [EasingModifier](#easingmodifier)
- [ExpressionSpecificationEx](#expressionspecificationex)
- [FillExtrusionLayerSpecification](#fillextrusionlayerspecification)
- [FillExtrusionLayerStyleProp](#fillextrusionlayerstyleprop)
- [FillLayerSpecification](#filllayerspecification)
- [FillLayerStyleProp](#filllayerstyleprop)
- [FilterSpecification](#filterspecification)
- [FogSpecification](#fogspecification)
- [FormattedSpecification](#formattedspecification)
- [GeoJSONSourceSpecification](#geojsonsourcespecification)
- [GeoPointLike](#geopointlike)
- [HeatmapLayerSpecification](#heatmaplayerspecification)
- [HeatmapLayerStyleProp](#heatmaplayerstyleprop)
- [HillshadeLayerSpecification](#hillshadelayerspecification)
- [HillshadeLayerStyleProp](#hillshadelayerstyleprop)
- [IDbPoint](#idbpoint)
- [ImageSourceSpecification](#imagesourcespecification)
- [LayerCallback](#layercallback)
- [LayerRef](#layerref)
- [LayerRefFunc](#layerreffunc)
- [LayerRefFunc0](#layerreffunc0)
- [LayerRefFunc1](#layerreffunc1)
- [LayerRefFunc2](#layerreffunc2)
- [LayerRefFunc3](#layerreffunc3)
- [LayerSpecification](#layerspecification)
- [LightSpecification](#lightspecification)
- [LineLayerSpecification](#linelayerspecification)
- [LineLayerStyleProp](#linelayerstyleprop)
- [OffHandler](#offhandler)
- [PromoteIdSpecificationEx](#promoteidspecificationex)
- [PropName](#propname)
- [PropValue](#propvalue)
- [PropertyValueSpecificationEx](#propertyvaluespecificationex)
- [RasterDEMSourceSpecification](#rasterdemsourcespecification)
- [RasterLayerSpecification](#rasterlayerspecification)
- [RasterLayerStyleProp](#rasterlayerstyleprop)
- [RasterSourceSpecification](#rastersourcespecification)
- [ResolvedImageSpecification](#resolvedimagespecification)
- [SkyLayerSpecification](#skylayerspecification)
- [SourceBoundUtils](#sourceboundutils)
- [SourceFunctionSpecification](#sourcefunctionspecification)
- [SourceOrData](#sourceordata)
- [SourceRef](#sourceref)
- [SourceRefFunc0](#sourcereffunc0)
- [SourceRefFunc1](#sourcereffunc1)
- [SourceRefFunc2](#sourcereffunc2)
- [SourceRefFunc3](#sourcereffunc3)
- [SourceSpecification](#sourcespecification)
- [StyleSpecification](#stylespecification)
- [SymbolLayerSpecification](#symbollayerspecification)
- [SymbolLayerStyleProp](#symbollayerstyleprop)
- [TerrainSpecificationEx](#terrainspecificationex)
- [TransitionSpecification](#transitionspecification)
- [VectorSourceSpecification](#vectorsourcespecification)
- [VideoSourceSpecification](#videosourcespecification)
- [mat2dtype](#mat2dtype)
- [mat2type](#mat2type)
- [mat3type](#mat3type)
- [mat4type](#mat4type)
- [quattype](#quattype)
- [vec2type](#vec2type)
- [vec3type](#vec3type)
- [vec4type](#vec4type)

#### Variables

- [Draw](#draw)
- [EPSILON](#epsilon)
- [EVENTS](#events)
- [METHODS](#methods)
- [httpHelper](#httphelper)
- [transform](#transform)

#### Functions

- [Graph](#graph)
- [RandomID](#randomid)
- [Scene](#scene)
- [WorkerExpose](#workerexpose)
- [WorkerLink](#workerlink)
- [WorkerProxy](#workerproxy)
- [\_getEdgeIntersection](#_getedgeintersection)
- [addScript](#addscript)
- [angle](#angle)
- [animateVectorLayer](#animatevectorlayer)
- [anticipate](#anticipate)
- [applyMixins](#applymixins)
- [applyMixinsWithoutProperties](#applymixinswithoutproperties)
- [applyOffset](#applyoffset)
- [attract](#attract)
- [attractExpo](#attractexpo)
- [backIn](#backin)
- [backInOut](#backinout)
- [backOut](#backout)
- [bezierCurveToPolyline](#beziercurvetopolyline)
- [bounceIn](#bouncein)
- [bounceInOut](#bounceinout)
- [bounceOut](#bounceout)
- [bufferConvexPolygon](#bufferconvexpolygon)
- [buildTopoGraph](#buildtopograph)
- [buildTransformer](#buildtransformer)
- [buildTransformerMatrix3d](#buildtransformermatrix3d)
- [calcPolygonArea](#calcpolygonarea)
- [calculateSignedArea](#calculatesignedarea)
- [circIn](#circin)
- [circInOut](#circinout)
- [circOut](#circout)
- [clamp](#clamp)
- [clipPolygon](#clippolygon)
- [clipSegment](#clipsegment)
- [cloneDeep](#clonedeep)
- [closePolygon](#closepolygon)
- [closestPointOnPolyline](#closestpointonpolyline)
- [closestPointOnPolylines](#closestpointonpolylines)
- [closestPointOnSegment](#closestpointonsegment)
- [coordTransfromByFourParamter](#coordtransfrombyfourparamter)
- [coordTransfromByInvFourParamter](#coordtransfrombyinvfourparamter)
- [coordTransfromGetFourParamter](#coordtransfromgetfourparamter)
- [createAnimateFillLayer](#createanimatefilllayer)
- [createAnimateImages](#createanimateimages)
- [createAnimateLineLayer](#createanimatelinelayer)
- [createAnimateSymbolLayer](#createanimatesymbollayer)
- [createAnimation](#createanimation)
- [createAntPathAnimateImages](#createantpathanimateimages)
- [createAntPathAnimateLineLayer](#createantpathanimatelinelayer)
- [createAnticipate](#createanticipate)
- [createArrowAnimateImages](#createarrowanimateimages)
- [createArrowAnimateLineLayer](#createarrowanimatelinelayer)
- [createAttractor](#createattractor)
- [createBackIn](#createbackin)
- [createExpoIn](#createexpoin)
- [createFrameAnimation](#createframeanimation)
- [createLineGeoJson](#createlinegeojson)
- [createMarker](#createmarker)
- [createObjectOffset](#createobjectoffset)
- [createObjectPolygonUtil](#createobjectpolygonutil)
- [createPointGeoJson](#createpointgeojson)
- [createPolygonGeoJson](#createpolygongeojson)
- [cubicBezier](#cubicbezier)
- [decay](#decay)
- [degToRad](#degtorad)
- [degreesToRadians](#degreestoradians)
- [distance](#distance)
- [easeIn](#easein)
- [easeInOut](#easeinout)
- [easeOut](#easeout)
- [entColorToHtmlColor](#entcolortohtmlcolor)
- [equals](#equals)
- [findShortestPath](#findshortestpath)
- [geoBounds](#geobounds)
- [geoPoint](#geopoint)
- [getBezierCurveLength](#getbeziercurvelength)
- [getCircleFeature](#getcirclefeature)
- [getCirclePolygonCoordinates](#getcirclepolygoncoordinates)
- [getEllipseFeature](#getellipsefeature)
- [getEllipsePolygonCoordinates](#getellipsepolygoncoordinates)
- [getEnvelopBounds](#getenvelopbounds)
- [getGeoBounds](#getgeobounds)
- [getOptionValue](#getoptionvalue)
- [getTempMapId](#gettempmapid)
- [hexToBinStr](#hextobinstr)
- [htmlColorToEntColor](#htmlcolortoentcolor)
- [inertia](#inertia)
- [interpolate](#interpolate)
- [interpolateLineRange](#interpolatelinerange)
- [interpolatePointsByRatio](#interpolatepointsbyratio)
- [isClosedPolygon](#isclosedpolygon)
- [isCounterClockwise](#iscounterclockwise)
- [isGeoPointLike](#isgeopointlike)
- [isPoint](#ispoint)
- [isPoint3D](#ispoint3d)
- [isPointInPolygon](#ispointinpolygon)
- [isZero](#iszero)
- [kebabCase](#kebabcase)
- [keyframes](#keyframes)
- [lineSplit](#linesplit)
- [linear](#linear)
- [metersPerPixel](#metersperpixel)
- [mirrorEasing](#mirroreasing)
- [mix](#mix)
- [mixColor](#mixcolor)
- [mixComplex](#mixcomplex)
- [multiLineSplit](#multilinesplit)
- [offsetPointLine](#offsetpointline)
- [offsetPoints](#offsetpoints)
- [openMapDarkStyle](#openmapdarkstyle)
- [openMapLightStyle](#openmaplightstyle)
- [pick](#pick)
- [pipe](#pipe)
- [pixelValue](#pixelvalue)
- [pointFromVector](#pointfromvector)
- [pointToSegmentDistance](#pointtosegmentdistance)
- [polygonCentroid](#polygoncentroid)
- [polygonIsClockwise](#polygonisclockwise)
- [polylineMarginToPolygon](#polylinemargintopolygon)
- [polylineToBezierCurve](#polylinetobeziercurve)
- [progress](#progress)
- [radToDeg](#radtodeg)
- [radiansToDegrees](#radianstodegrees)
- [randInt](#randint)
- [randomColor](#randomcolor)
- [reverseEasing](#reverseeasing)
- [segmentIntersect](#segmentintersect)
- [simplify](#simplify)
- [smooth](#smooth)
- [smoothFrame](#smoothframe)
- [snap](#snap)
- [spring](#spring)
- [steps](#steps)
- [syncMaps](#syncmaps)
- [toDecimal](#todecimal)
- [toRadian](#toradian)
- [upperCamelCase](#uppercamelcase)
- [utf8ToUnicode](#utf8tounicode)
- [vectorContour](#vectorcontour)
- [velocityPerFrame](#velocityperframe)
- [velocityPerSecond](#velocitypersecond)
- [wrap](#wrap)

### Type aliases

#### AnimateMarkerType

Ƭ **AnimateMarkerType**: ``"breathingAperture"`` \| ``"rotatingAperture"`` \| ``"haloRing"`` \| ``"diffusedAperture"`` \| ``"rotatingTextBorder"`` \| ``"fluorescence"``

breathingAperture 呼吸的光圈.
rotatingAperture 旋转的光环
haloRing 发光的光环
diffusedAperture 扩散的点
rotatingTextBorder 旋转的文本框
fluorescence 荧光点

___

#### AnimationOps

Ƭ **AnimationOps**<V\>: [*PlaybackOptions*](#interfacesdefaultplaybackoptionsmd)<V\> & [*DecayOptions*](#interfacesdefaultdecayoptionsmd) \| [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd)<V\> \| [*SpringOptions*](#interfacesdefaultspringoptionsmd)

##### Type parameters

| Name |
| :------ |
| `V` |

___

#### BackgroundLayerSpecification

Ƭ **BackgroundLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.background-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.background-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.background-pattern?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `type` | ``"background"`` |

___

#### CameraFunctionSpecificationEx

Ƭ **CameraFunctionSpecificationEx**<T\>: { `stops`: [*number*, T][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, T][] ; `type`: ``"interval"``  }

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### CircleLayerSpecification

Ƭ **CircleLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.circle-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.circle-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.circle-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.circle-pitch-scale?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.circle-radius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-stroke-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.circle-stroke-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-stroke-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.circle-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"circle"`` |

___

#### CircleLayerStyleProp

Ƭ **CircleLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `circleBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `circleOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circlePitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `circlePitchScale?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `circleRadius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleStrokeColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `circleStrokeOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleStrokeWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `circleTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### ColorSpecification

Ƭ **ColorSpecification**: *string*

___

#### CompositeFunctionSpecification

Ƭ **CompositeFunctionSpecification**<T\>: { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, T][] ; `type`: ``"exponential"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, T][] ; `type`: ``"interval"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, T][] ; `type`: ``"categorical"``  }

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### DataDrivenPropertyValueSpecification

Ƭ **DataDrivenPropertyValueSpecification**<T\>: T \| [*CameraFunctionSpecificationEx*](#camerafunctionspecificationex)<T\> \| [*SourceFunctionSpecification*](#sourcefunctionspecification)<T\> \| [*CompositeFunctionSpecification*](#compositefunctionspecification)<T\> \| [*ExpressionSpecificationEx*](#expressionspecificationex)

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### Driver

Ƭ **Driver**: (`update`: Update) => [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

##### Type declaration

▸ (`update`: Update): [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `update` | Update |

**Returns:** [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

___

#### Easing

Ƭ **Easing**: (`v`: *number*) => *number*

##### Type declaration

▸ (`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### EasingModifier

Ƭ **EasingModifier**: (`easing`: [*Easing*](#easing)) => [*Easing*](#easing)

##### Type declaration

▸ (`easing`: [*Easing*](#easing)): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

#### ExpressionSpecificationEx

Ƭ **ExpressionSpecificationEx**: *unknown*[]

___

#### FillExtrusionLayerSpecification

Ƭ **FillExtrusionLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.fill-extrusion-base?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-extrusion-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-extrusion-height?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-extrusion-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.fill-extrusion-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.fill-extrusion-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.fill-extrusion-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.fill-extrusion-vertical-gradient?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"fill-extrusion"`` |

___

#### FillExtrusionLayerStyleProp

Ƭ **FillExtrusionLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `fillExtrusionBase?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillExtrusionColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillExtrusionHeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillExtrusionOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `fillExtrusionPattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `fillExtrusionTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `fillExtrusionTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `fillExtrusionVerticalGradient?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### FillLayerSpecification

Ƭ **FillLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.fill-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.fill-antialias?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `paint.fill-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-outline-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.fill-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.fill-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"fill"`` |

___

#### FillLayerStyleProp

Ƭ **FillLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `fillAntialias?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `fillColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillOutlineColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillPattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `fillSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `fillTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### FilterSpecification

Ƭ **FilterSpecification**: [``"has"``, *string*] \| [``"!has"``, *string*] \| [``"=="``, *string*, *string* \| *number* \| *boolean*] \| [``"!="``, *string*, *string* \| *number* \| *boolean*] \| [``">"``, *string*, *string* \| *number* \| *boolean*] \| [``">="``, *string*, *string* \| *number* \| *boolean*] \| [``"<"``, *string*, *string* \| *number* \| *boolean*] \| [``"<="``, *string*, *string* \| *number* \| *boolean*] \| (*string* \| [*FilterSpecification*](#filterspecification))[]

___

#### FogSpecification

Ƭ **FogSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `horizon-blend?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `range?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

___

#### FormattedSpecification

Ƭ **FormattedSpecification**: *string*

___

#### GeoJSONSourceSpecification

Ƭ **GeoJSONSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `buffer?` | *number* |
| `cluster?` | *boolean* |
| `clusterMaxZoom?` | *number* |
| `clusterMinPoints?` | *number* |
| `clusterProperties?` | *unknown* |
| `clusterRadius?` | *number* |
| `data?` | *unknown* |
| `filter?` | *unknown* |
| `generateId?` | *boolean* |
| `lineMetrics?` | *boolean* |
| `maxzoom?` | *number* |
| `promoteId?` | [*PromoteIdSpecificationEx*](#promoteidspecificationex) |
| `tolerance?` | *number* |
| `type` | ``"geojson"`` |

___

#### GeoPointLike

Ƭ **GeoPointLike**: [*number*, *number*] \| [*number*, *number*, *number*] \| [*GeoPoint*](#classesdefaultgeopointmd) \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  }

___

#### HeatmapLayerSpecification

Ƭ **HeatmapLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.heatmap-color?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.heatmap-intensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.heatmap-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.heatmap-radius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.heatmap-weight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"heatmap"`` |

___

#### HeatmapLayerStyleProp

Ƭ **HeatmapLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `heatmapColor?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `heatmapIntensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `heatmapOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `heatmapRadius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `heatmapWeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### HillshadeLayerSpecification

Ƭ **HillshadeLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.hillshade-accent-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.hillshade-exaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.hillshade-highlight-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.hillshade-illumination-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.hillshade-illumination-direction?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.hillshade-shadow-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"hillshade"`` |

___

#### HillshadeLayerStyleProp

Ƭ **HillshadeLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `hillshadeAccentColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `hillshadeExaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `hillshadeHighlightColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `hillshadeIlluminationAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `hillshadeIlluminationDirection?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `hillshadeShadowColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### IDbPoint

Ƭ **IDbPoint**: [*number*, *number*, number?]

坐标类型接口

___

#### ImageSourceSpecification

Ƭ **ImageSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `coordinates` | [[*number*, *number*], [*number*, *number*], [*number*, *number*], [*number*, *number*]] |
| `type` | ``"image"`` |
| `url` | *string* |

___

#### LayerCallback

Ƭ **LayerCallback**: (`arg0`: {}) => *void*

##### Type declaration

▸ (`arg0`: {}): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | *object* |

**Returns:** *void*

___

#### LayerRef

Ƭ **LayerRef**: *string* \| *string*[] \| RegExp \| (`arg0`: [*LayerSpecification*](#layerspecification)) => *boolean*

___

#### LayerRefFunc

Ƭ **LayerRefFunc**: (`arg0`: [*LayerRef*](#layerref), ...`args`: *any*[]) => *void*

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), ...`args`: *any*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `...args` | *any*[] |

**Returns:** *void*

___

#### LayerRefFunc0

Ƭ **LayerRefFunc0**: (`arg0`: [*LayerRef*](#layerref)) => *void*

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |

**Returns:** *void*

___

#### LayerRefFunc1

Ƭ **LayerRefFunc1**<T1\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |

**Returns:** *void*

___

#### LayerRefFunc2

Ƭ **LayerRefFunc2**<T1, T2\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |
| `arg2` | T2 |

**Returns:** *void*

___

#### LayerRefFunc3

Ƭ **LayerRefFunc3**<T1, T2, T3\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2, `arg3`: T3) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |
| `T3` |

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2, `arg3`: T3): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |
| `arg2` | T2 |
| `arg3` | T3 |

**Returns:** *void*

___

#### LayerSpecification

Ƭ **LayerSpecification**: [*FillLayerSpecification*](#filllayerspecification) \| [*LineLayerSpecification*](#linelayerspecification) \| [*SymbolLayerSpecification*](#symbollayerspecification) \| [*CircleLayerSpecification*](#circlelayerspecification) \| [*HeatmapLayerSpecification*](#heatmaplayerspecification) \| [*FillExtrusionLayerSpecification*](#fillextrusionlayerspecification) \| [*RasterLayerSpecification*](#rasterlayerspecification) \| [*HillshadeLayerSpecification*](#hillshadelayerspecification) \| [*BackgroundLayerSpecification*](#backgroundlayerspecification) \| [*SkyLayerSpecification*](#skylayerspecification)

___

#### LightSpecification

Ƭ **LightSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `intensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `position?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*]\> |

___

#### LineLayerSpecification

Ƭ **LineLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.line-cap?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |
| `layout.line-join?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"bevel"`` \| ``"round"`` \| ``"miter"``\> |
| `layout.line-miter-limit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.line-round-limit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.line-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.line-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.line-dasharray?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |
| `paint.line-gap-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-gradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.line-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.line-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.line-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.line-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"line"`` |

___

#### LineLayerStyleProp

Ƭ **LineLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `lineBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineCap?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |
| `lineColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `lineDasharray?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |
| `lineGapWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineGradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `lineJoin?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"bevel"`` \| ``"round"`` \| ``"miter"``\> |
| `lineMiterMimit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `lineOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `linePattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `lineRoundLimit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `lineSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `lineTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `lineWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### OffHandler

Ƭ **OffHandler**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### PromoteIdSpecificationEx

Ƭ **PromoteIdSpecificationEx**: *Record*<string, string\> \| *string*

___

#### PropName

Ƭ **PropName**: *string*

___

#### PropValue

Ƭ **PropValue**: *string* \| *any*[] \| ``null`` \| *number* \| {}

___

#### PropertyValueSpecificationEx

Ƭ **PropertyValueSpecificationEx**<T\>: T \| [*CameraFunctionSpecificationEx*](#camerafunctionspecificationex)<T\> \| [*ExpressionSpecificationEx*](#expressionspecificationex)

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### RasterDEMSourceSpecification

Ƭ **RasterDEMSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `encoding?` | ``"terrarium"`` \| ``"mapbox"`` |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `tileSize?` | *number* |
| `tiles?` | *string*[] |
| `type` | ``"raster-dem"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

#### RasterLayerSpecification

Ƭ **RasterLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.raster-brightness-max?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-brightness-min?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-contrast?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-fade-duration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-hue-rotate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-resampling?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"linear"`` \| ``"nearest"``\> |
| `paint.raster-saturation?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"raster"`` |

___

#### RasterLayerStyleProp

Ƭ **RasterLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `rasterBrightnessMax?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterBrightnessMin?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterContrast?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterFadeDuration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterHueRotate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterResampling?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"linear"`` \| ``"nearest"``\> |
| `rasterSaturation?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### RasterSourceSpecification

Ƭ **RasterSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `scheme?` | ``"xyz"`` \| ``"tms"`` |
| `tileSize?` | *number* |
| `tiles?` | *string*[] |
| `type` | ``"raster"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

#### ResolvedImageSpecification

Ƭ **ResolvedImageSpecification**: *string*

___

#### SkyLayerSpecification

Ƭ **SkyLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.sky-atmosphere-color?` | [*ColorSpecification*](#colorspecification) |
| `paint.sky-atmosphere-halo-color?` | [*ColorSpecification*](#colorspecification) |
| `paint.sky-atmosphere-sun?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.sky-atmosphere-sun-intensity?` | *number* |
| `paint.sky-gradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.sky-gradient-center?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.sky-gradient-radius?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.sky-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.sky-type?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\> |
| `type` | ``"sky"`` |

___

#### SourceBoundUtils

Ƭ **SourceBoundUtils**: [*MapGlUtils*](#classesdefaultmapglutilsmd)

___

#### SourceFunctionSpecification

Ƭ **SourceFunctionSpecification**<T\>: { `default?`: T ; `property`: *string* ; `stops`: [*number*, T][] ; `type`: ``"exponential"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [*number*, T][] ; `type`: ``"interval"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, T][] ; `type`: ``"categorical"``  } \| { `default?`: T ; `property`: *string* ; `type`: ``"identity"``  }

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### SourceOrData

Ƭ **SourceOrData**: [*SourceSpecification*](#sourcespecification) \| *string* \| GeoJsonGeomertry

___

#### SourceRef

Ƭ **SourceRef**: [*LayerRef*](#layerref)

___

#### SourceRefFunc0

Ƭ **SourceRefFunc0**: (`arg0`: [*SourceRef*](#sourceref)) => *void*

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |

**Returns:** *void*

___

#### SourceRefFunc1

Ƭ **SourceRefFunc1**<T1\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |

**Returns:** *void*

___

#### SourceRefFunc2

Ƭ **SourceRefFunc2**<T1, T2\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |
| `arg2` | T2 |

**Returns:** *void*

___

#### SourceRefFunc3

Ƭ **SourceRefFunc3**<T1, T2, T3\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2, `arg3`: T3) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |
| `T3` |

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2, `arg3`: T3): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |
| `arg2` | T2 |
| `arg3` | T3 |

**Returns:** *void*

___

#### SourceSpecification

Ƭ **SourceSpecification**: [*VectorSourceSpecification*](#vectorsourcespecification) \| [*RasterSourceSpecification*](#rastersourcespecification) \| [*RasterDEMSourceSpecification*](#rasterdemsourcespecification) \| [*GeoJSONSourceSpecification*](#geojsonsourcespecification) \| [*VideoSourceSpecification*](#videosourcespecification) \| [*ImageSourceSpecification*](#imagesourcespecification)

___

#### StyleSpecification

Ƭ **StyleSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `bearing?` | *number* |
| `center?` | *number*[] |
| `fog?` | [*FogSpecification*](#fogspecification) |
| `glyphs?` | *string* |
| `layers` | [*LayerSpecification*](#layerspecification)[] |
| `light?` | [*LightSpecification*](#lightspecification) |
| `metadata?` | *unknown* |
| `name?` | *string* |
| `pitch?` | *number* |
| `sources` | *Record*<string, [*SourceSpecification*](#sourcespecification)\> |
| `sprite?` | *string* |
| `terrain?` | [*TerrainSpecificationEx*](#terrainspecificationex) |
| `transition?` | [*TransitionSpecification*](#transitionspecification) |
| `version` | ``8`` |
| `zoom?` | *number* |

___

#### SymbolLayerSpecification

Ƭ **SymbolLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.icon-allow-overlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-anchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `layout.icon-ignore-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-image?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `layout.icon-keep-upright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `layout.icon-optional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.icon-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.icon-rotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.icon-rotation-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.icon-size?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.icon-text-fit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |
| `layout.icon-text-fit-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |
| `layout.symbol-avoid-edges?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.symbol-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"point"`` \| ``"line"`` \| ``"line-center"``\> |
| `layout.symbol-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.symbol-spacing?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.symbol-z-order?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"auto"`` \| ``"viewport-y"`` \| ``"source"``\> |
| `layout.text-allow-overlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-anchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `layout.text-field?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*FormattedSpecification*](#formattedspecification)\> |
| `layout.text-font?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |
| `layout.text-ignore-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-justify?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"auto"`` \| ``"left"`` \| ``"center"`` \| ``"right"``\> |
| `layout.text-keep-upright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-letter-spacing?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-line-height?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-max-angle?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.text-max-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `layout.text-optional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.text-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.text-radial-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-rotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-rotation-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.text-size?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-transform?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |
| `layout.text-variable-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``)[]\> |
| `layout.text-writing-mode?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"horizontal"`` \| ``"vertical"``)[]\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.icon-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.icon-halo-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-halo-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.icon-halo-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.icon-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.text-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.text-halo-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-halo-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.text-halo-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.text-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"symbol"`` |

___

#### SymbolLayerStyleProp

Ƭ **SymbolLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `iconAllowOverlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconAnchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `iconColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `iconHaloBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconHaloColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `iconHaloWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconIgnorePlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconImage?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `iconKeepUpright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `iconOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconOptional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `iconPitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `iconRotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconRotationAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `iconSize?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconTextFit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |
| `iconTextFitPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |
| `iconTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `iconTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `symbolAvoidEdges?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `symbolPlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"point"`` \| ``"line"`` \| ``"line-center"``\> |
| `symbolSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `symbolSpacing?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `symbolZOrder?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"auto"`` \| ``"viewport-y"`` \| ``"source"``\> |
| `textAllowOverlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textAnchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `textColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `textField?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*FormattedSpecification*](#formattedspecification)\> |
| `textFont?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |
| `textHaloBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textHaloColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `textHaloWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textIgnorePlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textJustify?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"auto"`` \| ``"left"`` \| ``"center"`` \| ``"right"``\> |
| `textKeepUpright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textLetterSpacing?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textLineHeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textMaxAngle?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `textMaxWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `textOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textOptional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `textPitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `textRadialOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textRotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textRotationAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `textSize?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textTransform?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |
| `textTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `textTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `textVariableAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``)[]\> |
| `textWritingMode?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"horizontal"`` \| ``"vertical"``)[]\> |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### TerrainSpecificationEx

Ƭ **TerrainSpecificationEx**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `exaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source` | *string* |

___

#### TransitionSpecification

Ƭ **TransitionSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `delay?` | *number* |
| `duration?` | *number* |

___

#### VectorSourceSpecification

Ƭ **VectorSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `promoteId?` | [*PromoteIdSpecificationEx*](#promoteidspecificationex) |
| `scheme?` | ``"xyz"`` \| ``"tms"`` |
| `tiles?` | *string*[] |
| `type` | ``"vector"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

#### VideoSourceSpecification

Ƭ **VideoSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `coordinates` | [[*number*, *number*], [*number*, *number*], [*number*, *number*], [*number*, *number*]] |
| `type` | ``"video"`` |
| `urls` | *string*[] |

___

#### mat2dtype

Ƭ **mat2dtype**: [*number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

#### mat2type

Ƭ **mat2type**: [*number*, *number*, *number*, *number*] \| Float32Array

___

#### mat3type

Ƭ **mat3type**: [*number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

#### mat4type

Ƭ **mat4type**: [*number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

#### quattype

Ƭ **quattype**: [*number*, *number*, *number*, *number*] \| Float32Array

___

#### vec2type

Ƭ **vec2type**: [*number*, *number*] \| Float32Array

___

#### vec3type

Ƭ **vec3type**: [*number*, *number*, *number*] \| Float32Array

___

#### vec4type

Ƭ **vec4type**: [*number*, *number*, *number*, *number*] \| Float32Array

### Variables

#### Draw

• `Const` **Draw**: *object*

##### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `Tool` | (`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)) => [*IDrawTool*](#interfacesdefaultidrawtoolmd) | 工具类. |
| `actionDraw` | (`map`: *any*, `modename`: *string*, `options?`: *Record*<string, any\>) => *any* | 绘制动作. |
| `actionDrawCircle` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制圆动作. |
| `actionDrawLineSting` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制线动作. |
| `actionDrawPoint` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制点动作. |
| `actionDrawPolygon` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制多边形动作. |
| `actionDrawRectangle` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制矩形动作. |
| `actionDrawSlantRectangle` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制斜矩形动作. |
| `actionSelect` | (`map`: *any*, `draw`: *any*, `options?`: *Record*<string, any\>) => *any* | 选择实体. 如果只能选择一个实体，options选项请输入selectSingle为true |
| `defaultOptions` | () => *any* | 缺省配置项. |
| `modes` | *Record*<string, any\> | 模式. |

___

#### EPSILON

• `Const` **EPSILON**: ``1e-8``= 0.00000001

___

#### EVENTS

• `Const` **EVENTS**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `ABORT` | *string* |
| `ERROR` | *string* |
| `LOAD` | *string* |
| `LOAD_END` | *string* |
| `LOAD_START` | *string* |
| `PROGRESS` | *string* |
| `READY_STATE_CHANGE` | *string* |
| `TIMEOUT` | *string* |

___

#### METHODS

• `Const` **METHODS**: [*Methods*](#interfacesdefaultmethodsmd)

___

#### httpHelper

• `Const` **httpHelper**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `configure` | (`opts`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *void* |
| `del` | (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `event` | *object* |
| `event.ABORT` | *string* |
| `event.ERROR` | *string* |
| `event.LOAD` | *string* |
| `event.LOAD_END` | *string* |
| `event.LOAD_START` | *string* |
| `event.PROGRESS` | *string* |
| `event.READY_STATE_CHANGE` | *string* |
| `event.TIMEOUT` | *string* |
| `get` | (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `methods` | [*Methods*](#interfacesdefaultmethodsmd) |
| `options` | (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `patch` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `post` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `put` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `rqeust` | (`args`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |

___

#### transform

• `Const` **transform**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `CRSTypes` | *typeof* CRSTypes |
| `EpsgCrsTypes` | *typeof* EpsgCrsTypes |
| `convert` | <T\>(`input`: T \| *string*, `crsFrom`: (`pt`: [*GeoPoint*](#classesdefaultgeopointmd)) => [*GeoPoint*](#classesdefaultgeopointmd) \| CRSTypes, `crsTo?`: CRSTypes) => T |
| `getEpsgCode` | (`coordinate`: *number* \| [*number*, *number*], `crs?`: EpsgCrsTypes, `is3DegreeBelt?`: *boolean*) => { `crs`: *string* ; `epsg`: *string* ; `is3DegreeBelt`: *boolean* ; `proj`: *undefined* \| *string*  }[] |
| `getEpsgParam` | (`crs`: EpsgCrsTypes, `lon?`: *number*) => ``null`` \| { `epsg`: *string* ; `proj`: *string*  } |

### Functions

#### Graph

▸ **Graph**(`serialized?`: Serialized): *object*

具有深度优先搜索和拓扑排序的图数据结构。

**`example`**
var graph = Graph()
.addEdge("s", "t", 10)
.addEdge("s", "y", 5)
.addEdge("s", "y", 4)
.addEdge("t", "y", 2)
.addEdge("y", "t", 3)
.addEdge("t", "x", 1)
.addEdge("y", "x", 9)
.addEdge("y", "z", 2)
.addEdge("x", "z", 4)
.addEdge("z", "x", 6);
var res = graph.shortestPath("s", "z")

##### Parameters

| Name | Type |
| :------ | :------ |
| `serialized?` | Serialized |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `addEdge` | (`u`: NodeId, `v`: NodeId, `weight?`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `addNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `adjacent` | (`node`: NodeId) => NodeId[] |
| `depthFirstSearch` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*, `errorOnCycle`: *boolean*) => *string*[] |
| `deserialize` | (`serialized`: Serialized) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `getEdgeWeight` | (`u`: NodeId, `v`: NodeId) => EdgeWeight |
| `hasCycle` | () => *boolean* |
| `hasEdge` | (`u`: NodeId, `v`: NodeId) => *boolean* |
| `indegree` | (`node`: NodeId) => *number* |
| `lowestCommonAncestors` | (`node1`: NodeId, `node2`: NodeId) => *string*[] |
| `nodes` | () => NodeId[] |
| `outdegree` | (`node`: NodeId) => *number* |
| `removeEdge` | (`u`: NodeId, `v`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `removeNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `serialize` | () => Serialized |
| `setEdgeWeight` | (`u`: NodeId, `v`: NodeId, `weight`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `shortestPath` | (`source`: NodeId, `destination`: NodeId) => *string*[] & { `weight?`: *number*  } |
| `topologicalSort` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*) => *string*[] |

___

#### RandomID

▸ **RandomID**(`length?`: *number*): *string*

生成随机ID

##### Parameters

| Name | Type |
| :------ | :------ |
| `length?` | *number* |

**Returns:** *string*

___

#### Scene

▸ **Scene**(`L7`: *any*, `map`: Map, `option?`: *object*): *object*

L7图层，可参考https://l7.antv.vision/.
返回一个场景对象

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `L7` | *any* | L7命名空间 |
| `map` | Map |  |
| `option?` | *object* |  |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `addControl` | (`ctr`: *any*) => *void* |
| `addFontFace` | (`fontFamily`: *string*, `fontPath`: *string*) => *void* |
| `addIconFont` | (`name`: *string*, `fontUnicode`: *string*) => *void* |
| `addIconFontGlyphs` | (`fontFamily`: *string*, `glyphs`: *any*[]) => *void* |
| `addIconFonts` | (`options`: *string*[][]) => *void* |
| `addImage` | (`id`: *string*, `img`: *any*) => *void* |
| `addLayer` | (`layer`: *any*) => *void* |
| `addMarker` | (`marker`: *any*) => *void* |
| `addMarkerLayer` | (`layer`: *any*) => *void* |
| `addPopup` | (`popup`: *any*) => *void* |
| `containerToLngLat` | (`pixel`: *any*) => *any* |
| `destroy` | () => *void* |
| `diasbleShaderPick` | () => *void* |
| `enableShaderPick` | () => *void* |
| `exportMap` | (`type?`: ``"png"`` \| ``"jpg"``) => *string* |
| `exportPng` | (`type?`: ``"png"`` \| ``"jpg"``) => *string* |
| `fitBounds` | (`bound`: *any*, `options?`: *unknown*) => *void* |
| `getBounds` | () => *any* |
| `getCenter` | (`options?`: *any*) => *any* |
| `getContainer` | () => ``null`` \| HTMLElement |
| `getControlByName` | (`name`: *string*) => *any* |
| `getLayer` | (`id`: *string*) => *any* |
| `getLayerByName` | (`name`: *string*) => *any* |
| `getLayers` | () => *any*[] |
| `getMapCanvasContainer` | () => HTMLElement |
| `getMapContainer` | () => ``null`` \| HTMLElement |
| `getMapService` | () => *any* |
| `getMaxZoom` | () => *number* |
| `getMinZoom` | () => *number* |
| `getPitch` | () => *number* |
| `getPointSizeRange` | () => *Float32Array* |
| `getRotation` | () => *number* |
| `getServiceContainer` | () => *any* |
| `getSize` | () => [*number*, *number*] |
| `getType` | () => *string* |
| `getZoom` | () => *number* |
| `hasImage` | (`id`: *string*) => *boolean* |
| `lngLatToContainer` | (`lnglat`: *any*) => *any* |
| `lngLatToPixel` | (`lnglat`: *any*) => *any* |
| `off` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `on` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `once` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `panBy` | (`x`: *number*, `y`: *number*) => *void* |
| `panTo` | (`p`: *any*) => *void* |
| `pixelToLngLat` | (`pixel`: *any*) => *any* |
| `registerPostProcessingPass` | (`constructor`: (...`args`: *any*[]) => *any*, `name`: *string*) => *void* |
| `registerRenderService` | (`render`: *any*) => *void* |
| `removeAllLayer` | () => *void* |
| `removeAllMakers` | () => *void* |
| `removeControl` | (`ctr`: *any*) => *void* |
| `removeImage` | (`id`: *string*) => *void* |
| `removeLayer` | (`layer`: *any*, `parentLayer?`: *any*) => *void* |
| `removeMarkerLayer` | (`layer`: *any*) => *void* |
| `render` | () => *void* |
| `setBgColor` | (`color`: *string*) => *void* |
| `setCenter` | (`center`: [*number*, *number*], `options?`: *any*) => *void* |
| `setEnableRender` | (`flag`: *boolean*) => *void* |
| `setMapStatus` | (`options`: *Partial*<any\>) => *void* |
| `setMapStyle` | (`style`: *any*) => *void* |
| `setPitch` | (`pitch`: *number*) => *void* |
| `setRotation` | (`rotation`: *number*) => *void* |
| `setZoom` | (`zoom`: *number*) => *void* |
| `setZoomAndCenter` | (`zoom`: *number*, `center`: *any*) => *void* |
| `zoomIn` | () => *void* |
| `zoomOut` | () => *void* |

___

#### WorkerExpose

▸ **WorkerExpose**(`target`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *any* |

**Returns:** *void*

___

#### WorkerLink

▸ **WorkerLink**(`worker`: Worker): *any*

和一个Worker相关联

##### Parameters

| Name | Type |
| :------ | :------ |
| `worker` | Worker |

**Returns:** *any*

___

#### WorkerProxy

▸ **WorkerProxy**(`obj`: Function \| *string*, `funcContext?`: *Record*<string, Function \| string\>): Function

将独立函数/类移动到工作线程的一种非常简单的方法。 或者，将 worker 中的对象或函数暴露给主线程。 所有调用都是异步的。与 async/await 配合使用效果很好

Example:
```typescript
function busyAdd(a, b) {
 let st = Date.now();
 while (true) {
   if ((Date.now() - st) > 2000) break;
 }
 return a + b;
}

(async () => {
 let workerAdd = vjmap.WorkerProxy(busyAdd);
 console.log(await workerAdd(10, 20)); //30
 // the busyAdd is executed in a worker so
 // the UI does not get blocked
})();

class Adder {
constructor() {
  this.count = 0;
}
add(a, b) {
 this.count++;
  return a + b;
}
}

(async () => {
let WAdder = vjmap.WorkerProxy(Adder);
let a = await new WAdder(); // instance created/running in worker
console.log(await a.count); // 0
console.log(await a.add(10, 20)); // 30
console.log(await a.count); // 1
})();

// or:
// worker.js

importScripts('https://cdn.jsdelivr.net/npm/moment@2.20.1/moment.min.js', '../dist/workly.js');
function friendlyTime(value) {
return moment(value).calendar(null, {
  sameDay: function (now) {
   if (now - this < 1000 * 60) {
      return "[Just now]";
   } else if (now - this < 1000 * 60 * 60) {
      return "[" + Math.round((now - this) / (1000 * 60)) + " mins ago]";
   } else {
     return '[Today at] LT'
   }
 }
});
}
vjmap.WorkerExpose(friendlyTime);
main.js

(async () => {
let w = vjmap.WorkerProxy("./worker.js");
let now = Date.now();
console.log(now);
console.log(await w(now));
console.log(await w(now - (24 * 60 * 60 * 1000)));
console.log(await w(now - (4 * 24 * 60 * 60 * 1000)));
})();

 function randAdd(a, b) {
     return randInt(a, b)  + 1000; // randInt这个函数是上下文传递进来的
 }

let randAddFunc = vjmap.WorkerProxy(randAdd, {
   randInt: vjmap.randInt // 把主进程库的函数做为上下文传进去
});
console.log(await randAddFunc(100, 300));
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `obj` | Function \| *string* |  |
| `funcContext?` | *Record*<string, Function \| string\> | 函数上下文，如果传入的obj是函数的话，需要把obj中函数里调用的函数名称和函数方法传进来 |

**Returns:** Function

___

#### \_getEdgeIntersection

▸ **_getEdgeIntersection**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `code`: *number*, `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `code` | *number* |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### addScript

▸ **addScript**(`scripts`: [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd) \| [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd)[]): *Promise*<unknown[]\>

将脚本注入.
脚本选项信息:
  `strategy`: 用于运行 JavaScript 的策略。可以是`inject`、`eval` 或`href`。默认自动检测.
  `injectLocation`: 用于注入资源的位置的 `document.querySelector` 参数。默认为 `head`.
  `async`: 异步加载脚本
  `src`: 脚本的来源

**`method`**

**`async`**

**`example`**
// you can add multiple loads
awit addScript([{
 src: "https://code.jquery.com/jquery-3.5.0.js"
}, {
 src: "https://code.jquery.com/jquery-3.2.0.js",
 async: true
}, {
 src: "https://code.jquery.com/jquery-3.3.0.js",
 async: true,
 injectLocation: '#main div.test',
}, {
 src: "https://code.jquery.com/jquery-3.4.0.js",
 strategy: 'eval',
}, {
// link tag
// css autodetected
 src: "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap-grid.min.css",
}])

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `scripts` | [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd) \| [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd)[] | Options for a script |

**Returns:** *Promise*<unknown[]\>

___

#### angle

▸ `Const` **angle**(`a`: Point23D, `b?`: Point23D): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | Point23D |
| `b` | Point23D |

**Returns:** *number*

___

#### animateVectorLayer

▸ `Const` **animateVectorLayer**(`map`: *Map*, `layerId`: *string*, `options?`: [*IAnimateVectorLayerOptions*](#interfacesdefaultianimatevectorlayeroptionsmd), `layerType?`: *number*): [*IAnimateVectorLayerResult*](#interfacesdefaultianimatevectorlayerresultmd)

创建矢量图层动画图层

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | *Map* | - | 地图对象 |
| `layerId` | *string* | - | 矢量图层id |
| `options` | [*IAnimateVectorLayerOptions*](#interfacesdefaultianimatevectorlayeroptionsmd) | {} | 选项 |
| `layerType?` | *number* | - | 图层类型 0 线 1 填充 2 符号点 |

**Returns:** [*IAnimateVectorLayerResult*](#interfacesdefaultianimatevectorlayerresultmd)

___

#### anticipate

▸ `Const` **anticipate**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### applyMixins

▸ **applyMixins**(`derivedCtor`: *any*, `baseCtors`: *any*[]): *void*

Copy methods and properties from one prototype into another.

**`see`** https://www.typescriptlang.org/docs/handbook/mixins.html

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `derivedCtor` | *any* | Class to mix methods and properties into. |
| `baseCtors` | *any*[] | Class to take all methods and properties from. |

**Returns:** *void*

___

#### applyMixinsWithoutProperties

▸ **applyMixinsWithoutProperties**(`derivedCtor`: *any*, `baseCtors`: *any*[]): *void*

Copy methods from one prototype into another.

**`see`** https://www.typescriptlang.org/docs/handbook/mixins.html

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `derivedCtor` | *any* | Class to mix methods into. |
| `baseCtors` | *any*[] | Class to take all methods from. |

**Returns:** *void*

___

#### applyOffset

▸ `Const` **applyOffset**(`from`: *number*, `to?`: *number*): *function*

Apply offset
A function that, given a value, will get the offset from `from`
and apply it to `to`

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *number* |
| `to?` | *number* |

**Returns:** (`v`: *number*) => *undefined* \| *number*

___

#### attract

▸ `Const` **attract**(`constant`: *number*, `origin`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `constant` | *number* |
| `origin` | *number* |
| `v` | *number* |

**Returns:** *number*

___

#### attractExpo

▸ `Const` **attractExpo**(`constant`: *number*, `origin`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `constant` | *number* |
| `origin` | *number* |
| `v` | *number* |

**Returns:** *number*

___

#### backIn

▸ `Const` **backIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### backInOut

▸ `Const` **backInOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### backOut

▸ `Const` **backOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### bezierCurveToPolyline

▸ **bezierCurveToPolyline**(`bezierCurve`: BezierCurve, `precision?`: *number*, `recursiveCount?`: *number*): CurvePoint[]

**`description`** 将 bezierCurve 转换为折线 [理想情况下，计算结果中相邻的两个点的距离等于设置的精度（单位 px）]

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `bezierCurve` | BezierCurve | - | 贝塞尔曲线 |
| `precision` | *number* | 5 | 想要的精度（并非总是可以实现）[建议精度 5-10。设置的精度通常是达不到的，除非设置较高的迭代次数，计算成本较高。] |
| `recursiveCount` | *number* | 0 | 递归计数 |

**Returns:** CurvePoint[]

___

#### bounceIn

▸ `Const` **bounceIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### bounceInOut

▸ `Const` **bounceInOut**(`p`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | *number* |

**Returns:** *number*

___

#### bounceOut

▸ `Const` **bounceOut**(`p`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | *number* |

**Returns:** *number*

___

#### bufferConvexPolygon

▸ **bufferConvexPolygon**(`ring`: [*GeoPoint*](#classesdefaultgeopointmd)[], `buffer`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

取一个凸环并通过在其周围应用缓冲区将其向外扩展。 此功能假定环是顺时针缠绕的。

##### Parameters

| Name | Type |
| :------ | :------ |
| `ring` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `buffer` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### buildTopoGraph

▸ **buildTopoGraph**(`lines`: { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[], `precision?`: *number*, `hasDirection?`: *boolean*): *object*

根据多条多段线，建立topo

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `lines` | { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[] | 坐标，请转成几何坐标，再传入 |
| `precision?` | *number* | 误差，小数点后几位， 以为相同, 如果两个点的坐标距离小于此值，则认为是同一个节点 |
| `hasDirection?` | *boolean* | 是否考虑方向 |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `graph` | *object* |
| `graph.addEdge` | (`u`: NodeId, `v`: NodeId, `weight?`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.addNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.adjacent` | (`node`: NodeId) => NodeId[] |
| `graph.depthFirstSearch` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*, `errorOnCycle`: *boolean*) => *string*[] |
| `graph.deserialize` | (`serialized`: Serialized) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.getEdgeWeight` | (`u`: NodeId, `v`: NodeId) => EdgeWeight |
| `graph.hasCycle` | () => *boolean* |
| `graph.hasEdge` | (`u`: NodeId, `v`: NodeId) => *boolean* |
| `graph.indegree` | (`node`: NodeId) => *number* |
| `graph.lowestCommonAncestors` | (`node1`: NodeId, `node2`: NodeId) => *string*[] |
| `graph.nodes` | () => NodeId[] |
| `graph.outdegree` | (`node`: NodeId) => *number* |
| `graph.removeEdge` | (`u`: NodeId, `v`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.removeNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.serialize` | () => Serialized |
| `graph.setEdgeWeight` | (`u`: NodeId, `v`: NodeId, `weight`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.shortestPath` | (`source`: NodeId, `destination`: NodeId) => *string*[] & { `weight?`: *number*  } |
| `graph.topologicalSort` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*) => *string*[] |
| `topo` | *any* |

, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => NodeId[], shortestPath: (source: NodeId, destination: NodeId) => NodeId[] & {weight?: EdgeWeight}, setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => {topologicalSort: (sourceNodes?: NodeId[], includeSourceNodes?: boolean) => ...[], addNode: (node: NodeId) => any, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => ...[], shortestPath: (source: NodeId, destination: NodeId) => ... & ..., setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => any, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => ...[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => any, ...}, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => NodeId[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => {topologicalSort: (sourceNodes?: NodeId[], includeSourceNodes?: boolean) => ...[], addNode: (node: NodeId) => any, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => ...[], shortestPath: (source: NodeId, destination: NodeId) => ... & ..., setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => any, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => ...[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => any, ...}, ...}}}

___

#### buildTransformer

▸ **buildTransformer**(`src`: *number*[], `dest`: *number*[]): *undefined* \| *number*[]

Usage:
```js
const transformer = buildTransformer(
    [10, 44, 100, 44, 100, 300, 10, 300],
    [50, 54, 130, 14, 140, 330, 14, 220]
);
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `src` | *number*[] | source four points, [x0, y0, x1, y1, x2, y2, x3, y3] |
| `dest` | *number*[] | destination four points, [x0, y0, x1, y1, x2, y2, x3, y3] |

**Returns:** *undefined* \| *number*[]

transformer If fail, return null/undefined.

___

#### buildTransformerMatrix3d

▸ **buildTransformerMatrix3d**(`src`: *number*[], `dest`: *number*[]): *undefined* \| *string*

透视投影转3d css 矩阵
Usage:
```js
const transformer = buildTransformerMatrix3d(
    [10, 44, 100, 44, 100, 300, 10, 300],
    [50, 54, 130, 14, 140, 330, 14, 220]
);
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `src` | *number*[] | source four points, [x0, y0, x1, y1, x2, y2, x3, y3] |
| `dest` | *number*[] | destination four points, [x0, y0, x1, y1, x2, y2, x3, y3] |

**Returns:** *undefined* \| *string*

___

#### calcPolygonArea

▸ **calcPolygonArea**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *number*

计算多边形面积

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *number*

___

#### calculateSignedArea

▸ **calculateSignedArea**(`ring`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *number*

返回多边形的有符号的面积。正区域为外环，具有顺时针绕组。负区域为内环，按逆时针顺序排列。

##### Parameters

| Name | Type |
| :------ | :------ |
| `ring` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *number*

___

#### circIn

▸ `Const` **circIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### circInOut

▸ `Const` **circInOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### circOut

▸ `Const` **circOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### clamp

▸ `Const` **clamp**(`min`: *number*, `max`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `min` | *number* |
| `max` | *number* |
| `v` | *number* |

**Returns:** *number*

___

#### clipPolygon

▸ **clipPolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)[]

根据范围裁剪多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### clipSegment

▸ **clipSegment**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)[] \| Boolean

根据范围裁剪线段

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[] \| Boolean

___

#### cloneDeep

▸ **cloneDeep**<T\>(`obj`: T): T

Deep clone of object.

Like `JSON.parse(JSON.stringify(obj))`, but supports basic javascript types (string, number,
object), `Date` and `RegExp`s and cycles.

Throws error if enounters object with `prototype` assuming that in general class instances
cannot be reliably cloned by generic algorithm.

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | T |

**Returns:** T

___

#### closePolygon

▸ **closePolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): [*GeoPoint*](#classesdefaultgeopointmd)[]

闭合多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

points

___

#### closestPointOnPolyline

▸ **closestPointOnPolyline**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *object*

点到多段线的最近点

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `closestIndex` | *number* |
| `closestLength` | *number* |
| `closestPoint` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `closestPrePointDist` | *number* |

___

#### closestPointOnPolylines

▸ **closestPointOnPolylines**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `lines`: [*GeoPoint*](#classesdefaultgeopointmd)[][]): *object*

点到多条线的最近点

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `lines` | [*GeoPoint*](#classesdefaultgeopointmd)[][] |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `closestIndex` | *number* |
| `closestLength` | *number* |
| `closestPoint` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `closestPointIndex` | *number* |
| `closestPrePointDist` | *number* |

___

#### closestPointOnSegment

▸ **closestPointOnSegment**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `p1`: [*GeoPoint*](#classesdefaultgeopointmd), `p2`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

点到线段的最近点

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p1` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p2` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### coordTransfromByFourParamter

▸ **coordTransfromByFourParamter**(`pt`: [*GeoPoint*](#classesdefaultgeopointmd), `param`: { `dx`: *number* ; `dy`: *number* ; `rotate`: *number* ; `scale`: *number*  }): [*GeoPoint*](#classesdefaultgeopointmd)

通过四参数进行坐标转换

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pt` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `param` | *object* | 四参数 |
| `param.dx` | *number* | - |
| `param.dy` | *number* | - |
| `param.rotate` | *number* | - |
| `param.scale` | *number* | - |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### coordTransfromByInvFourParamter

▸ **coordTransfromByInvFourParamter**(`pt`: [*GeoPoint*](#classesdefaultgeopointmd), `param`: { `dx`: *number* ; `dy`: *number* ; `rotate`: *number* ; `scale`: *number*  }): [*GeoPoint*](#classesdefaultgeopointmd)

通过四参数反算进行坐标转换

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pt` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `param` | *object* | 四参数 |
| `param.dx` | *number* | - |
| `param.dy` | *number* | - |
| `param.rotate` | *number* | - |
| `param.scale` | *number* | - |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### coordTransfromGetFourParamter

▸ **coordTransfromGetFourParamter**(`srcArr`: [*GeoPoint*](#classesdefaultgeopointmd)[], `destArr`: [*GeoPoint*](#classesdefaultgeopointmd)[], `isSetRotateZero`: *boolean*, `isConsiderPointOrder?`: *boolean*): *object*

坐标转换得到四参数

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `srcArr` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 原始点数组 |
| `destArr` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 目标点数组 |
| `isSetRotateZero` | *boolean* | 是否设置旋转为零，默认false,如果为true,则只考虑平移和缩放 |
| `isConsiderPointOrder?` | *boolean* | 不考虑点的次序(这样旋转角度方向总是上面，在-180,180之间） |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `dx` | *number* |
| `dy` | *number* |
| `rotate` | *number* |
| `scale` | *number* |

___

#### createAnimateFillLayer

▸ **createAnimateFillLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*IAnimateFillLayerOptions*](#interfacesdefaultianimatefilllayeroptionsmd)): [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

创建多边形动画图层

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | Map | - | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | - | 线坐标(lngLat) |
| `options` | [*IAnimateFillLayerOptions*](#interfacesdefaultianimatefilllayeroptionsmd) | {} | 选项 |

**Returns:** [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

___

#### createAnimateImages

▸ **createAnimateImages**(`options?`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

创建动画图片集

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) | 选项 |

**Returns:** ImageData[]

___

#### createAnimateLineLayer

▸ **createAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建多段线动画图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | 线坐标(lngLat) |
| `options?` | [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd) | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

#### createAnimateSymbolLayer

▸ **createAnimateSymbolLayer**(`map`: Map, `path`: [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any*, `options?`: [*IAnimateSymbolLayerOptions*](#interfacesdefaultianimatesymbollayeroptionsmd)): [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

创建符号动画图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any* | 符号坐标(lngLat) |
| `options?` | [*IAnimateSymbolLayerOptions*](#interfacesdefaultianimatesymbollayeroptionsmd) | 选项 |

**Returns:** [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

___

#### createAnimation

▸ **createAnimation**<V\>(`__namedParameters`: *any*): *object*

##### Type parameters

| Name | Default |
| :------ | :------ |
| `V` | *number* |

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | *any* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `start` | (`reset?`: *boolean*) => *void* |
| `stop` | () => *void* |

___

#### createAntPathAnimateImages

▸ **createAntPathAnimateImages**(`options?`: [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)): ImageData[]

创建蚂蚁线动画图像集

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd) | 选项 |

**Returns:** ImageData[]

___

#### createAntPathAnimateLineLayer

▸ **createAntPathAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建蚂蚁线动画线图层

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | Map | - | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | - | 线坐标(lngLat) |
| `options` | [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd) | {} | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

#### createAnticipate

▸ `Const` **createAnticipate**(`power`: *number*): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `power` | *number* |

**Returns:** [*Easing*](#easing)

___

#### createArrowAnimateImages

▸ **createArrowAnimateImages**(`options?`: [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)): ImageData[]

创建箭头动画图像集

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd) | 选项 |

**Returns:** ImageData[]

___

#### createArrowAnimateLineLayer

▸ **createArrowAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建箭头动画线图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | 线坐标(lngLat) |
| `options?` | [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd) | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

#### createAttractor

▸ `Const` **createAttractor**(`alterDisplacement?`: Function): *function*

Creates an attractor that, given a strength constant, origin and value,
will calculate value as attracted to origin.

##### Parameters

| Name | Type |
| :------ | :------ |
| `alterDisplacement` | Function |

**Returns:** (`constant`: *number*, `origin`: *number*, `v`: *number*) => *number*

___

#### createBackIn

▸ `Const` **createBackIn**(`power`: *number*): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `power` | *number* |

**Returns:** [*Easing*](#easing)

___

#### createExpoIn

▸ `Const` **createExpoIn**(`power`: *number*): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `power` | *number* |

**Returns:** [*Easing*](#easing)

___

#### createFrameAnimation

▸ **createFrameAnimation**(`callback`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *boolean*, `fps?`: *number*, `stopCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void*): [*FrameAnimation*](#interfacesdefaultframeanimationmd)

创建一个 FrameAnimation 对象来启动和停止你的动画功能.

**`example`**
const count = 0;

const animation = createFrameAnimation(() => {
  context.clearRect(0, 0, width, height);
  context.font = "4rem monospace";
  context.textAlign = 'center';
  context.fillText(count, width / 2, height / 2);

  count++;
});

animation.start();

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `callback` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *boolean* | 处理动画的回调,如果返回true，表示结束动画，返回false表示继续动画， . |
| `fps?` | *number* | 一秒运行多少帧，用来控制速度，如为0，则默认为系统帧率 |
| `stopCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void* | 结束动画的回调，参数表示是取消（true)，还是正常结束(false) |

**Returns:** [*FrameAnimation*](#interfacesdefaultframeanimationmd)

| boolean}

___

#### createLineGeoJson

▸ **createLineGeoJson**(`input`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*): GeoJsonGeomertry

创建geoson格式的线

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* |

**Returns:** GeoJsonGeomertry

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd)): *Marker*

创建一个Makrer对象，相当于new Marker()

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |

**Returns:** *Marker*

___

#### createObjectOffset

▸ **createObjectOffset**(): *object*

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `data` | (`vertices`: *any*) => *any* |
| `margin` | (`dist`: *number*) => *any* |
| `offset` | (`dist`: *number*) => *any* |
| `offsetLines` | (`dist`: *number*) => *any* |
| `padding` | (`dist`: *number*) => *any* |

___

#### createObjectPolygonUtil

▸ **createObjectPolygonUtil**(): *object*

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `diff` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |
| `intersection` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |
| `union` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |

___

#### createPointGeoJson

▸ **createPointGeoJson**(`input`: [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any*): GeoJsonGeomertry

创建geoson格式的点

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any* |

**Returns:** GeoJsonGeomertry

___

#### createPolygonGeoJson

▸ **createPolygonGeoJson**(`input`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*): GeoJsonGeomertry

创建geoson格式的多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* |

**Returns:** GeoJsonGeomertry

___

#### cubicBezier

▸ **cubicBezier**(`mX1`: *number*, `mY1`: *number*, `mX2`: *number*, `mY2`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `mX1` | *number* |
| `mY1` | *number* |
| `mX2` | *number* |
| `mY2` | *number* |

**Returns:** *any*

___

#### decay

▸ **decay**(`__namedParameters`: [*DecayOptions*](#interfacesdefaultdecayoptionsmd)): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*DecayOptions*](#interfacesdefaultdecayoptionsmd) |

**Returns:** *any*

___

#### degToRad

▸ **degToRad**(`a`: *number*): *number*

角度转弧度

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *number* |

**Returns:** *number*

___

#### degreesToRadians

▸ `Const` **degreesToRadians**(`degrees`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `degrees` | *number* |

**Returns:** *number*

___

#### distance

▸ **distance**<P\>(`a`: P, `b`: P): *number*

##### Type parameters

| Name | Type |
| :------ | :------ |
| `P` | *number* \| Point2D \| Point3D |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | P |
| `b` | P |

**Returns:** *number*

___

#### easeIn

▸ `Const` **easeIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### easeInOut

▸ `Const` **easeInOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### easeOut

▸ `Const` **easeOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### entColorToHtmlColor

▸ **entColorToHtmlColor**(`color`: *number* \| *string*, `darkMode?`: *boolean*, `alpha?`: *number*): *string*

实体颜色转html颜色

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | *number* \| *string* | 实体颜色 |
| `darkMode?` | *boolean* | 样式是否为暗黑框 |
| `alpha?` | *number* | 透明度的值 |

**Returns:** *string*

___

#### equals

▸ **equals**(`a`: *number*, `b`: *number*): *boolean*

Tests whether or not the arguments have approximately the same value, within an absolute
or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less
than or equal to 1.0, and a relative tolerance is used for larger values)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | The first number to test. |
| `b` | *number* | The second number to test. |

**Returns:** *boolean*

True if the numbers are approximately equal, false otherwise.

___

#### findShortestPath

▸ **findShortestPath**(`startPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `endPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `lines`: { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[], `precision?`: *number*, `hasDirection?`: *boolean*): { `endPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  } ; `error`: *undefined* ; `route`: *any*[] ; `routeDetail`: { `index`: *any* ; `points`: *any*[] ; `reverse`: *boolean* = false }[] ; `startPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  }  } \| { `endPoint`: *undefined* ; `error`: *any* ; `route`: *undefined* ; `routeDetail`: *undefined* ; `startPoint`: *undefined*  }

给定所有路线、起始点、终点生成最短路径

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `startPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | 起点 |
| `endPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | 终点 |
| `lines` | { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[] | 坐标，请转成几何坐标，再传入 |
| `precision?` | *number* | 误差，小数点后几位， 以为相同, 如果两个点的坐标距离小于此值，则认为是同一个节点 |
| `hasDirection?` | *boolean* | 是否考虑方向 |

**Returns:** { `endPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  } ; `error`: *undefined* ; `route`: *any*[] ; `routeDetail`: { `index`: *any* ; `points`: *any*[] ; `reverse`: *boolean* = false }[] ; `startPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  }  } \| { `endPoint`: *undefined* ; `error`: *any* ; `route`: *undefined* ; `routeDetail`: *undefined* ; `startPoint`: *undefined*  }

___

#### geoBounds

▸ **geoBounds**(`min?`: [*GeoPoint*](#classesdefaultgeopointmd), `max?`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

new一个GeoBounds实例

##### Parameters

| Name | Type |
| :------ | :------ |
| `min?` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `max?` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### geoPoint

▸ **geoPoint**(`input`: [*GeoPointLike*](#geopointlike)): [*GeoPoint*](#classesdefaultgeopointmd)

new一个GeoPoint实例

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### getBezierCurveLength

▸ **getBezierCurveLength**(`bezierCurve`: BezierCurve, `precision?`: *number*, `recursiveCount?`: *number*): *number*

计算贝塞尔曲线的长度

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `bezierCurve` | BezierCurve | - | 贝塞尔曲线 |
| `precision` | *number* | 5 | 需要的计算精度 |
| `recursiveCount` | *number* | 0 | 迭代次数 |

**Returns:** *number*

___

#### getCircleFeature

▸ **getCircleFeature**(`center`: [*GeoPointLike*](#geopointlike), `radius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): GeoJsonGeomertry

 得到圆或圆弧的离散化的多边形的geojson的形式

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `radius` | *number* | - | 半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** GeoJsonGeomertry

, type: string, properties: {}}}

___

#### getCirclePolygonCoordinates

▸ **getCirclePolygonCoordinates**(`center`: [*GeoPointLike*](#geopointlike), `radius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): *number*[][]

 得到圆或圆弧的离散化的多边形的点

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `radius` | *number* | - | 半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** *number*[][]

___

#### getEllipseFeature

▸ **getEllipseFeature**(`center`: [*GeoPointLike*](#geopointlike), `majorAxisRadius`: *number*, `minorAxisRadius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): GeoJsonGeomertry

 得到圆或圆弧的离散化的多边形的geojson的形式

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `majorAxisRadius` | *number* | - | - |
| `minorAxisRadius` | *number* | - | - |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** GeoJsonGeomertry

, type: string, properties: {}}}

___

#### getEllipsePolygonCoordinates

▸ **getEllipsePolygonCoordinates**(`center`: [*GeoPointLike*](#geopointlike), `majorAxisRadius`: *number*, `minorAxisRadius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): *number*[][]

 得到椭圆或椭圆弧的离散化的多边形的点

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `majorAxisRadius` | *number* | - | 长轴半径 |
| `minorAxisRadius` | *number* | - | 短轴半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是椭/圆弧时，最后一个点加上中心点 |

**Returns:** *number*[][]

___

#### getEnvelopBounds

▸ **getEnvelopBounds**(`envelop`: *string*, `prj`: *any*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据外包矩形创建 `GeoBounds`.

Example:
```typescript
const b = vjmap.getEnvelopBounds('POLYGON((3466315.697899 6704304.297588, 3466315.697899 7784496.211226, 4546475.901198 7784496.211226, 4546475.901198 6704304.297588, 3466315.697899 6704304.297588))', prj);
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `envelop` | *string* |
| `prj` | *any* |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### getGeoBounds

▸ **getGeoBounds**<T\>(`data`: T \| *string*): [*GeoBounds*](#classesdefaultgeoboundsmd)

获取一个geojson的范围值

##### Type parameters

| Name | Type |
| :------ | :------ |
| `T` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] |

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | T \| *string* | 输入值 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

获取的范围值

___

#### getOptionValue

▸ **getOptionValue**<T\>(`a`: T): T

Get first defined value.

Specialized "replacement" for `a || b || c` used frequently to get value from various sources
(defaults, configs  constants).
In contrast to `||`, this function provides proper typing for usual use cases (constant as last
argument) and correct treatment of `null` and `undefined`.

If last parameter is "defined" then return type is `T`, otherwise return type is `T | undefined`.

Usage example:

    interface Config {
        x?: number;
    }
    const someConfig: Config = {};
    const val: number | undefined = undefined;
    const DEFAULT = 5;
    const x = getOptionValue(val, someConfig.x, DEFAULT);
        // typeof x === 'number' because DEFAULT is defined
    const y = getOptionValue(val, someConfig.x);
        // typeof y === 'number | undefined' because someConfig.x is possibly undefined

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T): T

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T \| *undefined*, `c`: T): T

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T \| *undefined* |
| `c` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T \| *undefined*, `c`: T \| *undefined*, `d`: T): T

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T \| *undefined* |
| `c` | T \| *undefined* |
| `d` | T |

**Returns:** T

▸ **getOptionValue**<T\>(...`values`: (T \| *undefined*)[]): T \| *undefined*

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `...values` | (T \| *undefined*)[] |

**Returns:** T \| *undefined*

___

#### getTempMapId

▸ **getTempMapId**(`expireTime?`: *number*, `isVisible?`: *boolean*): *string*

获取一个临时的图id(临时图形只会用临时查看，过期会自动删除)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `expireTime?` | *number* | 临时图形不浏览情况下过期自动删除时间，单位分钟。默认30 |
| `isVisible?` | *boolean* | 是否可见，（可见的话，将可通过ListMaps获取，否则为隐藏图）。默认不可见 |

**Returns:** *string*

___

#### hexToBinStr

▸ **hexToBinStr**(`strHex`: *string*, `isPadding?`: *boolean*, `reverse?`: *boolean*): *string*

十六进制字符串转二进制字符串(可用于协同图形，图层开头显示设置的转换)

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `strHex` | *string* | - | 十进制的内容 |
| `isPadding` | *boolean* | true | 前面是否自动0，默认true |
| `reverse` | *boolean* | true | 结果倒序，默认true |

**Returns:** *string*

___

#### htmlColorToEntColor

▸ **htmlColorToEntColor**(`color`: *string*): *number*

html颜色转实体颜色

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | *string* | html |

**Returns:** *number*

___

#### inertia

▸ **inertia**(`__namedParameters`: [*InertiaOptions*](#interfacesdefaultinertiaoptionsmd)): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*InertiaOptions*](#interfacesdefaultinertiaoptionsmd) |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `stop` | () => *void* |

___

#### interpolate

▸ **interpolate**<T\>(`input`: *number*[], `output`: T[], `__namedParameters?`: *InterpolateOptions*<T\>): *function*

Create a function that maps from a numerical input array to a generic output array.

Accepts:
  - Numbers
  - Colors (hex, hsl, hsla, rgb, rgba)
  - Complex (combinations of one or more numbers or strings)

```jsx
const mixColor = interpolate([0, 1], ['#fff', '#000'])

mixColor(0.5) // 'rgba(128, 128, 128, 1)'
```

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `input` | *number*[] | - |
| `output` | T[] | - |
| `__namedParameters` | *InterpolateOptions*<T\> | {} |

**Returns:** (`v`: *number*) => T

___

#### interpolateLineRange

▸ **interpolateLineRange**(`points`: [*GeoPointLike*](#geopointlike)[] \| *any*, `number`: *number*, `isLngLat?`: *boolean*, `offsetDist?`: *number*, `minGap?`: *number*, `includeSrcPoint?`: *boolean*): *any*[]

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `points` | [*GeoPointLike*](#geopointlike)[] \| *any* | - | 要插值的（多段）线的顶点(输入必须为经纬度). |
| `number` | *number* | - | 沿线插入的点数；这包括端点，并且有效最小值为 2（如果给出较小的数字，则仍将返回端点）. |
| `isLngLat` | *boolean* | false | 点坐标序列是否是经纬度坐标 |
| `offsetDist` | *number* | 0 | 一个可选的垂直距离，用于从线段偏移每个点，否则它会位于. |
| `minGap` | *number* | 0 | 在后续插值点之间保持可选的最小间隙；如果一组“number”点的后续点之间的投影间隙低于此值，则“number”将减小到合适的值. |
| `includeSrcPoint` | *boolean* | true | 包括原有点 |

**Returns:** *any*[]

___

#### interpolatePointsByRatio

▸ **interpolatePointsByRatio**(`points`: [*GeoPointLike*](#geopointlike)[] \| *any*, `ratio`: *number*, `isLngLat?`: *boolean*): *any*[]

通过比例(0-1)的值，得到坐标序列的点坐标的值

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `points` | [*GeoPointLike*](#geopointlike)[] \| *any* | - |
| `ratio` | *number* | - |
| `isLngLat` | *boolean* | false |

**Returns:** *any*[]

___

#### isClosedPolygon

▸ **isClosedPolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

多边形是否闭合

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *boolean*

___

#### isCounterClockwise

▸ **isCounterClockwise**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `c`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

指示提供的点是按逆时针（真）还是顺时针（假）顺序排列

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `c` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

#### isGeoPointLike

▸ **isGeoPointLike**(`geoPoint`: *any*): geoPoint is GeoPointLike

A [GeoPointLike](#geopointlike) object, an array of two numbers representing longitude and latitude,
or an object with `lng` and `lat` or `lon` and `lat` properties.

Example:
```typescript
const center = { lat: 53.3, lng: 13.4 };
mapView.geoCenter = GeoCoordinates.fromLatLng(center);
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `geoPoint` | *any* |

**Returns:** geoPoint is GeoPointLike

___

#### isPoint

▸ `Const` **isPoint**(`point`: Object): point is Point23D

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | Object |

**Returns:** point is Point23D

___

#### isPoint3D

▸ `Const` **isPoint3D**(`point`: Point23D): point is Point3D

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | Point23D |

**Returns:** point is Point3D

___

#### isPointInPolygon

▸ `Const` **isPointInPolygon**(`pos`: [*GeoPoint*](#classesdefaultgeopointmd), `polygon`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

判断点是否在多边形内。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pos` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `polygon` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 多边形坐标 |

**Returns:** *boolean*

___

#### isZero

▸ **isZero**(`value`: *number*, `precision?`: *number*): *boolean*

判断是否为零

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | 值 |
| `precision?` | *number* | 精度，缺省1e-6 |

**Returns:** *boolean*

___

#### kebabCase

▸ `Const` **kebabCase**(`s`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `s` | *any* |

**Returns:** *any*

___

#### keyframes

▸ **keyframes**<V\>(`__namedParameters`: [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd)): *any*

##### Type parameters

| Name |
| :------ |
| `V` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd) |

**Returns:** *any*

___

#### lineSplit

▸ **lineSplit**(`line`: [*GeoPoint*](#classesdefaultgeopointmd)[], `splitLine`: [*GeoPoint*](#classesdefaultgeopointmd)[], `dotErr?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[][]

线被另外一条线分开多条线段，返回新的线段

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `line` | [*GeoPoint*](#classesdefaultgeopointmd)[] |  |
| `splitLine` | [*GeoPoint*](#classesdefaultgeopointmd)[] |  |
| `dotErr?` | *number* | 允许误差的小数点后几位，默认6位 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[][]

___

#### linear

▸ `Const` **linear**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### metersPerPixel

▸ **metersPerPixel**(`zoomLevel`: *number*, `latitude?`: *number*): *number*

求不同级级别下，每米表示多少像素

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `zoomLevel` | *number* | 级别从0表示 |
| `latitude?` | *number* | 纬度 |

**Returns:** *number*

___

#### mirrorEasing

▸ `Const` **mirrorEasing**(`easing`: [*Easing*](#easing)): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

#### mix

▸ `Const` **mix**(`from`: *number*, `to`: *number*, `progress`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *number* |
| `to` | *number* |
| `progress` | *number* |

**Returns:** *number*

___

#### mixColor

▸ `Const` **mixColor**(`from`: *any*, `to`: *any*): *function*

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *any* |
| `to` | *any* |

**Returns:** (`v`: *number*) => *any*

___

#### mixComplex

▸ `Const` **mixComplex**(`origin`: *string*, `target`: *string*): MixComplex

##### Parameters

| Name | Type |
| :------ | :------ |
| `origin` | *string* |
| `target` | *string* |

**Returns:** MixComplex

___

#### multiLineSplit

▸ **multiLineSplit**(`lines`: [*GeoPoint*](#classesdefaultgeopointmd)[][], `dotErr?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[][]

多条线之间根据交点相互分开,返回相交后的所有线段，请确保每条线段不要自相交

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `lines` | [*GeoPoint*](#classesdefaultgeopointmd)[][] |  |
| `dotErr?` | *number* | 允许误差的小数点后几位，默认6位 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[][]

___

#### offsetPointLine

▸ **offsetPointLine**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `distance`: *number*): *any*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `distance` | *number* |

**Returns:** *any*[]

___

#### offsetPoints

▸ **offsetPoints**(`pts`: [*GeoPointLike*](#geopointlike)[], `options`: { `offset`: *number* ; `smoothFactor?`: *number*  }): *any*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |
| `options` | *object* |
| `options.offset` | *number* |
| `options.smoothFactor?` | *number* |

**Returns:** *any*[]

___

#### openMapDarkStyle

▸ **openMapDarkStyle**(): [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

打开地图的深色背景样式，值为 {backcolor: 0}

**Returns:** [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

___

#### openMapLightStyle

▸ **openMapLightStyle**(): [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

打开地图的浅色色背景样式，值为 {backcolor: 0xFFFFFF}

**Returns:** [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

___

#### pick

▸ **pick**<T, K\>(`object`: T, `props`: K[]): *Pick*<T, K\>

Pick `props` from `object.

Runtime version of `Pick<T,K>`.

##### Type parameters

| Name | Type |
| :------ | :------ |
| `T` | *object* |
| `K` | *string* \| *number* \| *symbol* |

##### Parameters

| Name | Type |
| :------ | :------ |
| `object` | T |
| `props` | K[] |

**Returns:** *Pick*<T, K\>

___

#### pipe

▸ `Const` **pipe**(...`transformers`: Function[]): Function

##### Parameters

| Name | Type |
| :------ | :------ |
| `...transformers` | Function[] |

**Returns:** Function

___

#### pixelValue

▸ **pixelValue**(`meters`: *number*, `zoomLevel`: *number*, `latitude?`: *number*): *number*

不同级别下根据米数来求像素值

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `meters` | *number* | 米 |
| `zoomLevel` | *number* | 级别从0表示 |
| `latitude?` | *number* | 纬度 |

**Returns:** *number*

___

#### pointFromVector

▸ `Const` **pointFromVector**(`origin`: Point2D, `angle`: *number*, `distance`: *number*): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `origin` | Point2D |
| `angle` | *number* |
| `distance` | *number* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |

___

#### pointToSegmentDistance

▸ **pointToSegmentDistance**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `p1`: [*GeoPoint*](#classesdefaultgeopointmd), `p2`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

点到线段的距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p1` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p2` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### polygonCentroid

▸ **polygonCentroid**(`vertices`: [*GeoPoint*](#classesdefaultgeopointmd)[]): [*GeoPoint*](#classesdefaultgeopointmd)

根据 [x,y] 坐标列表计算多边形的质心。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `vertices` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 顶点坐标 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### polygonIsClockwise

▸ **polygonIsClockwise**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

根据格林公式判断多边形是否为顺时针

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *boolean*

false:逆时针

___

#### polylineMarginToPolygon

▸ **polylineMarginToPolygon**(`pts`: [*GeoPointLike*](#geopointlike)[], `options`: { `arcSegments?`: *number* ; `offset`: *number* ; `smoothFactor?`: *number*  }): *any*

把多段线往外扩展成多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |
| `options` | *object* |
| `options.arcSegments?` | *number* |
| `options.offset` | *number* |
| `options.smoothFactor?` | *number* |

**Returns:** *any*

___

#### polylineToBezierCurve

▸ **polylineToBezierCurve**(`polyline`: CurvePoint[], `close?`: *boolean*, `offsetA?`: *number*, `offsetB?`: *number*): BezierCurve

**`description`** 将折线转换为贝塞尔曲线

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `polyline` | CurvePoint[] | - | 组成折线的一组点 |
| `close` | *boolean* | false | 闭合曲线 |
| `offsetA` | *number* | 0.25 | 光滑程度A |
| `offsetB` | *number* | 0.25 | 光滑程度B |

**Returns:** BezierCurve

一组贝塞尔曲线（无效输入将返回false）

___

#### progress

▸ `Const` **progress**(`from`: *number*, `to`: *number*, `value`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *number* |
| `to` | *number* |
| `value` | *number* |

**Returns:** *number*

___

#### radToDeg

▸ **radToDeg**(`a`: *number*): *number*

弧度转角度

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *number* |

**Returns:** *number*

___

#### radiansToDegrees

▸ `Const` **radiansToDegrees**(`radians`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `radians` | *number* |

**Returns:** *number*

___

#### randInt

▸ **randInt**(`n`: *number*, `m`: *number*): *number*

生成一个区间的随机总数

##### Parameters

| Name | Type |
| :------ | :------ |
| `n` | *number* |
| `m` | *number* |

**Returns:** *number*

___

#### randomColor

▸ **randomColor**(): *string*

生成随机颜色

**Returns:** *string*

___

#### reverseEasing

▸ `Const` **reverseEasing**(`easing`: [*Easing*](#easing)): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

#### segmentIntersect

▸ **segmentIntersect**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*, `x3`: *number*, `y3`: *number*, `x4`: *number*, `y4`: *number*): { `ratio`: *undefined* ; `result`: *string* = "COLINEAR"; `status`: *boolean* = false; `x`: *undefined* ; `y`: *undefined*  } \| { `ratio`: *number* ; `result`: *undefined* = "COLINEAR"; `status`: *boolean* = true; `x`: *number* ; `y`: *number*  }

线段相交

##### Parameters

| Name | Type |
| :------ | :------ |
| `x1` | *number* |
| `y1` | *number* |
| `x2` | *number* |
| `y2` | *number* |
| `x3` | *number* |
| `y3` | *number* |
| `x4` | *number* |
| `y4` | *number* |

**Returns:** { `ratio`: *undefined* ; `result`: *string* = "COLINEAR"; `status`: *boolean* = false; `x`: *undefined* ; `y`: *undefined*  } \| { `ratio`: *number* ; `result`: *undefined* = "COLINEAR"; `status`: *boolean* = true; `x`: *number* ; `y`: *number*  }

| {result: string, status: boolean} | {x: number, y: number, status: boolean, ratio: number} | {result: string, status: boolean}}

___

#### simplify

▸ **simplify**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `tolerance?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

简化点坐标

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `tolerance?` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### smooth

▸ `Const` **smooth**(`strength?`: *number*): *function*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `strength` | *number* | 50 |

**Returns:** (`v`: *number*) => *number*

___

#### smoothFrame

▸ `Const` **smoothFrame**(`prevValue`: *number*, `nextValue`: *number*, `duration`: *number*, `smoothing?`: *number*): *number*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prevValue` | *number* | - |
| `nextValue` | *number* | - |
| `duration` | *number* | - |
| `smoothing` | *number* | 0 |

**Returns:** *number*

___

#### snap

▸ `Const` **snap**(`points`: *number* \| *number*[]): *function*

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | *number* \| *number*[] |

**Returns:** (`v`: *number*) => *undefined* \| *number*

___

#### spring

▸ **spring**(`__namedParameters`: [*SpringOptions*](#interfacesdefaultspringoptionsmd)): *any*

This is based on the spring implementation of Wobble https://github.com/skevy/wobble

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*SpringOptions*](#interfacesdefaultspringoptionsmd) |

**Returns:** *any*

___

#### steps

▸ `Const` **steps**(`steps`: *number*, `direction?`: Direction): [*Easing*](#easing)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `steps` | *number* | - |
| `direction` | Direction | "end" |

**Returns:** [*Easing*](#easing)

___

#### syncMaps

▸ **syncMaps**(...`args`: Map[]): *function*

同步两张地图的移动。

##### Parameters

| Name | Type |
| :------ | :------ |
| `...args` | Map[] |

**Returns:** () => *void*

___

#### toDecimal

▸ `Const` **toDecimal**(`num`: *number*, `precision?`: *number*): *number*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `num` | *number* | - |
| `precision` | *number* | 2 |

**Returns:** *number*

___

#### toRadian

▸ **toRadian**(`a`: *number*): *number*

Convert Degree To Radian

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | Angle in Degrees |

**Returns:** *number*

___

#### upperCamelCase

▸ `Const` **upperCamelCase**(`s`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `s` | *any* |

**Returns:** *any*

___

#### utf8ToUnicode

▸ **utf8ToUnicode**(`strUtf8`: *string*): *string*

utf8转unicode

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `strUtf8` | *string* | utf8的内容 |

**Returns:** *string*

___

#### vectorContour

▸ **vectorContour**(`featureCollection`: FeatureCollection, `weight`: *string*, `breaks`: *number*[], `params?`: { `alpha?`: *number* ; `canvas?`: HTMLCanvasElement ; `colors?`: *string*[] ; `extent?`: [*number*, *number*, *number*, *number*] ; `model?`: ``"exponential"`` \| ``"gaussian"`` \| ``"spherical"`` ; `sigma2?`: *number* ; `width?`: *number* ; `xlim?`: *number* ; `ylim?`: *number*  }): *object*

生成矢量等值面

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `featureCollection` | FeatureCollection | - |
| `weight` | *string* | - |
| `breaks` | *number*[] | - |
| `params?` | *object* | params:{ model:'exponential','gaussian','spherical'，三选一，默认exponential sigma2: 0, // sigma2是σ²，对应高斯过程的方差参数，也就是这组数据z的距离，方差参数σ²的似然性反映了高斯过程中的误差，并应手动设置。一般设置为 0 ，其他数值设了可能会出空白图 alpha: 100, // Alpha α对应方差函数的先验值，此参数可能控制钻孔扩散范围,越小范围越大,少量点效果明显，但点多了且分布均匀以后改变该数字即基本无效果了，默认设置为100 canvas: HTMLCanvasElement, // 如果要渲染到画布上填这个 xlim: number, // canvas有效 ylim: number, // canvas有效 colors:string[] // canvas有效 等值面分级区间 width: number // 生成等值线宽度参数。像素长度。默认200。宽度值越大，绘制越精确，但也会导致速度变慢，内存占用越多 } |
| `params.alpha?` | *number* | - |
| `params.canvas?` | HTMLCanvasElement | - |
| `params.colors?` | *string*[] | - |
| `params.extent?` | [*number*, *number*, *number*, *number*] | - |
| `params.model?` | ``"exponential"`` \| ``"gaussian"`` \| ``"spherical"`` | - |
| `params.sigma2?` | *number* | - |
| `params.width?` | *number* | - |
| `params.xlim?` | *number* | - |
| `params.ylim?` | *number* | - |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `alg?` | *any* |
| `contour?` | FeatureCollection |
| `grid?` | *object* |
| `grid.grid` | *number*[] |
| `grid.m` | *number* |
| `grid.n` | *number* |
| `grid.x_resolution` | *number* |
| `grid.xlim` | *number* |
| `grid.y_resolution` | *number* |
| `grid.ylim` | *number* |
| `grid.zlim` | *number* |
| `variogram?` | *any* |

___

#### velocityPerFrame

▸ **velocityPerFrame**(`xps`: *number*, `frameDuration`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `xps` | *number* |
| `frameDuration` | *number* |

**Returns:** *number*

___

#### velocityPerSecond

▸ **velocityPerSecond**(`velocity`: *number*, `frameDuration`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `velocity` | *number* |
| `frameDuration` | *number* |

**Returns:** *number*

___

#### wrap

▸ `Const` **wrap**(`min`: *number*, `max`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `min` | *number* |
| `max` | *number* |
| `v` | *number* |

**Returns:** *number*


<a name="modulesdefaultquatmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / quat

## Namespace: quat

[default](#modulesdefaultmd).quat

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [calculateW](#calculatew)
- [clone](#clone)
- [conjugate](#conjugate)
- [copy](#copy)
- [create](#create)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [fromMat3](#frommat3)
- [fromValues](#fromvalues)
- [getAxisAngle](#getaxisangle)
- [identity](#identity)
- [invert](#invert)
- [length](#length)
- [lerp](#lerp)
- [multiply](#multiply)
- [normalize](#normalize)
- [rotateX](#rotatex)
- [rotateY](#rotatey)
- [rotateZ](#rotatez)
- [rotationTo](#rotationto)
- [scale](#scale)
- [set](#set)
- [setAxes](#setaxes)
- [setAxisAngle](#setaxisangle)
- [slerp](#slerp)
- [sqlerp](#sqlerp)
- [squaredLength](#squaredlength)
- [str](#str)

### Type aliases

#### valueType

Ƭ **valueType**: [*quattype*](#quattype)

### Functions

#### add

▸ `Const` **add**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Adds two quat's

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### calculateW

▸ **calculateW**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype)): [*quattype*](#quattype)

Calculates the W component of a quat from the X, Y, and Z components.
Assumes that quaternion is 1 unit in length.
Any existing W component will be ignored.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | quat to calculate W component of |

**Returns:** [*quattype*](#quattype)

out

___

#### clone

▸ `Const` **clone**(`a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Creates a new quat initialized with values from an existing quaternion

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | quaternion to clone |

**Returns:** [*vec4type*](#vec4type)

a new quaternion

___

#### conjugate

▸ **conjugate**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype)): [*quattype*](#quattype)

Calculates the conjugate of a quat
If the quaternion is normalized, this function is faster than quat.inverse and produces the same result.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | quat to calculate conjugate of |

**Returns:** [*quattype*](#quattype)

out

___

#### copy

▸ `Const` **copy**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Copy the values from one quat to another

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | the source quaternion |

**Returns:** [*vec4type*](#vec4type)

out

___

#### create

▸ **create**(): [*quattype*](#quattype)

Creates a new identity quat

**Returns:** [*quattype*](#quattype)

a new quaternion

___

#### dot

▸ `Const` **dot**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the dot product of two quat's

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ `Const` **equals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the quaternions have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first vector. |
| `b` | [*vec4type*](#vec4type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ `Const` **exactEquals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first quaternion. |
| `b` | [*vec4type*](#vec4type) | The second quaternion. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### fromMat3

▸ **fromMat3**(`out`: [*quattype*](#quattype), `m`: [*mat3type*](#mat3type)): [*quattype*](#quattype)

Creates a quaternion from the given 3x3 rotation matrix.

NOTE: The resultant quaternion is not normalized, so you should be sure
to renormalize the quaternion yourself where necessary.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `m` | [*mat3type*](#mat3type) | rotation matrix |

**Returns:** [*quattype*](#quattype)

out

___

#### fromValues

▸ `Const` **fromValues**(`x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Creates a new quat initialized with the given values

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

a new quaternion

___

#### getAxisAngle

▸ **getAxisAngle**(`outAxis`: [*vec3type*](#vec3type), `q`: [*quattype*](#quattype)): *number*

Gets the rotation axis and angle for a given
 quaternion. If a quaternion is created with
 setAxisAngle, this method will return the same
 values as providied in the original parameter list
 OR functionally equivalent values.
Example: The quaternion formed by axis [0, 0, 1] and
 angle -90 is the same as the quaternion formed by
 [0, 0, 1] and 270. This method favors the latter.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `outAxis` | [*vec3type*](#vec3type) | Vector receiving the axis of rotation |
| `q` | [*quattype*](#quattype) | Quaternion to be decomposed |

**Returns:** *number*

Angle, in radians, of the rotation

___

#### identity

▸ **identity**(`out`: [*quattype*](#quattype)): [*quattype*](#quattype)

Set a quat to the identity quaternion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |

**Returns:** [*quattype*](#quattype)

out

___

#### invert

▸ **invert**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype)): [*quattype*](#quattype)

Calculates the inverse of a quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | quat to calculate inverse of |

**Returns:** [*quattype*](#quattype)

out

___

#### length

▸ `Const` **length**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the length of a quat

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ `Const` **lerp**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type), `t`: *number*): [*vec4type*](#vec4type)

Performs a linear interpolation between two quat's

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec4type*](#vec4type)

out

___

#### multiply

▸ **multiply**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `b`: [*quattype*](#quattype)): [*quattype*](#quattype)

Multiplies two quat's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | the first operand |
| `b` | [*quattype*](#quattype) | the second operand |

**Returns:** [*quattype*](#quattype)

out

___

#### normalize

▸ `Const` **normalize**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Normalize a quat

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | quaternion to normalize |

**Returns:** [*vec4type*](#vec4type)

out

___

#### rotateX

▸ **rotateX**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `rad`: *number*): [*quattype*](#quattype)

Rotates a quaternion by the given angle about the X axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | quat receiving operation result |
| `a` | [*quattype*](#quattype) | quat to rotate |
| `rad` | *number* | angle (in radians) to rotate |

**Returns:** [*quattype*](#quattype)

out

___

#### rotateY

▸ **rotateY**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `rad`: *number*): [*quattype*](#quattype)

Rotates a quaternion by the given angle about the Y axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | quat receiving operation result |
| `a` | [*quattype*](#quattype) | quat to rotate |
| `rad` | *number* | angle (in radians) to rotate |

**Returns:** [*quattype*](#quattype)

out

___

#### rotateZ

▸ **rotateZ**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `rad`: *number*): [*quattype*](#quattype)

Rotates a quaternion by the given angle about the Z axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | quat receiving operation result |
| `a` | [*quattype*](#quattype) | quat to rotate |
| `rad` | *number* | angle (in radians) to rotate |

**Returns:** [*quattype*](#quattype)

out

___

#### rotationTo

▸ **rotationTo**(`out`: [*quattype*](#quattype), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*quattype*](#quattype)

Sets a quaternion to represent the shortest rotation from one
vector to another.

Both vectors are assumed to be unit length.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion. |
| `a` | [*vec3type*](#vec3type) | the initial vector |
| `b` | [*vec3type*](#vec3type) | the destination vector |

**Returns:** [*quattype*](#quattype)

out

___

#### scale

▸ `Const` **scale**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: *number*): [*vec4type*](#vec4type)

Scales a quat by a scalar number

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec4type*](#vec4type)

out

___

#### set

▸ `Const` **set**(`out`: [*vec4type*](#vec4type), `x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Set the components of a quat to the given values

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

out

___

#### setAxes

▸ **setAxes**(`out`: [*quattype*](#quattype), `view`: [*vec3type*](#vec3type), `right`: [*vec3type*](#vec3type), `up`: [*vec3type*](#vec3type)): [*quattype*](#quattype)

Sets the specified quaternion with values corresponding to the given
axes. Each axis is a vec3 and is expected to be unit length and
perpendicular to all other specified axes.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | - |
| `view` | [*vec3type*](#vec3type) | the vector representing the viewing direction |
| `right` | [*vec3type*](#vec3type) | the vector representing the local "right" direction |
| `up` | [*vec3type*](#vec3type) | the vector representing the local "up" direction |

**Returns:** [*quattype*](#quattype)

out

___

#### setAxisAngle

▸ **setAxisAngle**(`out`: [*quattype*](#quattype), `axis`: [*vec3type*](#vec3type), `rad`: *number*): [*quattype*](#quattype)

Sets a quat from the given angle and rotation axis,
then returns it.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `axis` | [*vec3type*](#vec3type) | the axis around which to rotate |
| `rad` | *number* | the angle in radians |

**Returns:** [*quattype*](#quattype)

out

___

#### slerp

▸ **slerp**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `b`: [*quattype*](#quattype), `t`: *number*): [*quattype*](#quattype)

Performs a spherical linear interpolation between two quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | the first operand |
| `b` | [*quattype*](#quattype) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*quattype*](#quattype)

out

___

#### sqlerp

▸ **sqlerp**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `b`: [*quattype*](#quattype), `c`: [*quattype*](#quattype), `d`: [*quattype*](#quattype), `t`: *number*): [*quattype*](#quattype)

Performs a spherical linear interpolation with two control points

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | the first operand |
| `b` | [*quattype*](#quattype) | the second operand |
| `c` | [*quattype*](#quattype) | the third operand |
| `d` | [*quattype*](#quattype) | the fourth operand |
| `t` | *number* | interpolation amount |

**Returns:** [*quattype*](#quattype)

out

___

#### squaredLength

▸ `Const` **squaredLength**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the squared length of a quat

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*quattype*](#quattype)): *string*

Returns a string representation of a quatenion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*quattype*](#quattype) | vector to represent as a string |

**Returns:** *string*

string representation of the vector


<a name="modulesdefaultspringmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / spring

## Namespace: spring

[default](#modulesdefaultmd).spring

### Table of contents

#### Functions

- [needsInterpolation](#needsinterpolation)

### Functions

#### needsInterpolation

▸ **needsInterpolation**(`a`: *any*, `b`: *any*): *boolean*

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *any* |
| `b` | *any* |

**Returns:** *boolean*


<a name="modulesdefaultvec2md"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / vec2

## Namespace: vec2

[default](#modulesdefaultmd).vec2

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [angle](#angle)
- [ceil](#ceil)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [cross](#cross)
- [distance](#distance)
- [divide](#divide)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [floor](#floor)
- [forEach](#foreach)
- [fromValues](#fromvalues)
- [inverse](#inverse)
- [length](#length)
- [lerp](#lerp)
- [max](#max)
- [min](#min)
- [multiply](#multiply)
- [negate](#negate)
- [normalize](#normalize)
- [random](#random)
- [rotate](#rotate)
- [round](#round)
- [scale](#scale)
- [scaleAndAdd](#scaleandadd)
- [set](#set)
- [squaredDistance](#squareddistance)
- [squaredLength](#squaredlength)
- [str](#str)
- [subtract](#subtract)
- [transformMat2](#transformmat2)
- [transformMat2d](#transformmat2d)
- [transformMat3](#transformmat3)
- [transformMat4](#transformmat4)
- [zero](#zero)

### Type aliases

#### valueType

Ƭ **valueType**: [*vec2type*](#vec2type)

### Functions

#### add

▸ **add**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Adds two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### angle

▸ **angle**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Get the angle between two 2D vectors

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | The first operand |
| `b` | [*vec2type*](#vec2type) | The second operand |

**Returns:** *number*

The angle in radians

___

#### ceil

▸ **ceil**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Math.ceil the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to ceil |

**Returns:** [*vec2type*](#vec2type)

out

___

#### clone

▸ **clone**(`a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Creates a new vec2 initialized with values from an existing vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to clone |

**Returns:** [*vec2type*](#vec2type)

a new 2D vector

___

#### copy

▸ **copy**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Copy the values from one vec2 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the source vector |

**Returns:** [*vec2type*](#vec2type)

out

___

#### create

▸ **create**(): [*vec2type*](#vec2type)

Creates a new, empty vec2

**Returns:** [*vec2type*](#vec2type)

a new 2D vector

___

#### cross

▸ **cross**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Computes the cross product of two vec2's
Note that the cross product must by definition produce a 3D vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### distance

▸ **distance**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Calculates the euclidian distance between two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** *number*

distance between a and b

___

#### divide

▸ **divide**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Divides two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### dot

▸ **dot**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Calculates the dot product of two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ **equals**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *boolean*

Returns whether or not the vectors have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | The first vector. |
| `b` | [*vec2type*](#vec2type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *boolean*

Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | The first vector. |
| `b` | [*vec2type*](#vec2type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### floor

▸ **floor**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Math.floor the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to floor |

**Returns:** [*vec2type*](#vec2type)

out

___

#### forEach

▸ `Const` **forEach**(`a`: *any*, `stride`: *any*, `offset`: *any*, `count`: *any*, `fn`: *any*, `arg`: *any*): *any*

Perform some operation over an array of vec2s.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *any* | the array of vectors to iterate over |
| `stride` | *any* | Number of elements between the start of each vec2. If 0 assumes tightly packed |
| `offset` | *any* | Number of elements to skip at the beginning of the array |
| `count` | *any* | Number of vec2s to iterate over. If 0 iterates over entire array |
| `fn` | *any* | Function to call for each vector in the array |
| `arg` | *any* | - |

**Returns:** *any*

a

___

#### fromValues

▸ **fromValues**(`x`: *number*, `y`: *number*): [*vec2type*](#vec2type)

Creates a new vec2 initialized with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |

**Returns:** [*vec2type*](#vec2type)

a new 2D vector

___

#### inverse

▸ **inverse**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Returns the inverse of the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to invert |

**Returns:** [*vec2type*](#vec2type)

out

___

#### length

▸ **length**(`a`: [*vec2type*](#vec2type)): *number*

Calculates the length of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ **lerp**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type), `t`: *number*): [*vec2type*](#vec2type)

Performs a linear interpolation between two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |
| `t` | *number* | interpolation amount, in the range [0-1], between the two inputs |

**Returns:** [*vec2type*](#vec2type)

out

___

#### max

▸ **max**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Returns the maximum of two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### min

▸ **min**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Returns the minimum of two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### multiply

▸ **multiply**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Multiplies two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### negate

▸ **negate**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Negates the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to negate |

**Returns:** [*vec2type*](#vec2type)

out

___

#### normalize

▸ **normalize**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Normalize a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to normalize |

**Returns:** [*vec2type*](#vec2type)

out

___

#### random

▸ **random**(`out`: [*vec2type*](#vec2type), `scale`: *number*): [*vec2type*](#vec2type)

Generates a random vector with the given scale

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `scale` | *number* | - |

**Returns:** [*vec2type*](#vec2type)

out

___

#### rotate

▸ **rotate**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type), `rad`: *number*): [*vec2type*](#vec2type)

Rotate a 2D vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | The receiving vec2 |
| `a` | [*vec2type*](#vec2type) | The vec2 point to rotate |
| `b` | [*vec2type*](#vec2type) | The origin of the rotation |
| `rad` | *number* | The angle of rotation in radians |

**Returns:** [*vec2type*](#vec2type)

out

___

#### round

▸ **round**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Math.round the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to round |

**Returns:** [*vec2type*](#vec2type)

out

___

#### scale

▸ **scale**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: *number*): [*vec2type*](#vec2type)

Scales a vec2 by a scalar number

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec2type*](#vec2type)

out

___

#### scaleAndAdd

▸ **scaleAndAdd**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type), `scale`: *number*): [*vec2type*](#vec2type)

Adds two vec2's after scaling the second operand by a scalar value

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |
| `scale` | *number* | the amount to scale b by before adding |

**Returns:** [*vec2type*](#vec2type)

out

___

#### set

▸ **set**(`out`: [*vec2type*](#vec2type), `x`: *number*, `y`: *number*): [*vec2type*](#vec2type)

Set the components of a vec2 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `x` | *number* | X component |
| `y` | *number* | Y component |

**Returns:** [*vec2type*](#vec2type)

out

___

#### squaredDistance

▸ **squaredDistance**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Calculates the squared euclidian distance between two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** *number*

squared distance between a and b

___

#### squaredLength

▸ **squaredLength**(`a`: [*vec2type*](#vec2type)): *number*

Calculates the squared length of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*vec2type*](#vec2type)): *string*

Returns a string representation of a vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to represent as a string |

**Returns:** *string*

string representation of the vector

___

#### subtract

▸ **subtract**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Subtracts vector b from vector a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat2

▸ **transformMat2**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat2d

▸ **transformMat2d**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat3

▸ **transformMat3**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat3
3rd vector component is implicitly '1'

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat4

▸ **transformMat4**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat4
3rd vector component is implicitly '0'
4th vector component is implicitly '1'

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### zero

▸ **zero**(`out`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Set the components of a vec2 to zero

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |

**Returns:** [*vec2type*](#vec2type)

out


<a name="modulesdefaultvec3md"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / vec3

## Namespace: vec3

[default](#modulesdefaultmd).vec3

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [angle](#angle)
- [bezier](#bezier)
- [ceil](#ceil)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [cross](#cross)
- [distance](#distance)
- [divide](#divide)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [floor](#floor)
- [forEach](#foreach)
- [fromValues](#fromvalues)
- [hermite](#hermite)
- [inverse](#inverse)
- [length](#length)
- [lerp](#lerp)
- [max](#max)
- [min](#min)
- [multiply](#multiply)
- [negate](#negate)
- [normalize](#normalize)
- [random](#random)
- [rotateX](#rotatex)
- [rotateY](#rotatey)
- [rotateZ](#rotatez)
- [round](#round)
- [scale](#scale)
- [scaleAndAdd](#scaleandadd)
- [set](#set)
- [squaredDistance](#squareddistance)
- [squaredLength](#squaredlength)
- [str](#str)
- [subtract](#subtract)
- [transformMat3](#transformmat3)
- [transformMat4](#transformmat4)
- [transformQuat](#transformquat)

### Type aliases

#### valueType

Ƭ **valueType**: [*vec3type*](#vec3type)

### Functions

#### add

▸ **add**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Adds two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### angle

▸ **angle**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Get the angle between two 3D vectors

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | The first operand |
| `b` | [*vec3type*](#vec3type) | The second operand |

**Returns:** *number*

The angle in radians

___

#### bezier

▸ **bezier**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: [*vec3type*](#vec3type), `d`: [*vec3type*](#vec3type), `t`: *number*): [*vec3type*](#vec3type)

Performs a bezier interpolation with two control points

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `c` | [*vec3type*](#vec3type) | the third operand |
| `d` | [*vec3type*](#vec3type) | the fourth operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec3type*](#vec3type)

out

___

#### ceil

▸ **ceil**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Math.ceil the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to ceil |

**Returns:** [*vec3type*](#vec3type)

out

___

#### clone

▸ **clone**(`a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Creates a new vec3 initialized with values from an existing vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to clone |

**Returns:** [*vec3type*](#vec3type)

a new 3D vector

___

#### copy

▸ **copy**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Copy the values from one vec3 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the source vector |

**Returns:** [*vec3type*](#vec3type)

out

___

#### create

▸ **create**(): [*vec3type*](#vec3type)

Creates a new, empty vec3

**Returns:** [*vec3type*](#vec3type)

a new 3D vector

___

#### cross

▸ **cross**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Computes the cross product of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### distance

▸ **distance**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Calculates the euclidian distance between two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** *number*

distance between a and b

___

#### divide

▸ **divide**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Divides two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### dot

▸ **dot**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Calculates the dot product of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ **equals**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *boolean*

Returns whether or not the vectors have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | The first vector. |
| `b` | [*vec3type*](#vec3type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *boolean*

Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | The first vector. |
| `b` | [*vec3type*](#vec3type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### floor

▸ **floor**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Math.floor the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to floor |

**Returns:** [*vec3type*](#vec3type)

out

___

#### forEach

▸ **forEach**(`a`: [*vec3type*](#vec3type), `stride`: *number*, `offset`: *number*, `count`: *number*, `fn`: (`out`: [*vec3type*](#vec3type), `vec`: [*vec3type*](#vec3type), `arg`: *any*) => *void*, `arg?`: *any*): *any*

Perform some operation over an array of vec3s.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the array of vectors to iterate over |
| `stride` | *number* | Number of elements between the start of each vec3. If 0 assumes tightly packed |
| `offset` | *number* | Number of elements to skip at the beginning of the array |
| `count` | *number* | Number of vec3s to iterate over. If 0 iterates over entire array |
| `fn` | (`out`: [*vec3type*](#vec3type), `vec`: [*vec3type*](#vec3type), `arg`: *any*) => *void* | Function to call for each vector in the array |
| `arg?` | *any* | - |

**Returns:** *any*

a

___

#### fromValues

▸ **fromValues**(`x`: *number*, `y`: *number*, `z`: *number*): [*vec3type*](#vec3type)

Creates a new vec3 initialized with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |

**Returns:** [*vec3type*](#vec3type)

a new 3D vector

___

#### hermite

▸ **hermite**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: [*vec3type*](#vec3type), `d`: [*vec3type*](#vec3type), `t`: *number*): [*vec3type*](#vec3type)

Performs a hermite interpolation with two control points

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `c` | [*vec3type*](#vec3type) | the third operand |
| `d` | [*vec3type*](#vec3type) | the fourth operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec3type*](#vec3type)

out

___

#### inverse

▸ **inverse**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Returns the inverse of the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to invert |

**Returns:** [*vec3type*](#vec3type)

out

___

#### length

▸ **length**(`a`: [*vec3type*](#vec3type)): *number*

Calculates the length of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ **lerp**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `t`: *number*): [*vec3type*](#vec3type)

Performs a linear interpolation between two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec3type*](#vec3type)

out

___

#### max

▸ **max**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Returns the maximum of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### min

▸ **min**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Returns the minimum of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### multiply

▸ **multiply**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Multiplies two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### negate

▸ **negate**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Negates the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to negate |

**Returns:** [*vec3type*](#vec3type)

out

___

#### normalize

▸ **normalize**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Normalize a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to normalize |

**Returns:** [*vec3type*](#vec3type)

out

___

#### random

▸ **random**(`out`: [*vec3type*](#vec3type), `s?`: *number*): [*vec3type*](#vec3type)

Generates a random vector with the given scale

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | - | the receiving vector |
| `s` | *number* | 1.0 | - |

**Returns:** [*vec3type*](#vec3type)

out

___

#### rotateX

▸ **rotateX**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: *number*): [*vec3type*](#vec3type)

Rotate a 3D vector around the x-axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | The receiving vec3 |
| `a` | [*vec3type*](#vec3type) | The vec3 point to rotate |
| `b` | [*vec3type*](#vec3type) | The origin of the rotation |
| `c` | *number* | The angle of rotation |

**Returns:** [*vec3type*](#vec3type)

out

___

#### rotateY

▸ **rotateY**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: *number*): [*vec3type*](#vec3type)

Rotate a 3D vector around the y-axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | The receiving vec3 |
| `a` | [*vec3type*](#vec3type) | The vec3 point to rotate |
| `b` | [*vec3type*](#vec3type) | The origin of the rotation |
| `c` | *number* | The angle of rotation |

**Returns:** [*vec3type*](#vec3type)

out

___

#### rotateZ

▸ **rotateZ**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: *number*): [*vec3type*](#vec3type)

Rotate a 3D vector around the z-axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | The receiving vec3 |
| `a` | [*vec3type*](#vec3type) | The vec3 point to rotate |
| `b` | [*vec3type*](#vec3type) | The origin of the rotation |
| `c` | *number* | The angle of rotation |

**Returns:** [*vec3type*](#vec3type)

out

___

#### round

▸ **round**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Math.round the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to round |

**Returns:** [*vec3type*](#vec3type)

out

___

#### scale

▸ **scale**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: *number*): [*vec3type*](#vec3type)

Scales a vec3 by a scalar number

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec3type*](#vec3type)

out

___

#### scaleAndAdd

▸ **scaleAndAdd**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `s`: *number*): [*vec3type*](#vec3type)

Adds two vec3's after scaling the second operand by a scalar value

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `s` | *number* | the amount to scale b by before adding |

**Returns:** [*vec3type*](#vec3type)

out

___

#### set

▸ **set**(`out`: [*vec3type*](#vec3type), `x`: *number*, `y`: *number*, `z`: *number*): [*vec3type*](#vec3type)

Set the components of a vec3 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |

**Returns:** [*vec3type*](#vec3type)

out

___

#### squaredDistance

▸ **squaredDistance**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Calculates the squared euclidian distance between two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** *number*

squared distance between a and b

___

#### squaredLength

▸ **squaredLength**(`a`: [*vec3type*](#vec3type)): *number*

Calculates the squared length of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*vec3type*](#vec3type)): *string*

Returns a string representation of a vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to represent as a string |

**Returns:** *string*

string representation of the vector

___

#### subtract

▸ **subtract**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Subtracts vector b from vector a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### transformMat3

▸ **transformMat3**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `m`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Transforms the vec3 with a mat3.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to transform |
| `m` | [*mat4type*](#mat4type) | the 3x3 matrix to transform with |

**Returns:** [*vec3type*](#vec3type)

out

___

#### transformMat4

▸ **transformMat4**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `m`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Transforms the vec3 with a mat4.
4th vector component is implicitly '1'

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to transform |
| `m` | [*mat4type*](#mat4type) | matrix to transform with |

**Returns:** [*vec3type*](#vec3type)

out

___

#### transformQuat

▸ **transformQuat**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `q`: [*quattype*](#quattype)): [*vec3type*](#vec3type)

Transforms the vec3 with a quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to transform |
| `q` | [*quattype*](#quattype) | quaternion to transform with |

**Returns:** [*vec3type*](#vec3type)

out


<a name="modulesdefaultvec4md"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / vec4

## Namespace: vec4

[default](#modulesdefaultmd).vec4

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [ceil](#ceil)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [distance](#distance)
- [divide](#divide)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [floor](#floor)
- [forEach](#foreach)
- [fromValues](#fromvalues)
- [inverse](#inverse)
- [length](#length)
- [lerp](#lerp)
- [max](#max)
- [min](#min)
- [multiply](#multiply)
- [negate](#negate)
- [normalize](#normalize)
- [random](#random)
- [round](#round)
- [scale](#scale)
- [scaleAndAdd](#scaleandadd)
- [set](#set)
- [squaredDistance](#squareddistance)
- [squaredLength](#squaredlength)
- [str](#str)
- [subtract](#subtract)
- [transformMat4](#transformmat4)
- [transformQuat](#transformquat)

### Type aliases

#### valueType

Ƭ **valueType**: [*vec4type*](#vec4type)

### Functions

#### add

▸ **add**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Adds two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### ceil

▸ **ceil**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Math.ceil the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to ceil |

**Returns:** [*vec4type*](#vec4type)

out

___

#### clone

▸ **clone**(`a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Creates a new vec4 initialized with values from an existing vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to clone |

**Returns:** [*vec4type*](#vec4type)

a new 4D vector

___

#### copy

▸ **copy**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Copy the values from one vec4 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the source vector |

**Returns:** [*vec4type*](#vec4type)

out

___

#### create

▸ **create**(): [*vec4type*](#vec4type)

Creates a new, empty vec4

**Returns:** [*vec4type*](#vec4type)

a new 4D vector

___

#### distance

▸ **distance**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the euclidian distance between two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

distance between a and b

___

#### divide

▸ **divide**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Divides two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### dot

▸ **dot**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the dot product of two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ **equals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the vectors have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first vector. |
| `b` | [*vec4type*](#vec4type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first vector. |
| `b` | [*vec4type*](#vec4type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### floor

▸ **floor**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Math.floor the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to floor |

**Returns:** [*vec4type*](#vec4type)

out

___

#### forEach

▸ **forEach**(`a`: [*vec4type*](#vec4type), `stride`: *number*, `offset`: *number*, `count`: *number*, `fn`: (`out`: [*vec4type*](#vec4type), `vec`: [*vec4type*](#vec4type), `arg`: *any*) => *void*, `arg?`: *any*): *any*

Perform some operation over an array of vec4s.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the array of vectors to iterate over |
| `stride` | *number* | Number of elements between the start of each vec4. If 0 assumes tightly packed |
| `offset` | *number* | Number of elements to skip at the beginning of the array |
| `count` | *number* | Number of vec4s to iterate over. If 0 iterates over entire array |
| `fn` | (`out`: [*vec4type*](#vec4type), `vec`: [*vec4type*](#vec4type), `arg`: *any*) => *void* | Function to call for each vector in the array |
| `arg?` | *any* | - |

**Returns:** *any*

a

___

#### fromValues

▸ **fromValues**(`x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Creates a new vec4 initialized with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

a new 4D vector

___

#### inverse

▸ **inverse**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Returns the inverse of the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to invert |

**Returns:** [*vec4type*](#vec4type)

out

___

#### length

▸ **length**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the length of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ **lerp**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type), `t`: *number*): [*vec4type*](#vec4type)

Performs a linear interpolation between two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec4type*](#vec4type)

out

___

#### max

▸ **max**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Returns the maximum of two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### min

▸ **min**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Returns the minimum of two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### multiply

▸ **multiply**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Multiplies two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### negate

▸ **negate**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Negates the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to negate |

**Returns:** [*vec4type*](#vec4type)

out

___

#### normalize

▸ **normalize**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Normalize a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to normalize |

**Returns:** [*vec4type*](#vec4type)

out

___

#### random

▸ **random**(`out`: [*vec4type*](#vec4type), `s?`: *number*): [*vec4type*](#vec4type)

Generates a random vector with the given scale

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | - | the receiving vector |
| `s` | *number* | 1.0 | - |

**Returns:** [*vec4type*](#vec4type)

out

___

#### round

▸ **round**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Math.round the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to round |

**Returns:** [*vec4type*](#vec4type)

out

___

#### scale

▸ **scale**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: *number*): [*vec4type*](#vec4type)

Scales a vec4 by a scalar number

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec4type*](#vec4type)

out

___

#### scaleAndAdd

▸ **scaleAndAdd**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type), `s`: *number*): [*vec4type*](#vec4type)

Adds two vec4's after scaling the second operand by a scalar value

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |
| `s` | *number* | the amount to scale b by before adding |

**Returns:** [*vec4type*](#vec4type)

out

___

#### set

▸ **set**(`out`: [*vec4type*](#vec4type), `x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Set the components of a vec4 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

out

___

#### squaredDistance

▸ **squaredDistance**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the squared euclidian distance between two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

squared distance between a and b

___

#### squaredLength

▸ **squaredLength**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the squared length of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*vec4type*](#vec4type)): *string*

Returns a string representation of a vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to represent as a string |

**Returns:** *string*

string representation of the vector

___

#### subtract

▸ **subtract**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Subtracts vector b from vector a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### transformMat4

▸ **transformMat4**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `m`: [*mat4type*](#mat4type)): [*vec4type*](#vec4type)

Transforms the vec4 with a mat4.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to transform |
| `m` | [*mat4type*](#mat4type) | matrix to transform with |

**Returns:** [*vec4type*](#vec4type)

out

___

#### transformQuat

▸ **transformQuat**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `q`: [*quattype*](#quattype)): [*vec4type*](#vec4type)

Transforms the vec4 with a quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to transform |
| `q` | [*quattype*](#quattype) | quaternion to transform with |

**Returns:** [*vec4type*](#vec4type)

out


<a name="modulesdommd"></a>

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

## Namespace: Dom

### Table of contents

#### Type aliases

- [Anchor](#anchor)

#### Variables

- [anchorTranslate](#anchortranslate)

#### Functions

- [addClass](#addclass)
- [addEventListener](#addeventlistener)
- [create](#create)
- [createNS](#createns)
- [disableDrag](#disabledrag)
- [enableDrag](#enabledrag)
- [getClass](#getclass)
- [hasClass](#hasclass)
- [mouseButton](#mousebutton)
- [mousePos](#mousepos)
- [remove](#remove)
- [removeClass](#removeclass)
- [removeEventListener](#removeeventlistener)
- [setClass](#setclass)
- [setTransform](#settransform)
- [suppressClick](#suppressclick)
- [touchPos](#touchpos)

### Type aliases

#### Anchor

Ƭ **Anchor**: ``"center"`` \| ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``

### Variables

#### anchorTranslate

• `Const` **anchorTranslate**: *Record*<[*Anchor*](#anchor), string\>

### Functions

#### addClass

▸ **addClass**(`el`: HTMLElement, `name`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *void*

___

#### addEventListener

▸ **addEventListener**(`target`: *any*, `type`: *any*, `callback`: *any*, `options?`: { `capture?`: *boolean* ; `passive?`: *boolean*  }): *void*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `target` | *any* | - |
| `type` | *any* | - |
| `callback` | *any* | - |
| `options` | *object* | {} |
| `options.capture?` | *boolean* | - |
| `options.passive?` | *boolean* | - |

**Returns:** *void*

___

#### create

▸ **create**(`tagName`: *string*, `className?`: *string*, `container?`: HTMLElement): HTMLElement

##### Parameters

| Name | Type |
| :------ | :------ |
| `tagName` | *string* |
| `className?` | *string* |
| `container?` | HTMLElement |

**Returns:** HTMLElement

___

#### createNS

▸ **createNS**(`namespaceURI`: *string*, `tagName`: *string*): Element

##### Parameters

| Name | Type |
| :------ | :------ |
| `namespaceURI` | *string* |
| `tagName` | *string* |

**Returns:** Element

___

#### disableDrag

▸ **disableDrag**(): *void*

**Returns:** *void*

___

#### enableDrag

▸ **enableDrag**(): *void*

**Returns:** *void*

___

#### getClass

▸ **getClass**(`el`: HTMLElement): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |

**Returns:** *any*

___

#### hasClass

▸ **hasClass**(`el`: HTMLElement, `name`: *string*): *boolean*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *boolean*

___

#### mouseButton

▸ **mouseButton**(`e`: MouseEvent): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `e` | MouseEvent |

**Returns:** *number*

___

#### mousePos

▸ **mousePos**(`el`: HTMLElement, `e`: MouseEvent \| WheelEvent): [*GeoPoint*](#classesdefaultgeopointmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `e` | MouseEvent \| WheelEvent |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### remove

▸ **remove**(`node`: HTMLElement): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `node` | HTMLElement |

**Returns:** *void*

___

#### removeClass

▸ **removeClass**(`el`: HTMLElement, `name`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *void*

___

#### removeEventListener

▸ **removeEventListener**(`target`: *any*, `type`: *any*, `callback`: *any*, `options?`: { `capture?`: *boolean* ; `passive?`: *boolean*  }): *void*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `target` | *any* | - |
| `type` | *any* | - |
| `callback` | *any* | - |
| `options` | *object* | {} |
| `options.capture?` | *boolean* | - |
| `options.passive?` | *boolean* | - |

**Returns:** *void*

___

#### setClass

▸ **setClass**(`el`: HTMLElement, `name`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `name` | *string* |

**Returns:** *void*

___

#### setTransform

▸ **setTransform**(`el`: HTMLElement, `value`: *string*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `value` | *string* |

**Returns:** *void*

___

#### suppressClick

▸ **suppressClick**(): *void*

**Returns:** *void*

___

#### touchPos

▸ **touchPos**(`el`: HTMLElement, `touches`: TouchList): [*GeoPoint*](#classesdefaultgeopointmd)[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `el` | HTMLElement |
| `touches` | TouchList |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]


<a name="modulesmat2md"></a>

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

## Namespace: mat2

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [LDU](#ldu)
- [add](#add)
- [adjoint](#adjoint)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromRotation](#fromrotation)
- [fromScaling](#fromscaling)
- [fromValues](#fromvalues)
- [identity](#identity)
- [invert](#invert)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [rotate](#rotate)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [transpose](#transpose)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat2type*](#mat2type)

### Functions

#### LDU

▸ **LDU**(`L`: [*mat2type*](#mat2type), `D`: [*mat2type*](#mat2type), `U`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)[]

Returns L, D and U matrices (Lower triangular, Diagonal and Upper triangular) by factorizing the input matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `L` | [*mat2type*](#mat2type) | the lower triangular matrix |
| `D` | [*mat2type*](#mat2type) | the diagonal matrix |
| `U` | [*mat2type*](#mat2type) | the upper triangular matrix |
| `a` | [*mat2type*](#mat2type) | the input matrix to factorize |

**Returns:** [*mat2type*](#mat2type)[]

___

#### add

▸ **add**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Adds two mat2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |

**Returns:** [*mat2type*](#mat2type)

out

___

#### adjoint

▸ **adjoint**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Calculates the adjugate of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type)

out

___

#### clone

▸ **clone**(`a`: [*mat2type*](#mat2type)): *Float32Array*

Creates a new mat2 initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | matrix to clone |

**Returns:** *Float32Array*

a new 2x2 matrix

___

#### copy

▸ **copy**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Copy the values from one mat2 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type)

out

___

#### create

▸ **create**(): *Float32Array*

Creates a new identity mat2

**Returns:** *Float32Array*

a new 2x2 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat2type*](#mat2type)): *number*

Calculates the determinant of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | The first matrix. |
| `b` | [*mat2type*](#mat2type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | The first matrix. |
| `b` | [*mat2type*](#mat2type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat2type*](#mat2type)): *number*

Returns Frobenius norm of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat2type*](#mat2type), `rad`: *number*): [*mat2type*](#mat2type)

Creates a matrix from a given angle
This is equivalent to (but much faster than):

    mat2.identity(dest);
    mat2.rotate(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | mat2 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat2type*](#mat2type), `v`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat2.identity(dest);
    mat2.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | mat2 receiving operation result |
| `v` | [*mat2type*](#mat2type) | Scaling vector |

**Returns:** [*mat2type*](#mat2type)

out

___

#### fromValues

▸ **fromValues**(`m00`: *number*, `m01`: *number*, `m10`: *number*, `m11`: *number*): [*mat2type*](#mat2type)

Create a new mat2 with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m10` | *number* | Component in column 1, row 0 position (index 2) |
| `m11` | *number* | Component in column 1, row 1 position (index 3) |

**Returns:** [*mat2type*](#mat2type)

out A new 2x2 matrix

___

#### identity

▸ **identity**(`out`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Set a mat2 to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |

**Returns:** [*mat2type*](#mat2type)

out

___

#### invert

▸ **invert**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type) \| ``null``

Inverts a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type) \| ``null``

out

___

#### multiply

▸ **multiply**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Multiplies two mat2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |

**Returns:** [*mat2type*](#mat2type)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: *number*): [*mat2type*](#mat2type)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type), `scale`: *number*): [*mat2type*](#mat2type)

Adds two mat2's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving vector |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |
| `scale` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat2type*](#mat2type)

out

___

#### rotate

▸ **rotate**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `rad`: *number*): [*mat2type*](#mat2type)

Rotates a mat2 by the given angle

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### scale

▸ **scale**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `v`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Scales the mat2 by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the matrix to rotate |
| `v` | [*mat2type*](#mat2type) | the vec2 to scale the matrix by |

**Returns:** [*mat2type*](#mat2type)

out

___

#### set

▸ **set**(`out`: [*mat2type*](#mat2type), `m00`: *number*, `m01`: *number*, `m10`: *number*, `m11`: *number*): [*mat2type*](#mat2type)

Set the components of a mat2 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m10` | *number* | Component in column 1, row 0 position (index 2) |
| `m11` | *number* | Component in column 1, row 1 position (index 3) |

**Returns:** [*mat2type*](#mat2type)

out

___

#### str

▸ **str**(`a`: [*mat2type*](#mat2type)): *string*

Returns a string representation of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2type*](#mat2type) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type), `b`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the first operand |
| `b` | [*mat2type*](#mat2type) | the second operand |

**Returns:** [*mat2type*](#mat2type)

out

___

#### transpose

▸ **transpose**(`out`: [*mat2type*](#mat2type), `a`: [*mat2type*](#mat2type)): [*mat2type*](#mat2type)

Transpose the values of a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2type*](#mat2type) | the receiving matrix |
| `a` | [*mat2type*](#mat2type) | the source matrix |

**Returns:** [*mat2type*](#mat2type)

out


<a name="modulesmat2dmd"></a>

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

## Namespace: mat2d

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromRotation](#fromrotation)
- [fromScaling](#fromscaling)
- [fromTranslation](#fromtranslation)
- [fromValues](#fromvalues)
- [identity](#identity)
- [invert](#invert)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [rotate](#rotate)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [translate](#translate)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat2dtype*](#mat2dtype)

### Functions

#### add

▸ **add**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Adds two mat2d's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### clone

▸ **clone**(`a`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Creates a new mat2d initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | matrix to clone |

**Returns:** [*mat2dtype*](#mat2dtype)

a new 2x3 matrix

___

#### copy

▸ **copy**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Copy the values from one mat2d to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the source matrix |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### create

▸ **create**(): [*mat2dtype*](#mat2dtype)

Creates a new identity mat2d

**Returns:** [*mat2dtype*](#mat2dtype)

a new 2x3 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat2dtype*](#mat2dtype)): *number*

Calculates the determinant of a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | The first matrix. |
| `b` | [*mat2dtype*](#mat2dtype) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | The first matrix. |
| `b` | [*mat2dtype*](#mat2dtype) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat2dtype*](#mat2dtype)): *number*

Returns Frobenius norm of a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat2dtype*](#mat2dtype), `rad`: *number*): [*mat2dtype*](#mat2dtype)

Creates a matrix from a given angle
This is equivalent to (but much faster than):

    mat2d.identity(dest);
    mat2d.rotate(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | mat2d receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat2d.identity(dest);
    mat2d.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | mat2d receiving operation result |
| `v` | [*mat2dtype*](#mat2dtype) | Scaling vector |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### fromTranslation

▸ **fromTranslation**(`out`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Creates a matrix from a vector translation
This is equivalent to (but much faster than):

    mat2d.identity(dest);
    mat2d.translate(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | mat2d receiving operation result |
| `v` | [*mat2dtype*](#mat2dtype) | Translation vector |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### fromValues

▸ **fromValues**(`a`: *number*, `b`: *number*, `c`: *number*, `d`: *number*, `tx`: *number*, `ty`: *number*): [*mat2dtype*](#mat2dtype)

Create a new mat2d with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | Component A (index 0) |
| `b` | *number* | Component B (index 1) |
| `c` | *number* | Component C (index 2) |
| `d` | *number* | Component D (index 3) |
| `tx` | *number* | Component TX (index 4) |
| `ty` | *number* | Component TY (index 5) |

**Returns:** [*mat2dtype*](#mat2dtype)

A new mat2d

___

#### identity

▸ **identity**(`out`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Set a mat2d to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### invert

▸ **invert**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype) \| ``null``

Inverts a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the source matrix |

**Returns:** [*mat2dtype*](#mat2dtype) \| ``null``

out

___

#### multiply

▸ **multiply**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Multiplies two mat2d's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: *number*): [*mat2dtype*](#mat2dtype)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype), `scale`: *number*): [*mat2dtype*](#mat2dtype)

Adds two mat2d's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving vector |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |
| `scale` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### rotate

▸ **rotate**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `rad`: *number*): [*mat2dtype*](#mat2dtype)

Rotates a mat2d by the given angle

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### scale

▸ **scale**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Scales the mat2d by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to translate |
| `v` | [*mat2dtype*](#mat2dtype) | the vec2 to scale the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### set

▸ **set**(`out`: [*mat2dtype*](#mat2dtype), `a`: *number*, `b`: *number*, `c`: *number*, `d`: *number*, `tx`: *number*, `ty`: *number*): [*mat2dtype*](#mat2dtype)

Set the components of a mat2d to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | *number* | Component A (index 0) |
| `b` | *number* | Component B (index 1) |
| `c` | *number* | Component C (index 2) |
| `d` | *number* | Component D (index 3) |
| `tx` | *number* | Component TX (index 4) |
| `ty` | *number* | Component TY (index 5) |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### str

▸ **str**(`a`: [*mat2dtype*](#mat2dtype)): *string*

Returns a string representation of a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat2dtype*](#mat2dtype) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `b`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the first operand |
| `b` | [*mat2dtype*](#mat2dtype) | the second operand |

**Returns:** [*mat2dtype*](#mat2dtype)

out

___

#### translate

▸ **translate**(`out`: [*mat2dtype*](#mat2dtype), `a`: [*mat2dtype*](#mat2dtype), `v`: [*mat2dtype*](#mat2dtype)): [*mat2dtype*](#mat2dtype)

Translates the mat2d by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat2dtype*](#mat2dtype) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to translate |
| `v` | [*mat2dtype*](#mat2dtype) | the vec2 to translate the matrix by |

**Returns:** [*mat2dtype*](#mat2dtype)

out


<a name="modulesmat3md"></a>

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

## Namespace: mat3

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [adjoint](#adjoint)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromMat2d](#frommat2d)
- [fromMat4](#frommat4)
- [fromQuat](#fromquat)
- [fromRotation](#fromrotation)
- [fromScaling](#fromscaling)
- [fromTranslation](#fromtranslation)
- [fromValues](#fromvalues)
- [identity](#identity)
- [invert](#invert)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [normalFromMat4](#normalfrommat4)
- [rotate](#rotate)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [translate](#translate)
- [transpose](#transpose)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat3type*](#mat3type)

### Functions

#### add

▸ **add**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Adds two mat3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |

**Returns:** [*mat3type*](#mat3type)

out

___

#### adjoint

▸ **adjoint**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Calculates the adjugate of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### clone

▸ **clone**(`a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Creates a new mat3 initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | matrix to clone |

**Returns:** [*mat3type*](#mat3type)

a new 3x3 matrix

___

#### copy

▸ **copy**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Copy the values from one mat3 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### create

▸ **create**(): [*mat3type*](#mat3type)

Creates a new identity mat3

**Returns:** [*mat3type*](#mat3type)

a new 3x3 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat3type*](#mat3type)): *number*

Calculates the determinant of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | The first matrix. |
| `b` | [*mat3type*](#mat3type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | The first matrix. |
| `b` | [*mat3type*](#mat3type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat3type*](#mat3type)): *number*

Returns Frobenius norm of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromMat2d

▸ **fromMat2d**(`out`: [*mat3type*](#mat3type), `a`: [*mat2dtype*](#mat2dtype)): [*mat3type*](#mat3type)

Copies the values from a mat2d into a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat2dtype*](#mat2dtype) | the matrix to copy |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromMat4

▸ **fromMat4**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Copies the upper-left 3x3 values into the given mat3.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving 3x3 matrix |
| `a` | [*mat3type*](#mat3type) | the source 4x4 matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromQuat

▸ **fromQuat**(`out`: [*mat3type*](#mat3type), `q`: [*quattype*](#quattype)): [*mat3type*](#mat3type)

Calculates a 3x3 matrix from the given quaternion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `q` | [*quattype*](#quattype) | Quaternion to create matrix from |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat3type*](#mat3type), `rad`: *number*): [*mat3type*](#mat3type)

Creates a matrix from a given angle
This is equivalent to (but much faster than):

    mat3.identity(dest);
    mat3.rotate(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat3.identity(dest);
    mat3.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `v` | [*vec2type*](#vec2type) | Scaling vector |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromTranslation

▸ **fromTranslation**(`out`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Creates a matrix from a vector translation
This is equivalent to (but much faster than):

    mat3.identity(dest);
    mat3.translate(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `v` | [*vec2type*](#vec2type) | Translation vector |

**Returns:** [*mat3type*](#mat3type)

out

___

#### fromValues

▸ **fromValues**(`m00`: *number*, `m01`: *number*, `m02`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*): [*mat3type*](#mat3type)

Create a new mat3 with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m10` | *number* | Component in column 1, row 0 position (index 3) |
| `m11` | *number* | Component in column 1, row 1 position (index 4) |
| `m12` | *number* | Component in column 1, row 2 position (index 5) |
| `m20` | *number* | Component in column 2, row 0 position (index 6) |
| `m21` | *number* | Component in column 2, row 1 position (index 7) |
| `m22` | *number* | Component in column 2, row 2 position (index 8) |

**Returns:** [*mat3type*](#mat3type)

A new mat3

___

#### identity

▸ **identity**(`out`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Set a mat3 to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |

**Returns:** [*mat3type*](#mat3type)

out

___

#### invert

▸ **invert**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type) \| ``null``

Inverts a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type) \| ``null``

out

___

#### multiply

▸ **multiply**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Multiplies two mat3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |

**Returns:** [*mat3type*](#mat3type)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: *number*): [*mat3type*](#mat3type)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type), `s`: *number*): [*mat3type*](#mat3type)

Adds two mat3's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving vector |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |
| `s` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat3type*](#mat3type)

out

___

#### normalFromMat4

▸ **normalFromMat4**(`out`: [*mat3type*](#mat3type), `a`: [*mat4type*](#mat4type)): [*mat3type*](#mat3type) \| ``null``

Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | mat3 receiving operation result |
| `a` | [*mat4type*](#mat4type) | Mat4 to derive the normal matrix from |

**Returns:** [*mat3type*](#mat3type) \| ``null``

out

___

#### rotate

▸ **rotate**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `rad`: *number*): [*mat3type*](#mat3type)

Rotates a mat3 by the given angle

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### scale

▸ **scale**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Scales the mat3 by the dimensions in the given vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to rotate |
| `v` | [*vec2type*](#vec2type) | the vec2 to scale the matrix by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### set

▸ **set**(`out`: [*mat3type*](#mat3type), `m00`: *number*, `m01`: *number*, `m02`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*): [*mat3type*](#mat3type)

Set the components of a mat3 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m10` | *number* | Component in column 1, row 0 position (index 3) |
| `m11` | *number* | Component in column 1, row 1 position (index 4) |
| `m12` | *number* | Component in column 1, row 2 position (index 5) |
| `m20` | *number* | Component in column 2, row 0 position (index 6) |
| `m21` | *number* | Component in column 2, row 1 position (index 7) |
| `m22` | *number* | Component in column 2, row 2 position (index 8) |

**Returns:** [*mat3type*](#mat3type)

out

___

#### str

▸ **str**(`a`: [*mat3type*](#mat3type)): *string*

Returns a string representation of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat3type*](#mat3type) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `b`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the first operand |
| `b` | [*mat3type*](#mat3type) | the second operand |

**Returns:** [*mat3type*](#mat3type)

out

___

#### translate

▸ **translate**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type), `v`: [*vec2type*](#vec2type)): [*mat3type*](#mat3type)

Translate a mat3 by the given vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the matrix to translate |
| `v` | [*vec2type*](#vec2type) | vector to translate by |

**Returns:** [*mat3type*](#mat3type)

out

___

#### transpose

▸ **transpose**(`out`: [*mat3type*](#mat3type), `a`: [*mat3type*](#mat3type)): [*mat3type*](#mat3type)

Transpose the values of a mat3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat3type*](#mat3type) | the receiving matrix |
| `a` | [*mat3type*](#mat3type) | the source matrix |

**Returns:** [*mat3type*](#mat3type)

out


<a name="modulesmat4md"></a>

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

## Namespace: mat4

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [adjoint](#adjoint)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [determinant](#determinant)
- [equals](#equals)
- [exactEquals](#exactequals)
- [frob](#frob)
- [fromQuat](#fromquat)
- [fromRotation](#fromrotation)
- [fromRotationTranslation](#fromrotationtranslation)
- [fromRotationTranslationScale](#fromrotationtranslationscale)
- [fromRotationTranslationScaleOrigin](#fromrotationtranslationscaleorigin)
- [fromScaling](#fromscaling)
- [fromTranslation](#fromtranslation)
- [fromValues](#fromvalues)
- [fromXRotation](#fromxrotation)
- [fromYRotation](#fromyrotation)
- [fromZRotation](#fromzrotation)
- [frustum](#frustum)
- [getRotation](#getrotation)
- [getScaling](#getscaling)
- [getTranslation](#gettranslation)
- [identity](#identity)
- [invert](#invert)
- [lookAt](#lookat)
- [multiply](#multiply)
- [multiplyScalar](#multiplyscalar)
- [multiplyScalarAndAdd](#multiplyscalarandadd)
- [ortho](#ortho)
- [perspective](#perspective)
- [perspectiveFromFieldOfView](#perspectivefromfieldofview)
- [rotate](#rotate)
- [rotateX](#rotatex)
- [rotateY](#rotatey)
- [rotateZ](#rotatez)
- [scale](#scale)
- [set](#set)
- [str](#str)
- [subtract](#subtract)
- [translate](#translate)
- [transpose](#transpose)

### Type aliases

#### valueType

Ƭ **valueType**: [*mat4type*](#mat4type)

### Functions

#### add

▸ **add**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Adds two mat4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |

**Returns:** [*mat4type*](#mat4type)

out

___

#### adjoint

▸ **adjoint**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Calculates the adjugate of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type)

out

___

#### clone

▸ **clone**(`a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Creates a new mat4 initialized with values from an existing matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | matrix to clone |

**Returns:** [*mat4type*](#mat4type)

a new 4x4 matrix

___

#### copy

▸ **copy**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Copy the values from one mat4 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type)

out

___

#### create

▸ **create**(): [*mat4type*](#mat4type)

Creates a new identity mat4

**Returns:** [*mat4type*](#mat4type)

a new 4x4 matrix

___

#### determinant

▸ **determinant**(`a`: [*mat4type*](#mat4type)): *number*

Calculates the determinant of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** *number*

determinant of a

___

#### equals

▸ **equals**(`a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): *boolean*

Returns whether or not the matrices have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | The first matrix. |
| `b` | [*mat4type*](#mat4type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): *boolean*

Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | The first matrix. |
| `b` | [*mat4type*](#mat4type) | The second matrix. |

**Returns:** *boolean*

True if the matrices are equal, false otherwise.

___

#### frob

▸ **frob**(`a`: [*mat4type*](#mat4type)): *number*

Returns Frobenius norm of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | the matrix to calculate Frobenius norm of |

**Returns:** *number*

Frobenius norm

___

#### fromQuat

▸ **fromQuat**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype)): [*mat4type*](#mat4type)

Calculates a 4x4 matrix from the given quaternion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Quaternion to create matrix from |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromRotation

▸ **fromRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*, `axis`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type) \| ``null``

Creates a matrix from a given angle around a given axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotate(dest, dest, rad, axis);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |
| `axis` | [*vec3type*](#vec3type) | the axis to rotate around |

**Returns:** [*mat4type*](#mat4type) \| ``null``

out

___

#### fromRotationTranslation

▸ **fromRotationTranslation**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a quaternion rotation and vector translation
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, vec);
    var quatMat = mat4.create();
    quat.toMat4(quat, quatMat);
    mat4.multiply(dest, quatMat);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Rotation quaternion |
| `v` | [*vec3type*](#vec3type) | Translation vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromRotationTranslationScale

▸ **fromRotationTranslationScale**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype), `v`: [*vec3type*](#vec3type), `s`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a quaternion rotation, vector translation and vector scale
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, vec);
    var quatMat = mat4.create();
    quat4.toMat4(quat, quatMat);
    mat4.multiply(dest, quatMat);
    mat4.scale(dest, scale)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Rotation quaternion |
| `v` | [*vec3type*](#vec3type) | Translation vector |
| `s` | [*vec3type*](#vec3type) | Scaling vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromRotationTranslationScaleOrigin

▸ **fromRotationTranslationScaleOrigin**(`out`: [*mat4type*](#mat4type), `q`: [*quattype*](#quattype), `v`: [*vec3type*](#vec3type), `s`: [*vec3type*](#vec3type), `o`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a quaternion rotation, vector translation and vector scale, rotating and scaling around the given origin
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, vec);
    mat4.translate(dest, origin);
    var quatMat = mat4.create();
    quat4.toMat4(quat, quatMat);
    mat4.multiply(dest, quatMat);
    mat4.scale(dest, scale)
    mat4.translate(dest, negativeOrigin);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `q` | [*quattype*](#quattype) | Rotation quaternion |
| `v` | [*vec3type*](#vec3type) | Translation vector |
| `s` | [*vec3type*](#vec3type) | Scaling vector |
| `o` | [*vec3type*](#vec3type) | The origin vector around which to scale and rotate |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromScaling

▸ **fromScaling**(`out`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a vector scaling
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.scale(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `v` | [*vec3type*](#vec3type) | Scaling vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromTranslation

▸ **fromTranslation**(`out`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Creates a matrix from a vector translation
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.translate(dest, dest, vec);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `v` | [*vec3type*](#vec3type) | Translation vector |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromValues

▸ **fromValues**(`m00`: *number*, `m01`: *number*, `m02`: *number*, `m03`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m13`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*, `m23`: *number*, `m30`: *number*, `m31`: *number*, `m32`: *number*, `m33`: *number*): [*mat4type*](#mat4type)

Create a new mat4 with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m03` | *number* | Component in column 0, row 3 position (index 3) |
| `m10` | *number* | Component in column 1, row 0 position (index 4) |
| `m11` | *number* | Component in column 1, row 1 position (index 5) |
| `m12` | *number* | Component in column 1, row 2 position (index 6) |
| `m13` | *number* | Component in column 1, row 3 position (index 7) |
| `m20` | *number* | Component in column 2, row 0 position (index 8) |
| `m21` | *number* | Component in column 2, row 1 position (index 9) |
| `m22` | *number* | Component in column 2, row 2 position (index 10) |
| `m23` | *number* | Component in column 2, row 3 position (index 11) |
| `m30` | *number* | Component in column 3, row 0 position (index 12) |
| `m31` | *number* | Component in column 3, row 1 position (index 13) |
| `m32` | *number* | Component in column 3, row 2 position (index 14) |
| `m33` | *number* | Component in column 3, row 3 position (index 15) |

**Returns:** [*mat4type*](#mat4type)

A new mat4

___

#### fromXRotation

▸ **fromXRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Creates a matrix from the given angle around the X axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotateX(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromYRotation

▸ **fromYRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Creates a matrix from the given angle around the Y axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotateY(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### fromZRotation

▸ **fromZRotation**(`out`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Creates a matrix from the given angle around the Z axis
This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.rotateZ(dest, dest, rad);

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 receiving operation result |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### frustum

▸ **frustum**(`out`: [*mat4type*](#mat4type), `left`: *number*, `right`: *number*, `bottom`: *number*, `top`: *number*, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a frustum matrix with the given bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `left` | *number* | Left bound of the frustum |
| `right` | *number* | Right bound of the frustum |
| `bottom` | *number* | Bottom bound of the frustum |
| `top` | *number* | Top bound of the frustum |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### getRotation

▸ **getRotation**(`out`: [*vec4type*](#vec4type), `mat`: [*mat4type*](#mat4type)): [*quattype*](#quattype)

Returns a quaternion representing the rotational component
 of a transformation matrix. If a matrix is built with
 fromRotationTranslation, the returned quaternion will be the
 same as the quaternion originally supplied.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | Quaternion to receive the rotation component |
| `mat` | [*mat4type*](#mat4type) | Matrix to be decomposed (input) |

**Returns:** [*quattype*](#quattype)

out

___

#### getScaling

▸ **getScaling**(`out`: [*vec3type*](#vec3type), `mat`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Returns the scaling factor component of a transformation
 matrix. If a matrix is built with fromRotationTranslationScale
 with a normalized Quaternion paramter, the returned vector will be
 the same as the scaling vector
 originally supplied.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | Vector to receive scaling factor component |
| `mat` | [*mat4type*](#mat4type) | Matrix to be decomposed (input) |

**Returns:** [*vec3type*](#vec3type)

out

___

#### getTranslation

▸ **getTranslation**(`out`: [*vec3type*](#vec3type), `mat`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Returns the translation vector component of a transformation
 matrix. If a matrix is built with fromRotationTranslation,
 the returned vector will be the same as the translation vector
 originally supplied.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | Vector to receive translation component |
| `mat` | [*mat4type*](#mat4type) | Matrix to be decomposed (input) |

**Returns:** [*vec3type*](#vec3type)

out

___

#### identity

▸ **identity**(`out`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Set a mat4 to the identity matrix

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |

**Returns:** [*mat4type*](#mat4type)

out

___

#### invert

▸ **invert**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type) \| ``null``

Inverts a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type) \| ``null``

out

___

#### lookAt

▸ **lookAt**(`out`: [*mat4type*](#mat4type), `eye`: [*vec3type*](#vec3type), `center`: [*vec3type*](#vec3type), `up`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Generates a look-at matrix with the given eye position, focal point, and up axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `eye` | [*vec3type*](#vec3type) | Position of the viewer |
| `center` | [*vec3type*](#vec3type) | Point the viewer is looking at |
| `up` | [*vec3type*](#vec3type) | vec3 pointing up |

**Returns:** [*mat4type*](#mat4type)

out

___

#### multiply

▸ **multiply**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Multiplies two mat4s

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |

**Returns:** [*mat4type*](#mat4type)

out

___

#### multiplyScalar

▸ **multiplyScalar**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: *number*): [*mat4type*](#mat4type)

Multiply each element of the matrix by a scalar.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to scale |
| `b` | *number* | amount to scale the matrix's elements by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### multiplyScalarAndAdd

▸ **multiplyScalarAndAdd**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type), `s`: *number*): [*mat4type*](#mat4type)

Adds two mat4's after multiplying each element of the second operand by a scalar value.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving vector |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |
| `s` | *number* | the amount to scale b's elements by before adding |

**Returns:** [*mat4type*](#mat4type)

out

___

#### ortho

▸ **ortho**(`out`: [*mat4type*](#mat4type), `left`: *number*, `right`: *number*, `bottom`: *number*, `top`: *number*, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a orthogonal projection matrix with the given bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `left` | *number* | Left bound of the frustum |
| `right` | *number* | Right bound of the frustum |
| `bottom` | *number* | Bottom bound of the frustum |
| `top` | *number* | Top bound of the frustum |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### perspective

▸ **perspective**(`out`: [*mat4type*](#mat4type), `fovy`: *number*, `aspect`: *number*, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a perspective projection matrix with the given bounds

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `fovy` | *number* | Vertical field of view in radians |
| `aspect` | *number* | Aspect ratio. typically viewport width/height |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### perspectiveFromFieldOfView

▸ **perspectiveFromFieldOfView**(`out`: [*mat4type*](#mat4type), `fov`: { `downDegrees`: *number* ; `leftDegrees`: *number* ; `rightDegrees`: *number* ; `upDegrees`: *number*  }, `near`: *number*, `far`: *number*): [*mat4type*](#mat4type)

Generates a perspective projection matrix with the given field of view.
This is primarily useful for generating projection matrices to be used
with the still experiemental WebVR API.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | mat4 frustum matrix will be written into |
| `fov` | *object* | Object containing the following values: upDegrees, downDegrees, leftDegrees, rightDegrees |
| `fov.downDegrees` | *number* | - |
| `fov.leftDegrees` | *number* | - |
| `fov.rightDegrees` | *number* | - |
| `fov.upDegrees` | *number* | - |
| `near` | *number* | Near bound of the frustum |
| `far` | *number* | Far bound of the frustum |

**Returns:** [*mat4type*](#mat4type)

out

___

#### rotate

▸ **rotate**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*, `axis`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type) \| ``null``

Rotates a mat4 by the given angle around the given axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |
| `axis` | [*vec3type*](#vec3type) | the axis to rotate around |

**Returns:** [*mat4type*](#mat4type) \| ``null``

out

___

#### rotateX

▸ **rotateX**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Rotates a matrix by the given angle around the X axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### rotateY

▸ **rotateY**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Rotates a matrix by the given angle around the Y axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### rotateZ

▸ **rotateZ**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `rad`: *number*): [*mat4type*](#mat4type)

Rotates a matrix by the given angle around the Z axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to rotate |
| `rad` | *number* | the angle to rotate the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### scale

▸ **scale**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Scales the mat4 by the dimensions in the given vec3 not using vectorization

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to scale |
| `v` | [*vec3type*](#vec3type) | the vec3 to scale the matrix by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### set

▸ **set**(`out`: [*mat4type*](#mat4type), `m00`: *number*, `m01`: *number*, `m02`: *number*, `m03`: *number*, `m10`: *number*, `m11`: *number*, `m12`: *number*, `m13`: *number*, `m20`: *number*, `m21`: *number*, `m22`: *number*, `m23`: *number*, `m30`: *number*, `m31`: *number*, `m32`: *number*, `m33`: *number*): [*mat4type*](#mat4type)

Set the components of a mat4 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `m00` | *number* | Component in column 0, row 0 position (index 0) |
| `m01` | *number* | Component in column 0, row 1 position (index 1) |
| `m02` | *number* | Component in column 0, row 2 position (index 2) |
| `m03` | *number* | Component in column 0, row 3 position (index 3) |
| `m10` | *number* | Component in column 1, row 0 position (index 4) |
| `m11` | *number* | Component in column 1, row 1 position (index 5) |
| `m12` | *number* | Component in column 1, row 2 position (index 6) |
| `m13` | *number* | Component in column 1, row 3 position (index 7) |
| `m20` | *number* | Component in column 2, row 0 position (index 8) |
| `m21` | *number* | Component in column 2, row 1 position (index 9) |
| `m22` | *number* | Component in column 2, row 2 position (index 10) |
| `m23` | *number* | Component in column 2, row 3 position (index 11) |
| `m30` | *number* | Component in column 3, row 0 position (index 12) |
| `m31` | *number* | Component in column 3, row 1 position (index 13) |
| `m32` | *number* | Component in column 3, row 2 position (index 14) |
| `m33` | *number* | Component in column 3, row 3 position (index 15) |

**Returns:** [*mat4type*](#mat4type)

out

___

#### str

▸ **str**(`a`: [*mat4type*](#mat4type)): *string*

Returns a string representation of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*mat4type*](#mat4type) | matrix to represent as a string |

**Returns:** *string*

string representation of the matrix

___

#### subtract

▸ **subtract**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `b`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Subtracts matrix b from matrix a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the first operand |
| `b` | [*mat4type*](#mat4type) | the second operand |

**Returns:** [*mat4type*](#mat4type)

out

___

#### translate

▸ **translate**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type), `v`: [*vec3type*](#vec3type)): [*mat4type*](#mat4type)

Translate a mat4 by the given vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the matrix to translate |
| `v` | [*vec3type*](#vec3type) | vector to translate by |

**Returns:** [*mat4type*](#mat4type)

out

___

#### transpose

▸ **transpose**(`out`: [*mat4type*](#mat4type), `a`: [*mat4type*](#mat4type)): [*mat4type*](#mat4type)

Transpose the values of a mat4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*mat4type*](#mat4type) | the receiving matrix |
| `a` | [*mat4type*](#mat4type) | the source matrix |

**Returns:** [*mat4type*](#mat4type)

out


<a name="modulesmath2dmd"></a>

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

## Namespace: Math2D

### Table of contents

#### Classes

- [Box](#classesmath2dboxmd)

#### Interfaces

- [UvBox](#interfacesmath2duvboxmd)

#### Functions

- [computeSquaredLineLength](#computesquaredlinelength)
- [dist](#dist)
- [distSquared](#distsquared)
- [distToSegmentSquared](#disttosegmentsquared)
- [intersectLineAndCircle](#intersectlineandcircle)
- [intersectLines](#intersectlines)
- [lineDist](#linedist)

### Functions

#### computeSquaredLineLength

▸ **computeSquaredLineLength**(`line`: *number*[]): *number*

Computes the squared length of a line.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `line` | *number*[] | An array of that forms a line via [x,y,z,x,y,z,...] tuples. |

**Returns:** *number*

___

#### dist

▸ **dist**(`ax`: *number*, `ay`: *number*, `bx`: *number*, `by`: *number*, `az?`: *number*, `bz?`: *number*): *number*

Compute distance between two 2D points `a` and `b`.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ax` | *number* | Point a.x |
| `ay` | *number* | Point a.y |
| `bx` | *number* | Point b.x |
| `by` | *number* | Point b.y |
| `az?` | *number* |  |
| `bz?` | *number* |  |

**Returns:** *number*

between the two points

___

#### distSquared

▸ **distSquared**(`ax`: *number*, `ay`: *number*, `bx`: *number*, `by`: *number*): *number*

Compute squared distance between two 2D points `a` and `b`.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `ax` | *number* | Point a.x |
| `ay` | *number* | Point a.y |
| `bx` | *number* | Point b.x |
| `by` | *number* | Point b.y |

**Returns:** *number*

Squared distance between the two points

___

#### distToSegmentSquared

▸ **distToSegmentSquared**(`px`: *number*, `py`: *number*, `l0x`: *number*, `l0y`: *number*, `l1x`: *number*, `l1y`: *number*): *number*

Compute squared distance between a 2D point and a 2D line segment.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `px` | *number* | Test point X |
| `py` | *number* | Test point y |
| `l0x` | *number* | Line segment start X |
| `l0y` | *number* | Line segment start Y |
| `l1x` | *number* | Line segment end X |
| `l1y` | *number* | Line segment end Y |

**Returns:** *number*

Squared distance between point and line segment

___

#### intersectLineAndCircle

▸ **intersectLineAndCircle**(`xLine1`: *number*, `yLine1`: *number*, `xLine2`: *number*, `yLine2`: *number*, `radius`: *number*, `xCenter?`: *number*, `yCenter?`: *number*): { `x1`: *number* ; `x2?`: *number* ; `y1`: *number* ; `y2?`: *number*  } \| *undefined*

Finds the intersections of a line and a circle.

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `xLine1` | *number* | - | abscissa of first line point. |
| `yLine1` | *number* | - | ordinate of second line point. |
| `xLine2` | *number* | - | abscissa of second line point. |
| `yLine2` | *number* | - | ordinate of second line point. |
| `radius` | *number* | - | circle radius. |
| `xCenter` | *number* | 0 | abscissa of circle center. |
| `yCenter` | *number* | 0 | ordinate of circle center. |

**Returns:** { `x1`: *number* ; `x2?`: *number* ; `y1`: *number* ; `y2?`: *number*  } \| *undefined*

coordinates of the intersections (1 if the line is tangent to the circle, 2
if it's secant) or undefined if there's no intersection.

___

#### intersectLines

▸ **intersectLines**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*, `x3`: *number*, `y3`: *number*, `x4`: *number*, `y4`: *number*, `result?`: Vec2Like): Vec2Like \| *undefined*

Computes the intersection point between two lines.

**`remarks`**
This functions computes the
[line-line intersection](https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection) of two lines given two points on each line.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x1` | *number* | x coordinate of the first point of the first line. |
| `y1` | *number* | y coordinate of the first point of the first line. |
| `x2` | *number* | x coordinate of the second point of the first line. |
| `y2` | *number* | y coordinate of the second point of the first line. |
| `x3` | *number* | x coordinate of the first point of the second line. |
| `y3` | *number* | y coordinate of the first point of the second line. |
| `x4` | *number* | x coordinate of the second point of the second line. |
| `y4` | *number* | y coordinate of the second point of the second line. |
| `result` | Vec2Like | The resulting point. |

**Returns:** Vec2Like \| *undefined*

___

#### lineDist

▸ **lineDist**(`pts`: [*GeoPointLike*](#geopointlike)[]): *number*

求线的距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |

**Returns:** *number*


<a name="modulesmathutilsmd"></a>

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

## Namespace: MathUtils

### Table of contents

#### Functions

- [clamp](#clamp)
- [easeInOutCubic](#easeinoutcubic)
- [equals](#equals)
- [isClamped](#isclamped)
- [lerp](#lerp)
- [map](#map)
- [max2](#max2)
- [min2](#min2)
- [smoothStep](#smoothstep)
- [smootherStep](#smootherstep)
- [wrap](#wrap)

### Functions

#### clamp

▸ **clamp**(`value`: *number*, `min`: *number*, `max`: *number*): *number*

Ensures that input value fits in a given range.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | The value to be clamped. |
| `min` | *number* | Minimum value. |
| `max` | *number* | Maximum value. |

**Returns:** *number*

Clamped value.

___

#### easeInOutCubic

▸ **easeInOutCubic**(`startValue`: *number*, `endValue`: *number*, `time`: *number*): *number*

Smoothly interpolates between two values using cubic formula

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `startValue` | *number* | - |
| `endValue` | *number* | - |
| `time` | *number* | - |

**Returns:** *number*

Result of the interpolation within the range of `[startValue, endValue]`

___

#### equals

▸ **equals**(`num1`: *number*, `num2`: *number*, `dotErr?`: *number*): *boolean*

判断两个数是否相等

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `num1` | *number* | - |  |
| `num2` | *number* | - |  |
| `dotErr` | *number* | 8 | 允许误差的小数点后几位，默认8位 |

**Returns:** *boolean*

___

#### isClamped

▸ **isClamped**(`value`: *number*, `lowerBound`: *number* \| *undefined*, `upperBound`: *number* \| *undefined*): *boolean*

Checks if the value of a given number is inside an upper or lower bound. The bounds may be
undefined, in which case their value is ignored.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | Value to check. |
| `lowerBound` | *number* \| *undefined* | The lower bound to check the value against. |
| `upperBound` | *number* \| *undefined* | The upper bound to check the value against. |

**Returns:** *boolean*

`true` if value is inside the bounds or if the bounds are `undefined`, `false`
         otherwise.

___

#### lerp

▸ **lerp**(`v1`: *number*, `v2`: *number*, `value`: *number*): *number*

线性插值

##### Parameters

| Name | Type |
| :------ | :------ |
| `v1` | *number* |
| `v2` | *number* |
| `value` | *number* |

**Returns:** *number*

___

#### map

▸ **map**(`val`: *number*, `inMin`: *number*, `inMax`: *number*, `outMin`: *number*, `outMax`: *number*): *number*

Maps a number from one range to another.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `val` | *number* | The incoming value to be converted. |
| `inMin` | *number* | Lower bound of the value's current range. |
| `inMax` | *number* | Upper bound of the value's current range. |
| `outMin` | *number* | Lower bound of the value's target range. |
| `outMax` | *number* | Upper bound of the value's target range. |

**Returns:** *number*

___

#### max2

▸ **max2**(`a`: *number* \| *undefined*, `b`: *number* \| *undefined*): *number* \| *undefined*

Returns the larger of the two given numbers. Both numbers may be undefined, in which case
the result is undefined. If only one of the numbers is undefined, the other number is
returned.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* \| *undefined* | First number. |
| `b` | *number* \| *undefined* | Second number. |

**Returns:** *number* \| *undefined*

___

#### min2

▸ **min2**(`a`: *number* \| *undefined*, `b`: *number* \| *undefined*): *number* \| *undefined*

Returns the smaller of the two given numbers. Both numbers may be undefined, in which case
the result is undefined. If only one of the numbers is undefined, the other number is
returned.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* \| *undefined* | First number. |
| `b` | *number* \| *undefined* | Second number. |

**Returns:** *number* \| *undefined*

___

#### smoothStep

▸ **smoothStep**(`edge0`: *number*, `edge1`: *number*, `x`: *number*): *number*

Returns a smooth interpolation between the values edge0 and edge1 based on the interpolation
factor x. `0 <= x <= 1`.

**`see`** https://en.wikipedia.org/wiki/Smoothstep

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `edge0` | *number* | - |
| `edge1` | *number* | - |
| `x` | *number* | - |

**Returns:** *number*

___

#### smootherStep

▸ **smootherStep**(`edge0`: *number*, `edge1`: *number*, `x`: *number*): *number*

Returns a smooth interpolation between the values edge0 and edge1 based on the interpolation
factor x. `0 <= x <= 1`.

Improved version by Ken Perlin, which has zero 1st- and 2nd-order derivatives at `x = 0` and
`x = 1`:

**`see`** https://en.wikipedia.org/wiki/Smoothstep

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `edge0` | *number* | - |
| `edge1` | *number* | - |
| `x` | *number* | - |

**Returns:** *number*

___

#### wrap

▸ **wrap**(`n`: *number*, `min`: *number*, `max`: *number*, `isMin?`: *boolean*): *number*

constrain n to the given range, excluding the minimum, via modular arithmetic

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `n` | *number* | - | value |
| `min` | *number* | - | the minimum value to be returned, (isMin is false, exclusive, is true inclusive) |
| `max` | *number* | - | the maximum value to be returned, (isMin is false, inclusive, is true exclusive) |
| `isMin` | *boolean* | false |  |

**Returns:** *number*

number


<a name="modulesquatmd"></a>

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

## Namespace: quat

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [calculateW](#calculatew)
- [clone](#clone)
- [conjugate](#conjugate)
- [copy](#copy)
- [create](#create)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [fromMat3](#frommat3)
- [fromValues](#fromvalues)
- [getAxisAngle](#getaxisangle)
- [identity](#identity)
- [invert](#invert)
- [length](#length)
- [lerp](#lerp)
- [multiply](#multiply)
- [normalize](#normalize)
- [rotateX](#rotatex)
- [rotateY](#rotatey)
- [rotateZ](#rotatez)
- [rotationTo](#rotationto)
- [scale](#scale)
- [set](#set)
- [setAxes](#setaxes)
- [setAxisAngle](#setaxisangle)
- [slerp](#slerp)
- [sqlerp](#sqlerp)
- [squaredLength](#squaredlength)
- [str](#str)

### Type aliases

#### valueType

Ƭ **valueType**: [*quattype*](#quattype)

### Functions

#### add

▸ `Const` **add**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Adds two quat's

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### calculateW

▸ **calculateW**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype)): [*quattype*](#quattype)

Calculates the W component of a quat from the X, Y, and Z components.
Assumes that quaternion is 1 unit in length.
Any existing W component will be ignored.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | quat to calculate W component of |

**Returns:** [*quattype*](#quattype)

out

___

#### clone

▸ `Const` **clone**(`a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Creates a new quat initialized with values from an existing quaternion

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | quaternion to clone |

**Returns:** [*vec4type*](#vec4type)

a new quaternion

___

#### conjugate

▸ **conjugate**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype)): [*quattype*](#quattype)

Calculates the conjugate of a quat
If the quaternion is normalized, this function is faster than quat.inverse and produces the same result.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | quat to calculate conjugate of |

**Returns:** [*quattype*](#quattype)

out

___

#### copy

▸ `Const` **copy**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Copy the values from one quat to another

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | the source quaternion |

**Returns:** [*vec4type*](#vec4type)

out

___

#### create

▸ **create**(): [*quattype*](#quattype)

Creates a new identity quat

**Returns:** [*quattype*](#quattype)

a new quaternion

___

#### dot

▸ `Const` **dot**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the dot product of two quat's

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ `Const` **equals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the quaternions have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first vector. |
| `b` | [*vec4type*](#vec4type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ `Const` **exactEquals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first quaternion. |
| `b` | [*vec4type*](#vec4type) | The second quaternion. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### fromMat3

▸ **fromMat3**(`out`: [*quattype*](#quattype), `m`: [*mat3type*](#mat3type)): [*quattype*](#quattype)

Creates a quaternion from the given 3x3 rotation matrix.

NOTE: The resultant quaternion is not normalized, so you should be sure
to renormalize the quaternion yourself where necessary.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `m` | [*mat3type*](#mat3type) | rotation matrix |

**Returns:** [*quattype*](#quattype)

out

___

#### fromValues

▸ `Const` **fromValues**(`x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Creates a new quat initialized with the given values

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

a new quaternion

___

#### getAxisAngle

▸ **getAxisAngle**(`outAxis`: [*vec3type*](#vec3type), `q`: [*quattype*](#quattype)): *number*

Gets the rotation axis and angle for a given
 quaternion. If a quaternion is created with
 setAxisAngle, this method will return the same
 values as providied in the original parameter list
 OR functionally equivalent values.
Example: The quaternion formed by axis [0, 0, 1] and
 angle -90 is the same as the quaternion formed by
 [0, 0, 1] and 270. This method favors the latter.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `outAxis` | [*vec3type*](#vec3type) | Vector receiving the axis of rotation |
| `q` | [*quattype*](#quattype) | Quaternion to be decomposed |

**Returns:** *number*

Angle, in radians, of the rotation

___

#### identity

▸ **identity**(`out`: [*quattype*](#quattype)): [*quattype*](#quattype)

Set a quat to the identity quaternion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |

**Returns:** [*quattype*](#quattype)

out

___

#### invert

▸ **invert**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype)): [*quattype*](#quattype)

Calculates the inverse of a quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | quat to calculate inverse of |

**Returns:** [*quattype*](#quattype)

out

___

#### length

▸ `Const` **length**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the length of a quat

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ `Const` **lerp**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type), `t`: *number*): [*vec4type*](#vec4type)

Performs a linear interpolation between two quat's

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec4type*](#vec4type)

out

___

#### multiply

▸ **multiply**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `b`: [*quattype*](#quattype)): [*quattype*](#quattype)

Multiplies two quat's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | the first operand |
| `b` | [*quattype*](#quattype) | the second operand |

**Returns:** [*quattype*](#quattype)

out

___

#### normalize

▸ `Const` **normalize**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Normalize a quat

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `a` | [*vec4type*](#vec4type) | quaternion to normalize |

**Returns:** [*vec4type*](#vec4type)

out

___

#### rotateX

▸ **rotateX**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `rad`: *number*): [*quattype*](#quattype)

Rotates a quaternion by the given angle about the X axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | quat receiving operation result |
| `a` | [*quattype*](#quattype) | quat to rotate |
| `rad` | *number* | angle (in radians) to rotate |

**Returns:** [*quattype*](#quattype)

out

___

#### rotateY

▸ **rotateY**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `rad`: *number*): [*quattype*](#quattype)

Rotates a quaternion by the given angle about the Y axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | quat receiving operation result |
| `a` | [*quattype*](#quattype) | quat to rotate |
| `rad` | *number* | angle (in radians) to rotate |

**Returns:** [*quattype*](#quattype)

out

___

#### rotateZ

▸ **rotateZ**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `rad`: *number*): [*quattype*](#quattype)

Rotates a quaternion by the given angle about the Z axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | quat receiving operation result |
| `a` | [*quattype*](#quattype) | quat to rotate |
| `rad` | *number* | angle (in radians) to rotate |

**Returns:** [*quattype*](#quattype)

out

___

#### rotationTo

▸ **rotationTo**(`out`: [*quattype*](#quattype), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*quattype*](#quattype)

Sets a quaternion to represent the shortest rotation from one
vector to another.

Both vectors are assumed to be unit length.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion. |
| `a` | [*vec3type*](#vec3type) | the initial vector |
| `b` | [*vec3type*](#vec3type) | the destination vector |

**Returns:** [*quattype*](#quattype)

out

___

#### scale

▸ `Const` **scale**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: *number*): [*vec4type*](#vec4type)

Scales a quat by a scalar number

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec4type*](#vec4type)

out

___

#### set

▸ `Const` **set**(`out`: [*vec4type*](#vec4type), `x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Set the components of a quat to the given values

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving quaternion |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

out

___

#### setAxes

▸ **setAxes**(`out`: [*quattype*](#quattype), `view`: [*vec3type*](#vec3type), `right`: [*vec3type*](#vec3type), `up`: [*vec3type*](#vec3type)): [*quattype*](#quattype)

Sets the specified quaternion with values corresponding to the given
axes. Each axis is a vec3 and is expected to be unit length and
perpendicular to all other specified axes.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | - |
| `view` | [*vec3type*](#vec3type) | the vector representing the viewing direction |
| `right` | [*vec3type*](#vec3type) | the vector representing the local "right" direction |
| `up` | [*vec3type*](#vec3type) | the vector representing the local "up" direction |

**Returns:** [*quattype*](#quattype)

out

___

#### setAxisAngle

▸ **setAxisAngle**(`out`: [*quattype*](#quattype), `axis`: [*vec3type*](#vec3type), `rad`: *number*): [*quattype*](#quattype)

Sets a quat from the given angle and rotation axis,
then returns it.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `axis` | [*vec3type*](#vec3type) | the axis around which to rotate |
| `rad` | *number* | the angle in radians |

**Returns:** [*quattype*](#quattype)

out

___

#### slerp

▸ **slerp**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `b`: [*quattype*](#quattype), `t`: *number*): [*quattype*](#quattype)

Performs a spherical linear interpolation between two quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | the first operand |
| `b` | [*quattype*](#quattype) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*quattype*](#quattype)

out

___

#### sqlerp

▸ **sqlerp**(`out`: [*quattype*](#quattype), `a`: [*quattype*](#quattype), `b`: [*quattype*](#quattype), `c`: [*quattype*](#quattype), `d`: [*quattype*](#quattype), `t`: *number*): [*quattype*](#quattype)

Performs a spherical linear interpolation with two control points

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*quattype*](#quattype) | the receiving quaternion |
| `a` | [*quattype*](#quattype) | the first operand |
| `b` | [*quattype*](#quattype) | the second operand |
| `c` | [*quattype*](#quattype) | the third operand |
| `d` | [*quattype*](#quattype) | the fourth operand |
| `t` | *number* | interpolation amount |

**Returns:** [*quattype*](#quattype)

out

___

#### squaredLength

▸ `Const` **squaredLength**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the squared length of a quat

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*quattype*](#quattype)): *string*

Returns a string representation of a quatenion

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*quattype*](#quattype) | vector to represent as a string |

**Returns:** *string*

string representation of the vector


<a name="modulesspringmd"></a>

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

## Namespace: spring

### Table of contents

#### Functions

- [needsInterpolation](#needsinterpolation)

### Functions

#### needsInterpolation

▸ **needsInterpolation**(`a`: *any*, `b`: *any*): *boolean*

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *any* |
| `b` | *any* |

**Returns:** *boolean*


<a name="modulesvec2md"></a>

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

## Namespace: vec2

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [angle](#angle)
- [ceil](#ceil)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [cross](#cross)
- [distance](#distance)
- [divide](#divide)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [floor](#floor)
- [forEach](#foreach)
- [fromValues](#fromvalues)
- [inverse](#inverse)
- [length](#length)
- [lerp](#lerp)
- [max](#max)
- [min](#min)
- [multiply](#multiply)
- [negate](#negate)
- [normalize](#normalize)
- [random](#random)
- [rotate](#rotate)
- [round](#round)
- [scale](#scale)
- [scaleAndAdd](#scaleandadd)
- [set](#set)
- [squaredDistance](#squareddistance)
- [squaredLength](#squaredlength)
- [str](#str)
- [subtract](#subtract)
- [transformMat2](#transformmat2)
- [transformMat2d](#transformmat2d)
- [transformMat3](#transformmat3)
- [transformMat4](#transformmat4)
- [zero](#zero)

### Type aliases

#### valueType

Ƭ **valueType**: [*vec2type*](#vec2type)

### Functions

#### add

▸ **add**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Adds two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### angle

▸ **angle**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Get the angle between two 2D vectors

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | The first operand |
| `b` | [*vec2type*](#vec2type) | The second operand |

**Returns:** *number*

The angle in radians

___

#### ceil

▸ **ceil**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Math.ceil the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to ceil |

**Returns:** [*vec2type*](#vec2type)

out

___

#### clone

▸ **clone**(`a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Creates a new vec2 initialized with values from an existing vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to clone |

**Returns:** [*vec2type*](#vec2type)

a new 2D vector

___

#### copy

▸ **copy**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Copy the values from one vec2 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the source vector |

**Returns:** [*vec2type*](#vec2type)

out

___

#### create

▸ **create**(): [*vec2type*](#vec2type)

Creates a new, empty vec2

**Returns:** [*vec2type*](#vec2type)

a new 2D vector

___

#### cross

▸ **cross**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Computes the cross product of two vec2's
Note that the cross product must by definition produce a 3D vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### distance

▸ **distance**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Calculates the euclidian distance between two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** *number*

distance between a and b

___

#### divide

▸ **divide**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Divides two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### dot

▸ **dot**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Calculates the dot product of two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ **equals**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *boolean*

Returns whether or not the vectors have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | The first vector. |
| `b` | [*vec2type*](#vec2type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *boolean*

Returns whether or not the vectors exactly have the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | The first vector. |
| `b` | [*vec2type*](#vec2type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### floor

▸ **floor**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Math.floor the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to floor |

**Returns:** [*vec2type*](#vec2type)

out

___

#### forEach

▸ `Const` **forEach**(`a`: *any*, `stride`: *any*, `offset`: *any*, `count`: *any*, `fn`: *any*, `arg`: *any*): *any*

Perform some operation over an array of vec2s.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *any* | the array of vectors to iterate over |
| `stride` | *any* | Number of elements between the start of each vec2. If 0 assumes tightly packed |
| `offset` | *any* | Number of elements to skip at the beginning of the array |
| `count` | *any* | Number of vec2s to iterate over. If 0 iterates over entire array |
| `fn` | *any* | Function to call for each vector in the array |
| `arg` | *any* | - |

**Returns:** *any*

a

___

#### fromValues

▸ **fromValues**(`x`: *number*, `y`: *number*): [*vec2type*](#vec2type)

Creates a new vec2 initialized with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |

**Returns:** [*vec2type*](#vec2type)

a new 2D vector

___

#### inverse

▸ **inverse**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Returns the inverse of the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to invert |

**Returns:** [*vec2type*](#vec2type)

out

___

#### length

▸ **length**(`a`: [*vec2type*](#vec2type)): *number*

Calculates the length of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ **lerp**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type), `t`: *number*): [*vec2type*](#vec2type)

Performs a linear interpolation between two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |
| `t` | *number* | interpolation amount, in the range [0-1], between the two inputs |

**Returns:** [*vec2type*](#vec2type)

out

___

#### max

▸ **max**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Returns the maximum of two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### min

▸ **min**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Returns the minimum of two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### multiply

▸ **multiply**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Multiplies two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### negate

▸ **negate**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Negates the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to negate |

**Returns:** [*vec2type*](#vec2type)

out

___

#### normalize

▸ **normalize**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Normalize a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to normalize |

**Returns:** [*vec2type*](#vec2type)

out

___

#### random

▸ **random**(`out`: [*vec2type*](#vec2type), `scale`: *number*): [*vec2type*](#vec2type)

Generates a random vector with the given scale

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `scale` | *number* | - |

**Returns:** [*vec2type*](#vec2type)

out

___

#### rotate

▸ **rotate**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type), `rad`: *number*): [*vec2type*](#vec2type)

Rotate a 2D vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | The receiving vec2 |
| `a` | [*vec2type*](#vec2type) | The vec2 point to rotate |
| `b` | [*vec2type*](#vec2type) | The origin of the rotation |
| `rad` | *number* | The angle of rotation in radians |

**Returns:** [*vec2type*](#vec2type)

out

___

#### round

▸ **round**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Math.round the components of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | vector to round |

**Returns:** [*vec2type*](#vec2type)

out

___

#### scale

▸ **scale**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: *number*): [*vec2type*](#vec2type)

Scales a vec2 by a scalar number

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec2type*](#vec2type)

out

___

#### scaleAndAdd

▸ **scaleAndAdd**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type), `scale`: *number*): [*vec2type*](#vec2type)

Adds two vec2's after scaling the second operand by a scalar value

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |
| `scale` | *number* | the amount to scale b by before adding |

**Returns:** [*vec2type*](#vec2type)

out

___

#### set

▸ **set**(`out`: [*vec2type*](#vec2type), `x`: *number*, `y`: *number*): [*vec2type*](#vec2type)

Set the components of a vec2 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `x` | *number* | X component |
| `y` | *number* | Y component |

**Returns:** [*vec2type*](#vec2type)

out

___

#### squaredDistance

▸ **squaredDistance**(`a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): *number*

Calculates the squared euclidian distance between two vec2's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** *number*

squared distance between a and b

___

#### squaredLength

▸ **squaredLength**(`a`: [*vec2type*](#vec2type)): *number*

Calculates the squared length of a vec2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*vec2type*](#vec2type)): *string*

Returns a string representation of a vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec2type*](#vec2type) | vector to represent as a string |

**Returns:** *string*

string representation of the vector

___

#### subtract

▸ **subtract**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `b`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Subtracts vector b from vector a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the first operand |
| `b` | [*vec2type*](#vec2type) | the second operand |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat2

▸ **transformMat2**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat2

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat2d

▸ **transformMat2d**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat2d

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat3

▸ **transformMat3**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat3
3rd vector component is implicitly '1'

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### transformMat4

▸ **transformMat4**(`out`: [*vec2type*](#vec2type), `a`: [*vec2type*](#vec2type), `m`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Transforms the vec2 with a mat4
3rd vector component is implicitly '0'
4th vector component is implicitly '1'

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |
| `a` | [*vec2type*](#vec2type) | the vector to transform |
| `m` | [*vec2type*](#vec2type) | matrix to transform with |

**Returns:** [*vec2type*](#vec2type)

out

___

#### zero

▸ **zero**(`out`: [*vec2type*](#vec2type)): [*vec2type*](#vec2type)

Set the components of a vec2 to zero

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec2type*](#vec2type) | the receiving vector |

**Returns:** [*vec2type*](#vec2type)

out


<a name="modulesvec3md"></a>

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

## Namespace: vec3

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [angle](#angle)
- [bezier](#bezier)
- [ceil](#ceil)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [cross](#cross)
- [distance](#distance)
- [divide](#divide)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [floor](#floor)
- [forEach](#foreach)
- [fromValues](#fromvalues)
- [hermite](#hermite)
- [inverse](#inverse)
- [length](#length)
- [lerp](#lerp)
- [max](#max)
- [min](#min)
- [multiply](#multiply)
- [negate](#negate)
- [normalize](#normalize)
- [random](#random)
- [rotateX](#rotatex)
- [rotateY](#rotatey)
- [rotateZ](#rotatez)
- [round](#round)
- [scale](#scale)
- [scaleAndAdd](#scaleandadd)
- [set](#set)
- [squaredDistance](#squareddistance)
- [squaredLength](#squaredlength)
- [str](#str)
- [subtract](#subtract)
- [transformMat3](#transformmat3)
- [transformMat4](#transformmat4)
- [transformQuat](#transformquat)

### Type aliases

#### valueType

Ƭ **valueType**: [*vec3type*](#vec3type)

### Functions

#### add

▸ **add**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Adds two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### angle

▸ **angle**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Get the angle between two 3D vectors

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | The first operand |
| `b` | [*vec3type*](#vec3type) | The second operand |

**Returns:** *number*

The angle in radians

___

#### bezier

▸ **bezier**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: [*vec3type*](#vec3type), `d`: [*vec3type*](#vec3type), `t`: *number*): [*vec3type*](#vec3type)

Performs a bezier interpolation with two control points

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `c` | [*vec3type*](#vec3type) | the third operand |
| `d` | [*vec3type*](#vec3type) | the fourth operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec3type*](#vec3type)

out

___

#### ceil

▸ **ceil**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Math.ceil the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to ceil |

**Returns:** [*vec3type*](#vec3type)

out

___

#### clone

▸ **clone**(`a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Creates a new vec3 initialized with values from an existing vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to clone |

**Returns:** [*vec3type*](#vec3type)

a new 3D vector

___

#### copy

▸ **copy**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Copy the values from one vec3 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the source vector |

**Returns:** [*vec3type*](#vec3type)

out

___

#### create

▸ **create**(): [*vec3type*](#vec3type)

Creates a new, empty vec3

**Returns:** [*vec3type*](#vec3type)

a new 3D vector

___

#### cross

▸ **cross**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Computes the cross product of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### distance

▸ **distance**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Calculates the euclidian distance between two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** *number*

distance between a and b

___

#### divide

▸ **divide**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Divides two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### dot

▸ **dot**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Calculates the dot product of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ **equals**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *boolean*

Returns whether or not the vectors have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | The first vector. |
| `b` | [*vec3type*](#vec3type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *boolean*

Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | The first vector. |
| `b` | [*vec3type*](#vec3type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### floor

▸ **floor**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Math.floor the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to floor |

**Returns:** [*vec3type*](#vec3type)

out

___

#### forEach

▸ **forEach**(`a`: [*vec3type*](#vec3type), `stride`: *number*, `offset`: *number*, `count`: *number*, `fn`: (`out`: [*vec3type*](#vec3type), `vec`: [*vec3type*](#vec3type), `arg`: *any*) => *void*, `arg?`: *any*): *any*

Perform some operation over an array of vec3s.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the array of vectors to iterate over |
| `stride` | *number* | Number of elements between the start of each vec3. If 0 assumes tightly packed |
| `offset` | *number* | Number of elements to skip at the beginning of the array |
| `count` | *number* | Number of vec3s to iterate over. If 0 iterates over entire array |
| `fn` | (`out`: [*vec3type*](#vec3type), `vec`: [*vec3type*](#vec3type), `arg`: *any*) => *void* | Function to call for each vector in the array |
| `arg?` | *any* | - |

**Returns:** *any*

a

___

#### fromValues

▸ **fromValues**(`x`: *number*, `y`: *number*, `z`: *number*): [*vec3type*](#vec3type)

Creates a new vec3 initialized with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |

**Returns:** [*vec3type*](#vec3type)

a new 3D vector

___

#### hermite

▸ **hermite**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: [*vec3type*](#vec3type), `d`: [*vec3type*](#vec3type), `t`: *number*): [*vec3type*](#vec3type)

Performs a hermite interpolation with two control points

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `c` | [*vec3type*](#vec3type) | the third operand |
| `d` | [*vec3type*](#vec3type) | the fourth operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec3type*](#vec3type)

out

___

#### inverse

▸ **inverse**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Returns the inverse of the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to invert |

**Returns:** [*vec3type*](#vec3type)

out

___

#### length

▸ **length**(`a`: [*vec3type*](#vec3type)): *number*

Calculates the length of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ **lerp**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `t`: *number*): [*vec3type*](#vec3type)

Performs a linear interpolation between two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec3type*](#vec3type)

out

___

#### max

▸ **max**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Returns the maximum of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### min

▸ **min**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Returns the minimum of two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### multiply

▸ **multiply**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Multiplies two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### negate

▸ **negate**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Negates the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to negate |

**Returns:** [*vec3type*](#vec3type)

out

___

#### normalize

▸ **normalize**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Normalize a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to normalize |

**Returns:** [*vec3type*](#vec3type)

out

___

#### random

▸ **random**(`out`: [*vec3type*](#vec3type), `s?`: *number*): [*vec3type*](#vec3type)

Generates a random vector with the given scale

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | - | the receiving vector |
| `s` | *number* | 1.0 | - |

**Returns:** [*vec3type*](#vec3type)

out

___

#### rotateX

▸ **rotateX**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: *number*): [*vec3type*](#vec3type)

Rotate a 3D vector around the x-axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | The receiving vec3 |
| `a` | [*vec3type*](#vec3type) | The vec3 point to rotate |
| `b` | [*vec3type*](#vec3type) | The origin of the rotation |
| `c` | *number* | The angle of rotation |

**Returns:** [*vec3type*](#vec3type)

out

___

#### rotateY

▸ **rotateY**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: *number*): [*vec3type*](#vec3type)

Rotate a 3D vector around the y-axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | The receiving vec3 |
| `a` | [*vec3type*](#vec3type) | The vec3 point to rotate |
| `b` | [*vec3type*](#vec3type) | The origin of the rotation |
| `c` | *number* | The angle of rotation |

**Returns:** [*vec3type*](#vec3type)

out

___

#### rotateZ

▸ **rotateZ**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `c`: *number*): [*vec3type*](#vec3type)

Rotate a 3D vector around the z-axis

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | The receiving vec3 |
| `a` | [*vec3type*](#vec3type) | The vec3 point to rotate |
| `b` | [*vec3type*](#vec3type) | The origin of the rotation |
| `c` | *number* | The angle of rotation |

**Returns:** [*vec3type*](#vec3type)

out

___

#### round

▸ **round**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Math.round the components of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | vector to round |

**Returns:** [*vec3type*](#vec3type)

out

___

#### scale

▸ **scale**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: *number*): [*vec3type*](#vec3type)

Scales a vec3 by a scalar number

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec3type*](#vec3type)

out

___

#### scaleAndAdd

▸ **scaleAndAdd**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type), `s`: *number*): [*vec3type*](#vec3type)

Adds two vec3's after scaling the second operand by a scalar value

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |
| `s` | *number* | the amount to scale b by before adding |

**Returns:** [*vec3type*](#vec3type)

out

___

#### set

▸ **set**(`out`: [*vec3type*](#vec3type), `x`: *number*, `y`: *number*, `z`: *number*): [*vec3type*](#vec3type)

Set the components of a vec3 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |

**Returns:** [*vec3type*](#vec3type)

out

___

#### squaredDistance

▸ **squaredDistance**(`a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): *number*

Calculates the squared euclidian distance between two vec3's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** *number*

squared distance between a and b

___

#### squaredLength

▸ **squaredLength**(`a`: [*vec3type*](#vec3type)): *number*

Calculates the squared length of a vec3

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*vec3type*](#vec3type)): *string*

Returns a string representation of a vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec3type*](#vec3type) | vector to represent as a string |

**Returns:** *string*

string representation of the vector

___

#### subtract

▸ **subtract**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `b`: [*vec3type*](#vec3type)): [*vec3type*](#vec3type)

Subtracts vector b from vector a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the first operand |
| `b` | [*vec3type*](#vec3type) | the second operand |

**Returns:** [*vec3type*](#vec3type)

out

___

#### transformMat3

▸ **transformMat3**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `m`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Transforms the vec3 with a mat3.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to transform |
| `m` | [*mat4type*](#mat4type) | the 3x3 matrix to transform with |

**Returns:** [*vec3type*](#vec3type)

out

___

#### transformMat4

▸ **transformMat4**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `m`: [*mat4type*](#mat4type)): [*vec3type*](#vec3type)

Transforms the vec3 with a mat4.
4th vector component is implicitly '1'

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to transform |
| `m` | [*mat4type*](#mat4type) | matrix to transform with |

**Returns:** [*vec3type*](#vec3type)

out

___

#### transformQuat

▸ **transformQuat**(`out`: [*vec3type*](#vec3type), `a`: [*vec3type*](#vec3type), `q`: [*quattype*](#quattype)): [*vec3type*](#vec3type)

Transforms the vec3 with a quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec3type*](#vec3type) | the receiving vector |
| `a` | [*vec3type*](#vec3type) | the vector to transform |
| `q` | [*quattype*](#quattype) | quaternion to transform with |

**Returns:** [*vec3type*](#vec3type)

out


<a name="modulesvec4md"></a>

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

## Namespace: vec4

### Table of contents

#### Type aliases

- [valueType](#valuetype)

#### Functions

- [add](#add)
- [ceil](#ceil)
- [clone](#clone)
- [copy](#copy)
- [create](#create)
- [distance](#distance)
- [divide](#divide)
- [dot](#dot)
- [equals](#equals)
- [exactEquals](#exactequals)
- [floor](#floor)
- [forEach](#foreach)
- [fromValues](#fromvalues)
- [inverse](#inverse)
- [length](#length)
- [lerp](#lerp)
- [max](#max)
- [min](#min)
- [multiply](#multiply)
- [negate](#negate)
- [normalize](#normalize)
- [random](#random)
- [round](#round)
- [scale](#scale)
- [scaleAndAdd](#scaleandadd)
- [set](#set)
- [squaredDistance](#squareddistance)
- [squaredLength](#squaredlength)
- [str](#str)
- [subtract](#subtract)
- [transformMat4](#transformmat4)
- [transformQuat](#transformquat)

### Type aliases

#### valueType

Ƭ **valueType**: [*vec4type*](#vec4type)

### Functions

#### add

▸ **add**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Adds two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### ceil

▸ **ceil**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Math.ceil the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to ceil |

**Returns:** [*vec4type*](#vec4type)

out

___

#### clone

▸ **clone**(`a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Creates a new vec4 initialized with values from an existing vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to clone |

**Returns:** [*vec4type*](#vec4type)

a new 4D vector

___

#### copy

▸ **copy**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Copy the values from one vec4 to another

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the source vector |

**Returns:** [*vec4type*](#vec4type)

out

___

#### create

▸ **create**(): [*vec4type*](#vec4type)

Creates a new, empty vec4

**Returns:** [*vec4type*](#vec4type)

a new 4D vector

___

#### distance

▸ **distance**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the euclidian distance between two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

distance between a and b

___

#### divide

▸ **divide**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Divides two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### dot

▸ **dot**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the dot product of two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

dot product of a and b

___

#### equals

▸ **equals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the vectors have approximately the same elements in the same position.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first vector. |
| `b` | [*vec4type*](#vec4type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### exactEquals

▸ **exactEquals**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *boolean*

Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | The first vector. |
| `b` | [*vec4type*](#vec4type) | The second vector. |

**Returns:** *boolean*

True if the vectors are equal, false otherwise.

___

#### floor

▸ **floor**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Math.floor the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to floor |

**Returns:** [*vec4type*](#vec4type)

out

___

#### forEach

▸ **forEach**(`a`: [*vec4type*](#vec4type), `stride`: *number*, `offset`: *number*, `count`: *number*, `fn`: (`out`: [*vec4type*](#vec4type), `vec`: [*vec4type*](#vec4type), `arg`: *any*) => *void*, `arg?`: *any*): *any*

Perform some operation over an array of vec4s.

**`function`**

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the array of vectors to iterate over |
| `stride` | *number* | Number of elements between the start of each vec4. If 0 assumes tightly packed |
| `offset` | *number* | Number of elements to skip at the beginning of the array |
| `count` | *number* | Number of vec4s to iterate over. If 0 iterates over entire array |
| `fn` | (`out`: [*vec4type*](#vec4type), `vec`: [*vec4type*](#vec4type), `arg`: *any*) => *void* | Function to call for each vector in the array |
| `arg?` | *any* | - |

**Returns:** *any*

a

___

#### fromValues

▸ **fromValues**(`x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Creates a new vec4 initialized with the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

a new 4D vector

___

#### inverse

▸ **inverse**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Returns the inverse of the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to invert |

**Returns:** [*vec4type*](#vec4type)

out

___

#### length

▸ **length**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the length of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate length of |

**Returns:** *number*

length of a

___

#### lerp

▸ **lerp**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type), `t`: *number*): [*vec4type*](#vec4type)

Performs a linear interpolation between two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |
| `t` | *number* | interpolation amount between the two inputs |

**Returns:** [*vec4type*](#vec4type)

out

___

#### max

▸ **max**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Returns the maximum of two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### min

▸ **min**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Returns the minimum of two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### multiply

▸ **multiply**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Multiplies two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### negate

▸ **negate**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Negates the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to negate |

**Returns:** [*vec4type*](#vec4type)

out

___

#### normalize

▸ **normalize**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Normalize a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to normalize |

**Returns:** [*vec4type*](#vec4type)

out

___

#### random

▸ **random**(`out`: [*vec4type*](#vec4type), `s?`: *number*): [*vec4type*](#vec4type)

Generates a random vector with the given scale

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | - | the receiving vector |
| `s` | *number* | 1.0 | - |

**Returns:** [*vec4type*](#vec4type)

out

___

#### round

▸ **round**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Math.round the components of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | vector to round |

**Returns:** [*vec4type*](#vec4type)

out

___

#### scale

▸ **scale**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: *number*): [*vec4type*](#vec4type)

Scales a vec4 by a scalar number

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to scale |
| `b` | *number* | amount to scale the vector by |

**Returns:** [*vec4type*](#vec4type)

out

___

#### scaleAndAdd

▸ **scaleAndAdd**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type), `s`: *number*): [*vec4type*](#vec4type)

Adds two vec4's after scaling the second operand by a scalar value

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |
| `s` | *number* | the amount to scale b by before adding |

**Returns:** [*vec4type*](#vec4type)

out

___

#### set

▸ **set**(`out`: [*vec4type*](#vec4type), `x`: *number*, `y`: *number*, `z`: *number*, `w`: *number*): [*vec4type*](#vec4type)

Set the components of a vec4 to the given values

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `x` | *number* | X component |
| `y` | *number* | Y component |
| `z` | *number* | Z component |
| `w` | *number* | W component |

**Returns:** [*vec4type*](#vec4type)

out

___

#### squaredDistance

▸ **squaredDistance**(`a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): *number*

Calculates the squared euclidian distance between two vec4's

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** *number*

squared distance between a and b

___

#### squaredLength

▸ **squaredLength**(`a`: [*vec4type*](#vec4type)): *number*

Calculates the squared length of a vec4

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to calculate squared length of |

**Returns:** *number*

squared length of a

___

#### str

▸ **str**(`a`: [*vec4type*](#vec4type)): *string*

Returns a string representation of a vector

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | [*vec4type*](#vec4type) | vector to represent as a string |

**Returns:** *string*

string representation of the vector

___

#### subtract

▸ **subtract**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `b`: [*vec4type*](#vec4type)): [*vec4type*](#vec4type)

Subtracts vector b from vector a

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the first operand |
| `b` | [*vec4type*](#vec4type) | the second operand |

**Returns:** [*vec4type*](#vec4type)

out

___

#### transformMat4

▸ **transformMat4**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `m`: [*mat4type*](#mat4type)): [*vec4type*](#vec4type)

Transforms the vec4 with a mat4.

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to transform |
| `m` | [*mat4type*](#mat4type) | matrix to transform with |

**Returns:** [*vec4type*](#vec4type)

out

___

#### transformQuat

▸ **transformQuat**(`out`: [*vec4type*](#vec4type), `a`: [*vec4type*](#vec4type), `q`: [*quattype*](#quattype)): [*vec4type*](#vec4type)

Transforms the vec4 with a quat

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `out` | [*vec4type*](#vec4type) | the receiving vector |
| `a` | [*vec4type*](#vec4type) | the vector to transform |
| `q` | [*quattype*](#quattype) | quaternion to transform with |

**Returns:** [*vec4type*](#vec4type)

out
