A method to update a vector line configuration in a map location.
Parameter |
Value |
---|---|
config: |
Configuration. |
lineColor: string |
Color of line. Hex #ffffff rgb(0,0,0) rgba(0,0,0,0.1) colornames (red, blue) |
lineWidth: integer |
Width of line. |
Example:
var newConf = line.GetConfig();
newConfig.lineColor = "blue";
newConfig.lineWidth = 10;
line.updateConfig(newConf);