Closed ubpon closed 8 months ago
This PR will set the colors of drawing tools such as circle, rectangle, and polygon. It can override the default options of the tool like fillColor, strokeColor, opacity and etc.
Map::make('location') ->circleOptions([ 'strokeColor' => '#ff0000', 'fillColor' => '#ffffff', ... ]) ->rectangleOptions([ 'strokeColor' => '#ff0000', 'fillColor' => '#ffffff', ... ]) ->polyOptions([ 'strokeColor' => '#ff0000', 'fillColor' => '#ffffff', ... ])
This PR will set the colors of drawing tools such as circle, rectangle, and polygon. It can override the default options of the tool like fillColor, strokeColor, opacity and etc.