{"action":"opened","issue":{"url":"https://api.github.com/repos/ecomfe/echarts/issues/3107","repository_url":"https://api.github.com/repos/ecomfe/echarts","labels_url":"https://api.github.com/repos/ecomfe/echarts/issues/3107/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/echarts/issues/3107/comments","events_url":"https://api.github.com/repos/ecomfe/echarts/issues/3107/events","html_url":"https://github.com/ecomfe/echarts/issues/3107","id":151578948,"number":3107,"title":"geo world可以改变地区的颜色吗，","user":{"login":"chm74","id":18588775,"avatar_url":"https://avatars.githubusercontent.com/u/18588775?v=3","gravatar_id":"","url":"https://api.github.com/users/chm74","html_url":"https://github.com/chm74","followers_url":"https://api.github.com/users/chm74/followers","following_url":"https://api.github.com/users/chm74/following{/other_user}","gists_url":"https://api.github.com/users/chm74/gists{/gist_id}","starred_url":"https://api.github.com/users/chm74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chm74/subscriptions","organizations_url":"https://api.github.com/users/chm74/orgs","repos_url":"https://api.github.com/users/chm74/repos","events_url":"https://api.github.com/users/chm74/events{/privacy}","received_events_url":"https://api.github.com/users/chm74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T08:27:27Z","updated_at":"2016-04-28T08:27:27Z","closed_at":null,"body":"<!--\r\n为了方便我们能够复现和修复 bug，请遵从下面的规范描述您的问题。\r\n-->\r\n#### 问题简述 (One-line summary)\r\n\r\n\r\n\r\n#### 版本及环境 (Version & Environment)\r\n+ ECharts 版本 (ECharts version):\r\n+ 浏览器类型和版本 (Browser version):\r\n+ 操作系统类型和版本 (OS Version):\r\n\r\n\r\n#### 重现步骤 (Steps to reproduce)\r\n1.\r\n2.\r\n\r\n\r\n#### 期望结果 (Expected behaviour)\r\n\r\n\r\n\r\n#### 可能哪里有问题 (What went wrong)\r\n\r\n\r\n\r\n#### ECharts配置项 (ECharts option)\r\n<!-- 下方贴你的option，注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。\r\n最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing\r\n-->\r\n```javascript\r\nvar data = [\r\n     {name: '大庆', value: 2739000}\r\n];\r\nvar geoCoordMap = {\r\n  \r\n    '大庆':[125.03,46.58]\r\n};\r\n\r\nvar convertData = function (data) {\r\n    var res = [];\r\n    for (var i = 0; i < data.length; i++) {\r\n        var geoCoord = geoCoordMap[data[i].name];\r\n        if (geoCoord) {\r\n            res.push({\r\n                name: data[i].name,\r\n                value: geoCoord.concat(data[i].value)\r\n            });\r\n        }\r\n    }\r\n    return res;\r\n};\r\n\r\noption = {\r\n    \r\n    visualMap: {\r\n        min: 0,\r\n        max: 1000000,\r\n        text:['High','Low'],\r\n        realtime: false,\r\n        calculable: true,\r\n        color: ['orangered','yellow','lightskyblue']\r\n    },\r\n    series : [\r\n        {\r\n            type: 'effectScatter',\r\n            coordinateSystem: 'geo',\r\n            data: convertData(data.sort(function (a, b) {\r\n                return b.value - a.value;\r\n            }).slice(0, 6)),\r\n            symbolSize:5,\r\n            showEffectOn: 'render',\r\n            rippleEffect: {\r\n                brushType: 'fill',\r\n                scale:10\r\n                \r\n            },\r\n            symbol:'circle',\r\n            hoverAnimation: true,\r\n            label: {\r\n                normal: {\r\n                    formatter: '{b}',\r\n                    position: 'right',\r\n                    show: true\r\n                }\r\n            },\r\n            itemStyle: {\r\n                normal: {\r\n                    color: '#f4e925',\r\n                    shadowColor: '#333'\r\n                }\r\n            },\r\n            zlevel: 1\r\n        }\r\n    ],\r\n    geo: {\r\n        map: 'world',\r\n        label: {\r\n            emphasis: {\r\n                show: false\r\n            }\r\n        },\r\n        roam: true,\r\n        itemStyle: {\r\n            normal: {\r\n                areaColor: '#323c48',\r\n                borderColor: '#111'\r\n            },\r\n            emphasis: {\r\n                areaColor: '#2a333d'\r\n            }\r\n        }\r\n        \r\n    }\r\n};\r\n\r\n```\r\n\r\n\r\n#### 其他信息 (Other comments)\r\n<!-- 例如，截图或线上实例 (JSFiddle/JSBin/Codepen) (For example: Screenshot or Online demo) -->\r\n\r\n"}}