helgasoft commented on issue #18171: URL: https://github.com/apache/echarts/issues/18171#issuecomment-1382269279
Solutions already exist. For **SVG maps** one can just draw the border inside the file. Example: [Map_of_Iceland](https://echarts.apache.org/examples/data/asset/geo/Map_of_Iceland.svg) has already a blue border replace line ```<path fill="#80ADD1" stroke="#306799" stroke-width="3" d="M1.5,1487.344V1.5h1831.289v1485.844H1.5z"/>``` with ```<path fill="#80ADD1" stroke="#FF0000" stroke-width="7" d="M1.5,1487.344V1.5h1831.289v1485.844H1.5z"/>``` and the result will be the desired custom red border. For **geoJson maps** use _geo.itemStyle_ [borderWidth](https://echarts.apache.org/en/option.html#geo.itemStyle.borderWidth) and [borderColor](https://echarts.apache.org/en/option.html#geo.itemStyle.borderColor). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
