提交 8bed944c 编写于 作者: L lang

tweak

上级 e18637cd
......@@ -57,17 +57,17 @@ define(function (require) {
});
// Convert map series which only has markPoint without data to scatter series
if (!(seriesOpt.data && seriesOpt.data.length)) {
// Use same geo if multiple map series has same map type
var geoOpt = newCreatedGeoOptMap[seriesOpt.map];
if (!geoOpt) {
geoOpt = newCreatedGeoOptMap[seriesOpt.map] = createGeoFromMap(seriesOpt);
}
if (!option.geo) {
option.geo = [];
}
var geoIndex = option.geo.length;
// Use same geo if multiple map series has same map type
var geoOpt = newCreatedGeoOptMap[seriesOpt.map];
if (!geoOpt) {
geoOpt = newCreatedGeoOptMap[seriesOpt.map] = createGeoFromMap(seriesOpt);
option.geo.push(geoOpt);
}
var scatterSeries = seriesOpt.markPoint;
scatterSeries.type = 'scatter';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册