You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/27 08:53:59 UTC

[GitHub] [incubator-echarts] hahatiantang opened a new issue #11926: 在ie9上使用bmap无法正常渲染

hahatiantang opened a new issue #11926: 在ie9上使用bmap无法正常渲染
URL: https://github.com/apache/incubator-echarts/issues/11926
 
 
   > ### Version
   > 4.5.0
   > 
   > ### Steps to reproduce
   >ie9 使用echarts ,加载地图 提示“无法获取未定义或 null 引用的属性“add”"”,定位源码,到>BMapCoordSys.js文件206行中存在兼容问题,希望紧急解决
   >
   >  bmapRoot.classList.add('ec-extension-bmap');
   >下面是我的options
   >
   >const mapOption = {
   >  'tooltip': {
   >    'trigger': 'item',
   >  'transitionDuration': 0,
   >   'show': true,
   >    'triggerOn': 'none',
   >    'textStyle': {
   >      'fontSize': 10,
   >    },
   >  },
   >  'animation': false,
   >  'bmap': {
   >    'center': [117.30, 31.87],
   >    'zoom': 12,
   >    'roam': false,
   >    'enableMapClick': false,
   >    'mapStyle': {
   >      'styleJson': [
   >        {
   >          'featureType': 'land',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'color': '#ffffff',
   >          },
    >       }, {
   >          'featureType': 'subway',
   >          'elementType': 'geometry.fill',
   >          'stylers': {
   >            'color': '#f4f4f6',
   >          },
   >        },
   >        {
   >          'featureType': 'building',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'color': '#f4f4f6',
   >          },
   >        },
   >        {
   >          'featureType': 'building',
   >          'elementType': 'labels',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'highway',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'color': '#f4f4f6',
   >         },
   >       },
   >        {
   >         'featureType': 'highway',
   >          'elementType': 'labels',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'arterial',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'color': '#f4f4f6',
   >          },
   >        },
   >        {
   >          'featureType': 'arterial',
   >          'elementType': 'labels',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'green',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >         'featureType': 'water',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'color': '#f4f4f6',
   >          },
   >        },
   >
   >        {
   >          'featureType': 'railway',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'railway',
   >          'elementType': 'labels',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'all',
   >          'elementType': 'labels.text.stroke',
   >          'stylers': {
   >            'color': '#ffffff',
   >          },
   >        },
   >        {
   >          'featureType': 'all',
   >          'elementType': 'labels.text.fill',
   >          'stylers': {
   >            'color': '#1890ff',
   >          },
   >        },
   >        {
   >          'featureType': 'manmade',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'manmade',
   >          'elementType': 'labels',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'local',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >        {
   >          'featureType': 'local',
   >          'elementType': 'labels',
    >         'stylers': {
   >            'visibility': 'off',
   >          },
   >        },
   >
   >        {
   >          'featureType': 'railway',
   >          'elementType': 'all',
   >          'stylers': {
   >            'lightness': -40,
   >          },
    >       },
   >        {
   >          'featureType': 'boundary',
   >          'elementType': 'geometry',
   >          'stylers': {
   >            'color': '#8b8787',
   >            'weight': '1',
   >            'lightness': -29,
   >          },
   >        },
   >      ],
   >    },
   >  },
   >  'series': [
   >    {
   >      'type': 'effectScatter',
   >      'coordinateSystem': 'bmap',
   >      'symbolSize': 18,
   >      'data': [],
   >      'symbol': 'path://M512 1024C794.769792 1024 1024 794.769774 1024 512 1024 >229.230226 794.769792 0 512 0 229.230208 0 0 229.230226 0 512 0 794.769774 >229.230208 1024 512 1024L512 1024ZM512 950.857143C269.625893 950.857143 73.142857 >754.374107 73.142857 512 73.142857 269.625893 269.625893 73.142857 512 73.142857 >754.374107 73.142857 950.857143 269.625893 950.857143 512 950.857143 754.374107 >754.374107 950.857143 512 950.857143ZM512 797.257143C669.543168 797.257143 >797.257143 669.543168 797.257143 512 797.257143 354.456832 669.543168 226.742857 512 >226.742857 354.456832 226.742857 226.742857 354.456832 226.742857 512 226.742857 >669.543168 354.456832 797.257143 512 797.257143Z',
   >      'showEffectOn': 'emphasis',
   >      'silent': true,
   >      'rippleEffect': {
   >        'period': 2,
   >        'scale': 8,
   >      },
   >      'label': {
   >        'normal': {
   >          'position': 'right',
   >          'show': false,
   >          'textStyle': {
   >            'fontSize': 16,
   >            'color': 'white',
   >            'fontWeight': 'bold',
   >          },
   >       },
   >        'emphasis': {
   >          'show': false,
   >        },
   >      },
   >      'itemStyle': {
   >        'normal': {
   >          'color': '#0dcffe',
   >          'textStyle': {
   >            'color': '#5F9BFF',
   >          },
   >        },
   >        'emphasis': {
   >          'textStyle': {
   >            'color': '#5F9BFF',
   >          },
   >        },
   >      },
   >    },
   >  ],
   >};
   > ### What is expected?
   > ie9可以正常渲染
   > 
   > ### What is actually happening?
   > ie9不能正常预览
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] closed issue #11926: 在ie9上使用bmap无法正常渲染

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #11926: 在ie9上使用bmap无法正常渲染
URL: https://github.com/apache/incubator-echarts/issues/11926
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #11926: 在ie9上使用bmap无法正常渲染

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #11926: 在ie9上使用bmap无法正常渲染
URL: https://github.com/apache/incubator-echarts/issues/11926#issuecomment-569224648
 
 
   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org