( function  ( root,  factory )  { if  ( typeof  define ===  "function"  &&  define. amd)  { define ( [ "exports" ,  "echarts" ] ,  factory) ; }  else  if  ( typeof  exports ===  "object"  && typeof  exports. nodeName !==  "string" )  { factory ( exports,  require ( "echarts" ) ) ; }  else  { factory ( { } ,  root. echarts) ; } 
} ) ( this ,  function  ( exports,  echarts )  { var  log  =  function  ( msg )  { if  ( typeof  console !==  "undefined" )  { console &&  console. error &&  console. error ( msg) ; } } ; if  ( ! echarts)  { log ( "ECharts is not Loaded" ) ; return ; } if  ( ! echarts. registerMap)  { log ( "ECharts Map is not loaded" ) ; return ; } echarts. registerMap ( "china" ,  { type :  "FeatureCollection" , features :  [ { type :  "Feature" , properties :  { adcode :  110000 , name :  "北京市" , center :  [ 116.405285 ,  39.904989 ] , centroid :  [ 116.41995 ,  40.18994 ] , childrenNum :  16 , level :  "province" , parent :  {  adcode :  100000  } , subFeatureIndex :  0 , acroutes :  [ 100000 ] , } , geometry :  { type :  "MultiPolygon" , coordinates :  [ ... .  ] } } ] } ) ; 
} ) ;