重写maplayer逻辑