请问大佬echarts中scatter3D地球定义坐标和图片,图片被阻挡了怎么解决。谢谢

龚kz 发布于 06/21 11:12
阅读 185
收藏 0

开源之夏第三届火热来袭,高校学生参与赢万元奖金!>>>

{
  type: 'scatter3D',
  coordinateSystem: 'globe',
  symbolSize: 44, // 点位大小
  data: [
    {
      value: [-95.712891, 37.09024, 1],
      symbolSize: 100,
      symbol:'path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z'
    },
    {
      value: [12.56738, 41.87194, 0.5],
      symbolSize: 30,
      symbol:
        'image://data:image/svg+xml;base64,PDM'
    }
  ],
  zlevel: 1
}
加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部
返回顶部
顶部