唯杰地图 logo唯杰地图
VJMAP
EN

Class: Compare

更新于 2026-09-14约 2 分钟
.md

default.Compare

Hierarchy

  • Evented

    ↳ Compare

Table of contents

Constructors

Methods

Constructors

constructor

+ new Compare(a: Map, b: Map, container: string | Element, options?: { mousemove: boolean ; orientation: "vertical" | "horizontal" }): Compare

Parameters
Name Type
a Map
b Map
container string | Element
options? object
options.mousemove boolean
options.orientation "vertical" | "horizontal"

Returns: Compare

Overrides: Evented.constructor

Methods

remove

▸ remove(): void

Returns: void


setSlider

▸ setSlider(x: number): void

Parameters
Name Type
x number

Returns: void

vjmap / Exports / default / ContextMenu

这篇文档有帮助吗?