Class: imageStyle

L.supermap.imageStyle

Custom graphic element style class.

L.supermap.imageStyle(options)

ImageStyle.js, line 4
Name Type Description
options Object

Graphical element style parameters.

Name Type Default Description
img HTMLImageElement

Image object.

origin Array [0.0] optional

origin.

anchor Array optional

anchor.

size Array optional

The size of the graphic, height and width [width, height].

radius Array optional

radius.

weight Array optional

weight.

Extends

Methods

getStyle()

ImageStyle.js, line 35

Get the style.