提交 75514d94 编写于 作者: L lang

Map not exists error

上级 5a2e4698
......@@ -182,6 +182,10 @@ define(function (require) {
var map = geoCreator.getMap(mapName);
var geoJson = map && map.geoJson;
if (!geoJson) {
console.error('Map ' + mapName + ' not exists');
return originRegionArr;
}
var dataNameMap = {};
var features = geoJson.features;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册