Closed Hunlongyu closed 4 years ago
It's OK
svg path
const path = '<path d="M512 0a341.312 341.312 0 0 0-341.312 341.312c0 140.672 189.952 490.688 286.4 651.52a63.936 63.936 0 0 0 109.824 0c96.448-160.832 286.4-510.848 286.4-651.52A341.312 341.312 0 0 0 512 0z m0 512a170.688 170.688 0 1 1 0-341.312A170.688 170.688 0 0 1 512 512z" fill="#ffe400" p-id="1159"></path>'
...
series: [
{
type: 'scatter',
coordinateSystem: 'geo',
symbol: `path://${path}`
}
]
...
Support inline svg
When will we support it
base64 image string is too long