# Class: DivOverlay

在一个地理范围内创建一个随缩放而缩放的div的覆盖物 注:如果是svg,则需设置为 viewBox="0 0 width height" preserveAspectRatio="xMinYMin meet", updateDivSize选项设置为true

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new DivOverlay(options: DivOverlayOptions): DivOverlay

# Parameters
Name Type
options DivOverlayOptions

Returns: DivOverlay

# Properties

# _map

Optional _map: Map


# isShow

isShow: boolean


# maxZoom

maxZoom: number


# minZoom

minZoom: number


# options

options: DivOverlayOptions


# 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


# updateBounds

updateBounds(bounds: GeoBounds | [GeoPointLike, GeoPointLike, GeoPointLike, GeoPointLike]): void

# Parameters
Name Type
bounds GeoBounds | [GeoPointLike, GeoPointLike, GeoPointLike, GeoPointLike]

Returns: void


# updateSize

updateSize(width: number, height: number): void

# Parameters
Name Type
width number
height number

Returns: void

vjmap / Exports / EllipseEdge