DC,google map

1.会报一个错:[0.10] Maps Error: You can only use the Maps component after a user has interacted with the ad.这个时候地图显示不出来,有两种处理方法:

1 @StudioMap.setDoNotRequireUserInteraction(true);

2 @enabler.addEventListener(StudioEvent.INTERACTION, enablerInteractionHandler); 3 function enablerInteractionHandler(e:StudioEvent){ 4 //在这里面初始化地图 5 }
posted @ 2012-10-29 10:17  雅尸兰黛?窃笑  阅读(117)  评论(0编辑  收藏  举报