@@ -302,6 +302,9 @@ class MapDraw {
302302 ? mapOrGeoModel . getRegionModel ( regionName )
303303 : ( data ? data . getItemModel ( dataIdx ) as Model < MapDataItemOption > : null ) ;
304304
305+ const silent = ( regionModel as Model < RegionOption > ) . get ( 'silent' , true ) ;
306+ silent != null && ( regionGroup . silent = silent ) ;
307+
305308 regionsInfoByName . set ( regionName , { dataIdx, regionModel } ) ;
306309 }
307310
@@ -352,12 +355,6 @@ class MapDraw {
352355 viewBuildCtx , compoundPath , regionName , regionModel , mapOrGeoModel , dataIdx , centerPt
353356 ) ;
354357
355- const z = ( regionModel as Model < RegionOption > ) . get ( 'z' , true ) ;
356- z != null && ( compoundPath . attr ( 'z' , z ) ) ;
357-
358- const silent = ( regionModel as Model < RegionOption > ) . get ( 'silent' , true ) ;
359- silent != null && ( compoundPath . silent = silent ) ;
360-
361358 if ( isLine ) {
362359 fixLineStyle ( compoundPath ) ;
363360 zrUtil . each ( compoundPath . states , fixLineStyle ) ;
@@ -427,6 +424,9 @@ class MapDraw {
427424 el . culling = true ;
428425 }
429426
427+ const silent = ( regionModel as Model < RegionOption > ) . get ( 'silent' , true ) ;
428+ silent != null && ( el . silent = silent ) ;
429+
430430 // We do not know how the SVG like so we'd better not to change z2.
431431 // Otherwise it might bring some unexpected result. For example,
432432 // an area hovered that make some inner city can not be clicked.
0 commit comments