Class: circleStyle

L.supermap.circleStyle

The circle style class.

L.supermap.circleStyle(options)

CircleStyle.js, line 4
Name Type Description
options Object

Optional parameters of circle style.

Name Type Default Description
stroke boolean true optional

Whether to stroke.

color string '#3388ff' optional

The color.

weight number 1 optional

The weight.

opacity number 1 optional

The opacity.

lineCap string 'round' optional

The line cap.

lineJoin string 'round' optional

The shape of line join.

fill boolean false optional

Whether to fill or not.

fillColor string optional

The fill color.

fillOpacity number 0.2 optional

The fill opacity.

fillRule string 'evenodd' optional

The fill rule.

radius number 3 optional

The radius.

Extends

Methods

getCanvas()

CircleStyle.js, line 48

Get the canvas, the setting has been deprecated, please use the getStyle interface.

Deprecated
  • Yes

getStyle()

CircleStyle.js, line 57

Get canvas.