{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-echarts/issues/11615","repository_url":"https://api.github.com/repos/apache/incubator-echarts","labels_url":"https://api.github.com/repos/apache/incubator-echarts/issues/11615/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-echarts/issues/11615/comments","events_url":"https://api.github.com/repos/apache/incubator-echarts/issues/11615/events","html_url":"https://github.com/apache/incubator-echarts/issues/11615","id":520582902,"node_id":"MDU6SXNzdWU1MjA1ODI5MDI=","number":11615,"title":"IOS 一个页面切换地理坐标图时报错：TypeError:null is not an object(evaluating 'this.ctx.dpr=this.dpr')","user":{"login":"szkissyh","id":31839257,"node_id":"MDQ6VXNlcjMxODM5MjU3","avatar_url":"https://avatars0.githubusercontent.com/u/31839257?v=4","gravatar_id":"","url":"https://api.github.com/users/szkissyh","html_url":"https://github.com/szkissyh","followers_url":"https://api.github.com/users/szkissyh/followers","following_url":"https://api.github.com/users/szkissyh/following{/other_user}","gists_url":"https://api.github.com/users/szkissyh/gists{/gist_id}","starred_url":"https://api.github.com/users/szkissyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szkissyh/subscriptions","organizations_url":"https://api.github.com/users/szkissyh/orgs","repos_url":"https://api.github.com/users/szkissyh/repos","events_url":"https://api.github.com/users/szkissyh/events{/privacy}","received_events_url":"https://api.github.com/users/szkissyh/received_events","type":"User","site_admin":false},"labels":[{"id":34378865,"node_id":"MDU6TGFiZWwzNDM3ODg2NQ==","url":"https://api.github.com/repos/apache/incubator-echarts/labels/support","name":"support","color":"485eaf","default":false},{"id":1662830966,"node_id":"MDU6TGFiZWwxNjYyODMwOTY2","url":"https://api.github.com/repos/apache/incubator-echarts/labels/waiting-for:%20author","name":"waiting-for: author","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-11-10T10:34:28Z","updated_at":"2019-11-11T03:44:08Z","closed_at":null,"author_association":"NONE","body":"### Version\r\n4.4.0\r\n\r\n### Steps to reproduce\r\n1、系统支持多个地理坐标图，但是当前只显示一个。\r\n2、第一个地理坐标图显示正常\r\n3、切换时，使用过clear或dispose方法\r\n4、均报错，TypeError:null is not an object(evaluating 'this.ctx.dpr=this.dpr')\r\n5、跟踪代码 this.dom.getContext('2d')为null\r\n6、但是绘制地图的div存在，也没有隐藏\r\n\r\n### What is expected?\r\nIOS能够同时正常渲染地理坐标\r\n\r\n### What is actually happening?\r\n不能正常渲染\r\n\r\n<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->\r\n<!-- This issue is in English. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/apache/incubator-echarts/issues/comments/552281777","html_url":"https://github.com/apache/incubator-echarts/issues/11615#issuecomment-552281777","issue_url":"https://api.github.com/repos/apache/incubator-echarts/issues/11615","id":552281777,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MjI4MTc3Nw==","user":{"login":"szkissyh","id":31839257,"node_id":"MDQ6VXNlcjMxODM5MjU3","avatar_url":"https://avatars0.githubusercontent.com/u/31839257?v=4","gravatar_id":"","url":"https://api.github.com/users/szkissyh","html_url":"https://github.com/szkissyh","followers_url":"https://api.github.com/users/szkissyh/followers","following_url":"https://api.github.com/users/szkissyh/following{/other_user}","gists_url":"https://api.github.com/users/szkissyh/gists{/gist_id}","starred_url":"https://api.github.com/users/szkissyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szkissyh/subscriptions","organizations_url":"https://api.github.com/users/szkissyh/orgs","repos_url":"https://api.github.com/users/szkissyh/repos","events_url":"https://api.github.com/users/szkissyh/events{/privacy}","received_events_url":"https://api.github.com/users/szkissyh/received_events","type":"User","site_admin":false},"created_at":"2019-11-11T03:44:08Z","updated_at":"2019-11-11T03:44:08Z","author_association":"NONE","body":"> `dispose` 之后需要 `chart = null` 然后重新 `chart = echarts.init(...)`\r\n\r\n修改了 还是报TypeError:null is not an object(evaluating 'this.ctx.dpr=this.dpr')"}}
{"actor":{"display_login":"szkissyh"}}