1.功能开启监听
module junyou { export class YeWaiTopIcon extends TopIconButton { constructor() { super($DD.GongNeng[ModuleId.YeWai].icon, ModuleId.YeWai); facade.mm.regModuleOpen(ModuleId.YeWai,CallbackInfo.get(this.onOpenHandle,this)); } onOpenHandle(){ } } }
2.地图切换箭头
on(EventConst.MapChangeComplete, onMapChange);