SiteWatch API Help

updateConfig

updateConfig

Previous topic Next topic  

updateConfig

Previous topic Next topic  

A method to update a vector circle configuration in a map location.

 

Parameter

Value

config:

Configuration.

 lineColor: string

Line color of circle.

Hex #ffffff

rgb(0,0,0)

rgba(0,0,0,0.1)

colornames (red, blue)

 fillColor: string

Fill color of circle.

Hex #ffffff

rgb(0,0,0)

rgba(0,0,0,0.1)

colornames (red, blue)

 lineWidth: integer

Width of circle.

 minSize: integer

Minimum width in pixels.

 

Example:

var newConf = { lineColor: 'ff0000', fillColor: '#6dd341', lineWidth: 10, minSize: 5 };

 

circle.updateConfig(newConf);